code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
# -*- coding: utf-8 -*- from __future__ import unicode_literals # do this when > 1.6!!! # from django.db import migrations, models from gazetteer.models import GazSource,GazSourceConfig,LocationTypeField,CodeFieldConfig,NameFieldConfig from skosxl.models import Concept, Scheme, MapRelation from gazetteer.settings import TARGET_NAMESPACE_FT def load_base_ft(): (sch,created) = Scheme.objects.get_or_create(uri=TARGET_NAMESPACE_FT[:-1], defaults = { 'pref_label' :"Gaz Feature types" }) try: (ft,created) = Concept.objects.get_or_create(term="ADMIN", defaults = { 'pref_label' :"Populated Place", 'definition':"Populated place"} , scheme = sch) except: pass # now set up cross references from NGA feature types namespace # now set up harvest config def load_ft_mappings() : pass def load_config() : try: GazSourceConfig.objects.filter(name="TM_WorldBoundaries").delete() except: pass config=GazSourceConfig.objects.create(lat_field="lat", name="TM_WorldBoundaries", long_field="lon") NameFieldConfig.objects.create(config=config,language="en", as_default=True, languageNamespace="", field="name", languageField="") LocationTypeField.objects.create(field='"ADMIN"',namespace=TARGET_NAMESPACE_FT, config=config) CodeFieldConfig.objects.create(config=config,field="iso3",namespace="http://mapstory.org/id/countries/iso3") CodeFieldConfig.objects.create(config=config,field="iso2",namespace="http://mapstory.org/id/countries/iso2") CodeFieldConfig.objects.create(config=config,field="un",namespace="http://mapstory.org/id/countries/un") CodeFieldConfig.objects.create(config=config,field="fips",namespace="http://mapstory.org/id/countries/fips") (s,created) = GazSource.objects.get_or_create(source="tm_world_borders", config=config, source_type="mapstory") print (s,created) """ class Migration(migrations.Migration): initial = True dependencies = [ #('yourappname', '0001_initial'), ] operations = [ migrations.RunPython(load_ft_mappings), migrations.RunPython(load_config), ] """
rob-metalinkage/django-gazetteer
gazetteer/fixtures/mapstory_tm_world_config.py
Python
cc0-1.0
2,139
jsonp({"cep":"73750079","logradouro":"Quadra 5 MC","bairro":"Setor Oeste","cidade":"Planaltina de Goi\u00e1s","uf":"GO","estado":"Goi\u00e1s"});
lfreneda/cepdb
api/v1/73750079.jsonp.js
JavaScript
cc0-1.0
145
// GUI Animator for Unity UI version: 0.9.93 (Product page: http://ge-team.com/pages/unity-3d/gui-animator-for-unity-ui/) // // Author: Gold Experience Team (http://www.ge-team.com/pages/) // Products: http://ge-team.com/pages/unity-3d/ // Support: geteamdev@gmail.com // Documentation: http://ge-team.com/pages/unity-3d/gui-animator-for-unity-ui/gui-animator-for-unity-ui-documentation/ // // Please direct any bugs/comments/suggestions to geteamdev@gmail.com /************** * Demo01_JS class * This class handles "Demo01_JS (960x600px)" scene. * It does animate all GameObjects when scene starts and ends. * It also responds to user mouse click or tap on buttons. **************/ class Demo01_JS extends MonoBehaviour { // Canvas var m_Canvas : Canvas; // GUIAnim objects of title text var m_Title1 : GUIAnim; var m_Title2 : GUIAnim; // GUIAnim objects of top and bottom bars var m_TopBar : GUIAnim; var m_BottomBar : GUIAnim; // GUIAnim objects of TopLeft buttons var m_TopLeft_A : GUIAnim; var m_TopLeft_B : GUIAnim; // GUIAnim objects of BottomLeft buttons var m_BottomLeft_A : GUIAnim; var m_BottomLeft_B : GUIAnim; // GUIAnim objects of RightBar buttons var m_RightBar_A : GUIAnim; var m_RightBar_B : GUIAnim; var m_RightBar_C : GUIAnim; // Toggle state of TopLeft, BottomLeft and BottomLeft buttons protected var m_TopLeft_IsOn : boolean= false; protected var m_BottomLeft_IsOn : boolean= false; protected var m_RightBar_IsOn : boolean= false; // ###################################################################### // MonoBehaviour Functions // ###################################################################### // Use this for initialization function Awake () : void { ////////////////////////////////////////////////////////////////////// // If you want to control all GUIAnim elements in the scene via scripts, you have to call these line in Awake function. // Otherwise, GUIAnimSystem will run all GUIAnim elements automatically. // // If you disable this component by uncheck it from the GameObject that it is attached, // the GUIAnimSystem will control all animations in the scene according to selected animations in Auto Animation of GUIAnimSystem. ////////////////////////////////////////////////////////////////////// if(enabled) { // Use this script to control all animations in the scene instead of GUIAnimSystem auto test. GUIAnimSystem.Instance.m_AutoAnimation = false; } } // Use this for initialization function Start () : void { // MoveIn m_TopBar and m_BottomBar m_TopBar.MoveIn(eGUIMove.SelfAndChildren); m_BottomBar.MoveIn(eGUIMove.SelfAndChildren); // MoveIn m_Title1 and m_Title2 StartCoroutine(MoveInTitleGameObjects()); // Disable all scene switch buttons GUIAnimSystem.Instance.SetGraphicRaycasterEnable(m_Canvas, false); } // Update is called once per frame function Update () : void { } // ###################################################################### // MoveIn/MoveOut functions // ###################################################################### // MoveIn m_Title1 and m_Title2 function MoveInTitleGameObjects () : IEnumerator { yield WaitForSeconds(1.0f); // MoveIn m_Title1 and m_Title2 m_Title1.MoveIn(eGUIMove.Self); m_Title2.MoveIn(eGUIMove.Self); // MoveIn all primary buttons StartCoroutine(MoveInPrimaryButtons()); } // MoveIn all primary buttons function MoveInPrimaryButtons () : IEnumerator { yield WaitForSeconds(1.0f); // MoveIn all primary buttons m_TopLeft_A.MoveIn(eGUIMove.Self); m_BottomLeft_A.MoveIn(eGUIMove.Self); m_RightBar_A.MoveIn(eGUIMove.Self); // Enable all scene switch buttons StartCoroutine(EnableAllDemoButtons()); } // MoveOut all primary buttons function HideAllGUIs () : void { m_TopLeft_A.MoveOut(eGUIMove.SelfAndChildren); m_BottomLeft_A.MoveOut(eGUIMove.SelfAndChildren); m_RightBar_A.MoveOut(eGUIMove.Self); if(m_TopLeft_IsOn == true) m_TopLeft_B.MoveOut(eGUIMove.SelfAndChildren); if(m_BottomLeft_IsOn == true) m_BottomLeft_B.MoveOut(eGUIMove.SelfAndChildren); if(m_RightBar_IsOn == true) m_RightBar_B.MoveOut(eGUIMove.SelfAndChildren); // MoveOut m_Title1 and m_Title2 StartCoroutine(HideTitleTextMeshes()); } // MoveOut m_Title1 and m_Title2 function HideTitleTextMeshes () : IEnumerator { yield WaitForSeconds(1.0f); // MoveOut m_Title1 and m_Title2 m_Title1.MoveOut(eGUIMove.Self); m_Title2.MoveOut(eGUIMove.Self); // MoveOut m_TopBar and m_BottomBar m_TopBar.MoveOut(eGUIMove.SelfAndChildren); m_BottomBar.MoveOut(eGUIMove.SelfAndChildren); } // ###################################################################### // Enable/Disable button functions // ###################################################################### // Enable/Disable all scene switch Coroutine function EnableAllDemoButtons () : IEnumerator { yield WaitForSeconds(1.0f); // Enable all scene switch buttons GUIAnimSystem.Instance.SetGraphicRaycasterEnable(m_Canvas, true); } // Disable all buttons for a few seconds function DisableButtonForSeconds ( GO : GameObject , DisableTime : float ) : IEnumerator { // Disable all buttons GUIAnimSystem.Instance.EnableButton(GO.transform, false); yield WaitForSeconds(DisableTime); // Enable all buttons GUIAnimSystem.Instance.EnableButton(GO.transform, true); } // ###################################################################### // Button handler functions // ###################################################################### function OnButton_TopLeft () : void { // Disable m_TopLeft_A, m_RightBar_A, m_RightBar_C, m_BottomLeft_A for a few seconds StartCoroutine(DisableButtonForSeconds(m_TopLeft_A.gameObject, 0.3f)); StartCoroutine(DisableButtonForSeconds(m_RightBar_A.gameObject, 0.6f)); StartCoroutine(DisableButtonForSeconds(m_RightBar_C.gameObject, 0.6f)); StartCoroutine(DisableButtonForSeconds(m_BottomLeft_A.gameObject, 0.3f)); // Toggle m_TopLeft ToggleTopLeft(); // Toggle other buttons if(m_BottomLeft_IsOn==true) { ToggleBottomLeft(); } if(m_RightBar_IsOn==true) { ToggleRightBar(); } } function OnButton_BottomLeft () : void { // Disable m_TopLeft_A, m_RightBar_A, m_RightBar_C, m_BottomLeft_A for a few seconds StartCoroutine(DisableButtonForSeconds(m_TopLeft_A.gameObject, 0.3f)); StartCoroutine(DisableButtonForSeconds(m_RightBar_A.gameObject, 0.6f)); StartCoroutine(DisableButtonForSeconds(m_RightBar_C.gameObject, 0.6f)); StartCoroutine(DisableButtonForSeconds(m_BottomLeft_A.gameObject, 0.3f)); // Toggle m_BottomLeft ToggleBottomLeft(); // Toggle other buttons if(m_TopLeft_IsOn==true) { ToggleTopLeft(); } if(m_RightBar_IsOn==true) { ToggleRightBar(); } } function OnButton_RightBar () : void { // Disable m_TopLeft_A, m_RightBar_A, m_RightBar_C, m_BottomLeft_A for a few seconds StartCoroutine(DisableButtonForSeconds(m_TopLeft_A.gameObject, 0.3f)); StartCoroutine(DisableButtonForSeconds(m_RightBar_A.gameObject, 0.6f)); StartCoroutine(DisableButtonForSeconds(m_RightBar_C.gameObject, 0.6f)); StartCoroutine(DisableButtonForSeconds(m_BottomLeft_A.gameObject, 0.3f)); // Toggle m_RightBar ToggleRightBar(); // Toggle other buttons if(m_TopLeft_IsOn==true) { ToggleTopLeft(); } if(m_BottomLeft_IsOn==true) { ToggleBottomLeft(); } } // ###################################################################### // Toggle button functions // ###################################################################### // Toggle TopLeft buttons function ToggleTopLeft () : void { m_TopLeft_IsOn = !m_TopLeft_IsOn; if(m_TopLeft_IsOn==true) { // m_TopLeft_B moves in m_TopLeft_B.MoveIn(eGUIMove.SelfAndChildren); } else { // m_TopLeft_B moves out m_TopLeft_B.MoveOut(eGUIMove.SelfAndChildren); } } // Toggle BottomLeft buttons function ToggleBottomLeft () : void { m_BottomLeft_IsOn = !m_BottomLeft_IsOn; if(m_BottomLeft_IsOn==true) { // m_BottomLeft_B moves in m_BottomLeft_B.MoveIn(eGUIMove.SelfAndChildren); } else { // m_BottomLeft_B moves out m_BottomLeft_B.MoveOut(eGUIMove.SelfAndChildren); } } // Toggle RightBar buttons function ToggleRightBar () : void { m_RightBar_IsOn = !m_RightBar_IsOn; if(m_RightBar_IsOn==true) { // m_RightBar_A moves out m_RightBar_A.MoveOut(eGUIMove.SelfAndChildren); // m_RightBar_B moves in m_RightBar_B.MoveIn(eGUIMove.SelfAndChildren); } else { // m_RightBar_A moves in m_RightBar_A.MoveIn(eGUIMove.SelfAndChildren); // m_RightBar_B moves out m_RightBar_B.MoveOut(eGUIMove.SelfAndChildren); } } }
AcessDeniedAD/ggj2016
Assets/GUI Animator/Demo (JavaScript)/Scripts/Demo01_JS.js
JavaScript
cc0-1.0
8,797
jsonp({"cep":"09822055","logradouro":"Rua Em\u00edlia Belomo","bairro":"Jardim Jussara","cidade":"S\u00e3o Bernardo do Campo","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/09822055.jsonp.js
JavaScript
cc0-1.0
165
package com.cenfotec.dondeEs.pojo; import java.util.Date; import java.util.List; /** * The persistent class for the event database table. * */ public class EventPOJO { private int eventId; private String description; private String image; private String largeDescription; private String name; private byte private_; private Date publishDate; private Date registerDate; private byte state; private List<ChatPOJO> chats; //bi-directional many-to-one association to Place private PlacePOJO place; //bi-directional many-to-one association to User private UserPOJO user; //bi-directional many-to-one association to EventParticipant private List<EventParticipantPOJO> eventParticipants; private List<NotePOJO> notes; //bi-directional many-to-one association to ServiceContact private List<ServiceContactPOJO> serviceContacts; public EventPOJO() { } public int getEventId() { return this.eventId; } public void setEventId(int eventId) { this.eventId = eventId; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public String getImage() { return this.image; } public void setImage(String image) { this.image = image; } public String getLargeDescription() { return this.largeDescription; } public void setLargeDescription(String largeDescription) { this.largeDescription = largeDescription; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public byte getPrivate_() { return this.private_; } public void setPrivate_(byte private_) { this.private_ = private_; } public Date getPublishDate() { return this.publishDate; } public void setPublishDate(Date publishDate) { this.publishDate = publishDate; } public Date getRegisterDate() { return this.registerDate; } public void setRegisterDate(Date registerDate) { this.registerDate = registerDate; } public byte getState() { return this.state; } public void setState(byte state) { this.state = state; } public List<ChatPOJO> getChats() { return this.chats; } public void setChats(List<ChatPOJO> chats) { this.chats = chats; } public ChatPOJO addChat(ChatPOJO chat) { getChats().add(chat); chat.setEvent(this); return chat; } public ChatPOJO removeChat(ChatPOJO chat) { getChats().remove(chat); chat.setEvent(null); return chat; } public PlacePOJO getPlace() { return this.place; } public void setPlace(PlacePOJO place) { this.place = place; } public UserPOJO getUser() { return this.user; } public void setUser(UserPOJO user) { this.user = user; } public List<EventParticipantPOJO> getEventParticipants() { return this.eventParticipants; } public void setEventParticipants(List<EventParticipantPOJO> eventParticipants) { this.eventParticipants = eventParticipants; } public EventParticipantPOJO addEventParticipant(EventParticipantPOJO eventParticipant) { getEventParticipants().add(eventParticipant); eventParticipant.setEvent(this); return eventParticipant; } public EventParticipantPOJO removeEventParticipant(EventParticipantPOJO eventParticipant) { getEventParticipants().remove(eventParticipant); eventParticipant.setEvent(null); return eventParticipant; } public List<NotePOJO> getNotes() { return this.notes; } public void setNotes(List<NotePOJO> notes) { this.notes = notes; } public NotePOJO addNote(NotePOJO note) { getNotes().add(note); note.setEvent(this); return note; } public NotePOJO removeNote(NotePOJO note) { getNotes().remove(note); note.setEvent(null); return note; } public List<ServiceContactPOJO> getServiceContacts() { return this.serviceContacts; } public void setServiceContacts(List<ServiceContactPOJO> serviceContacts) { this.serviceContacts = serviceContacts; } public ServiceContactPOJO addServiceContact(ServiceContactPOJO serviceContact) { getServiceContacts().add(serviceContact); serviceContact.setEvent(this); return serviceContact; } public ServiceContactPOJO removeServiceContact(ServiceContactPOJO serviceContact) { getServiceContacts().remove(serviceContact); serviceContact.setEvent(null); return serviceContact; } }
pigleth96/Softlutions
dondeEs/src/main/java/com/cenfotec/dondeEs/pojo/EventPOJO.java
Java
cc0-1.0
4,320
jsonp({"cep":"35043450","logradouro":"Rua Pau Brasil","bairro":"Jardim Ip\u00ea","cidade":"Governador Valadares","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/35043450.jsonp.js
JavaScript
cc0-1.0
150
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("GlobalAzureBootcamp")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("GlobalAzureBootcamp")] [assembly: AssemblyCopyright("Copyright © 2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("c327a77a-c7b7-4645-86e8-57aeccc3af68")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
gspyrou/globalazurebootcamp2017
Karypidis Charalampos - ARM templates/GlobalAzureBootcamp/Properties/AssemblyInfo.cs
C#
cc0-1.0
1,369
jsonp({"cep":"24876065","logradouro":"Rua Vinte e Tr\u00eas","bairro":"Itamarati (Visconde de Itabora\u00ed)","cidade":"Itabora\u00ed","uf":"RJ","estado":"Rio de Janeiro"});
lfreneda/cepdb
api/v1/24876065.jsonp.js
JavaScript
cc0-1.0
174
jsonp({"cep":"36045430","logradouro":"Rua Josefina Trist\u00e3o","bairro":"Santa Terezinha","cidade":"Juiz de Fora","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/36045430.jsonp.js
JavaScript
cc0-1.0
153
jsonp({"cep":"41253198","logradouro":"Avenida S\u00e3o Prot\u00e1sio","bairro":"S\u00e3o Marcos","cidade":"Salvador","uf":"BA","estado":"Bahia"});
lfreneda/cepdb
api/v1/41253198.jsonp.js
JavaScript
cc0-1.0
147
jsonp({"cep":"35661236","logradouro":"Alameda das Carna\u00fabas","bairro":"Jardim das Piteiras","cidade":"Par\u00e1 de Minas","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/35661236.jsonp.js
JavaScript
cc0-1.0
164
jsonp({"cep":"08774420","logradouro":"Rua Barra Velha","bairro":"Jardim Piat\u00e3 B","cidade":"Mogi das Cruzes","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/08774420.jsonp.js
JavaScript
cc0-1.0
152
jsonp({"cep":"23903500","logradouro":"Morro da Caixa D'\u00c1gua","bairro":"Morro da Caixa D'\u00c1gua","cidade":"Angra dos Reis","uf":"RJ","estado":"Rio de Janeiro"});
lfreneda/cepdb
api/v1/23903500.jsonp.js
JavaScript
cc0-1.0
169
jsonp({"cep":"69918117","logradouro":"Rua Major Ladislau Ferreira","bairro":"7\u00ba BEC","cidade":"Rio Branco","uf":"AC","estado":"Acre"});
lfreneda/cepdb
api/v1/69918117.jsonp.js
JavaScript
cc0-1.0
141
jsonp({"cep":"72314114","logradouro":"Quadra QR 514 Conjunto 13","bairro":"Samambaia Sul (Samambaia)","cidade":"Bras\u00edlia","uf":"DF","estado":"Distrito Federal"});
lfreneda/cepdb
api/v1/72314114.jsonp.js
JavaScript
cc0-1.0
168
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Test.Properties { /// <summary> /// A strongly-typed resource class, for looking up localized strings, etc. /// </summary> // This class was auto-generated by the StronglyTypedResourceBuilder // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { private static global::System.Resources.ResourceManager resourceMan; private static global::System.Globalization.CultureInfo resourceCulture; [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } /// <summary> /// Returns the cached ResourceManager instance used by this class. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { get { if ((resourceMan == null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Test.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } /// <summary> /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } set { resourceCulture = value; } } } }
23S163PR/docs
Test/Test/Properties/Resources.Designer.cs
C#
cc0-1.0
2,767
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.02.25 at 04:54:23 PM PST // package org.pesc.core.coremain.v1_14; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for PellAwardResponseType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType name="PellAwardResponseType"> * &lt;complexContent> * &lt;extension base="{urn:org:pesc:core:CoreMain:v1.14.0}ResponseType"> * &lt;sequence> * &lt;element name="YTDDisbursementAmount" type="{urn:org:pesc:core:CoreMain:v1.14.0}SmallCurrencyType" minOccurs="0"/> * &lt;element name="TotalEligibilityUsed" minOccurs="0"> * &lt;simpleType> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> * &lt;minInclusive value="0"/> * &lt;maxInclusive value="999.999"/> * &lt;totalDigits value="6"/> * &lt;fractionDigits value="3"/> * &lt;/restriction> * &lt;/simpleType> * &lt;/element> * &lt;element name="ScheduledPellGrant" type="{urn:org:pesc:core:CoreMain:v1.14.0}SmallCurrencyType" minOccurs="0"/> * &lt;element name="NegativePendingAmount" type="{urn:org:pesc:core:CoreMain:v1.14.0}SmallCurrencyType" minOccurs="0"/> * &lt;element name="FSACode" maxOccurs="3" minOccurs="0"> * &lt;simpleType> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"> * &lt;enumeration value="SA"/> * &lt;enumeration value="CE"/> * &lt;enumeration value="PO"/> * &lt;/restriction> * &lt;/simpleType> * &lt;/element> * &lt;/sequence> * &lt;/extension> * &lt;/complexContent> * &lt;/complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PellAwardResponseType", propOrder = { "ytdDisbursementAmount", "totalEligibilityUsed", "scheduledPellGrant", "negativePendingAmount", "fsaCode" }) public class PellAwardResponseType extends ResponseType { @XmlElement(name = "YTDDisbursementAmount") protected BigDecimal ytdDisbursementAmount; @XmlElement(name = "TotalEligibilityUsed") protected BigDecimal totalEligibilityUsed; @XmlElementRef(name = "ScheduledPellGrant", type = JAXBElement.class, required = false) protected JAXBElement<BigDecimal> scheduledPellGrant; @XmlElement(name = "NegativePendingAmount") protected BigDecimal negativePendingAmount; @XmlElement(name = "FSACode") protected List<String> fsaCode; /** * Gets the value of the ytdDisbursementAmount property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getYTDDisbursementAmount() { return ytdDisbursementAmount; } /** * Sets the value of the ytdDisbursementAmount property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setYTDDisbursementAmount(BigDecimal value) { this.ytdDisbursementAmount = value; } /** * Gets the value of the totalEligibilityUsed property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getTotalEligibilityUsed() { return totalEligibilityUsed; } /** * Sets the value of the totalEligibilityUsed property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setTotalEligibilityUsed(BigDecimal value) { this.totalEligibilityUsed = value; } /** * Gets the value of the scheduledPellGrant property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link BigDecimal }{@code >} * */ public JAXBElement<BigDecimal> getScheduledPellGrant() { return scheduledPellGrant; } /** * Sets the value of the scheduledPellGrant property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link BigDecimal }{@code >} * */ public void setScheduledPellGrant(JAXBElement<BigDecimal> value) { this.scheduledPellGrant = value; } /** * Gets the value of the negativePendingAmount property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getNegativePendingAmount() { return negativePendingAmount; } /** * Sets the value of the negativePendingAmount property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setNegativePendingAmount(BigDecimal value) { this.negativePendingAmount = value; } /** * Gets the value of the fsaCode property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the fsaCode property. * * <p> * For example, to add a new item, do as follows: * <pre> * getFSACode().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getFSACode() { if (fsaCode == null) { fsaCode = new ArrayList<String>(); } return this.fsaCode; } }
jamhgit/pesc-transcript-jar
pesccoltrn/src/main/java/org/pesc/core/coremain/v1_14/PellAwardResponseType.java
Java
cc0-1.0
6,336
jsonp({"cep":"07123101","logradouro":"Viela Dumont","bairro":"Jardim Santa Clara","cidade":"Guarulhos","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/07123101.jsonp.js
JavaScript
cc0-1.0
142
jsonp({"cep":"86805380","logradouro":"Rua Rafael Chamb\u00f3","bairro":"N\u00facleo Habitacional Mathias Hoffman","cidade":"Apucarana","uf":"PR","estado":"Paran\u00e1"});
lfreneda/cepdb
api/v1/86805380.jsonp.js
JavaScript
cc0-1.0
171
jsonp({"cep":"72851110","logradouro":"Rua S\u00e3o Lucas","bairro":"Parque Cruzeiro do Sul","cidade":"Luzi\u00e2nia","uf":"GO","estado":"Goi\u00e1s"});
lfreneda/cepdb
api/v1/72851110.jsonp.js
JavaScript
cc0-1.0
152
jsonp({"cep":"13054651","logradouro":"Rua Boaventura Dias Pereira","bairro":"Dic VI (Conjunto Habitacional Santo Dias Silva)","cidade":"Campinas","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/13054651.jsonp.js
JavaScript
cc0-1.0
185
jsonp({"cep":"53427420","logradouro":"Rua Piaba","bairro":"Maria Farinha","cidade":"Paulista","uf":"PE","estado":"Pernambuco"});
lfreneda/cepdb
api/v1/53427420.jsonp.js
JavaScript
cc0-1.0
129
jsonp({"cep":"74890230","logradouro":"Rua 9 Unidade 201","bairro":"Parque Atheneu","cidade":"Goi\u00e2nia","uf":"GO","estado":"Goi\u00e1s"});
lfreneda/cepdb
api/v1/74890230.jsonp.js
JavaScript
cc0-1.0
142
jsonp({"cep":"76871466","logradouro":"Rua Naftali","bairro":"Jardim Paran\u00e1","cidade":"Ariquemes","uf":"RO","estado":"Rond\u00f4nia"});
lfreneda/cepdb
api/v1/76871466.jsonp.js
JavaScript
cc0-1.0
140
jsonp({"cep":"60765725","logradouro":"Rua Martins de Lima","bairro":"Parque Presidente Vargas","cidade":"Fortaleza","uf":"CE","estado":"Cear\u00e1"});
lfreneda/cepdb
api/v1/60765725.jsonp.js
JavaScript
cc0-1.0
151
jsonp({"cep":"06390447","logradouro":"Rua Flor de L\u00f3tus","bairro":"Conjunto Habitacional 120 Casas","cidade":"Carapicu\u00edba","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/06390447.jsonp.js
JavaScript
cc0-1.0
172
jsonp({"cep":"61615545","logradouro":"Rua Santa Rita","bairro":"Jandaiguaba","cidade":"Caucaia","uf":"CE","estado":"Cear\u00e1"});
lfreneda/cepdb
api/v1/61615545.jsonp.js
JavaScript
cc0-1.0
131
jsonp({"cep":"79813310","logradouro":"Rua Mato Grosso","bairro":"Jardim Rasslem","cidade":"Dourados","uf":"MS","estado":"Mato Grosso do Sul"});
lfreneda/cepdb
api/v1/79813310.jsonp.js
JavaScript
cc0-1.0
144
body { padding-top:20px; } #c1{ background-color: #CCCCCC; margin-left:50px; margin-right:50px; width:400px; padding-left:20px; padding-top:20px; } #c2{ background-color: #CCCCCC; margin-left:50px; margin-right:50px; width:400px; padding-left:20px; padding-top:20px; } #c3{ background-color: #CCCCCC; margin-left:50px; margin-right:50px; width:400px; padding-left:20px; padding-top:20px; }
samszo/THYP-1516
mkrayem/html/style.css
CSS
cc0-1.0
423
jsonp({"cep":"23587200","logradouro":"Rua Armando Frutuoso","bairro":"Paci\u00eancia","cidade":"Rio de Janeiro","uf":"RJ","estado":"Rio de Janeiro"});
lfreneda/cepdb
api/v1/23587200.jsonp.js
JavaScript
cc0-1.0
151
jsonp({"cep":"76908506","logradouro":"Avenida das Seringueiras","bairro":"Nova Bras\u00edlia","cidade":"Ji-Paran\u00e1","uf":"RO","estado":"Rond\u00f4nia"});
lfreneda/cepdb
api/v1/76908506.jsonp.js
JavaScript
cc0-1.0
158
jsonp({"cep":"86806030","logradouro":"Rua Mauro dos Santos","bairro":"N\u00facleo Habitacional Heitor S Pinheiro","cidade":"Apucarana","uf":"PR","estado":"Paran\u00e1"});
lfreneda/cepdb
api/v1/86806030.jsonp.js
JavaScript
cc0-1.0
171
jsonp({"cep":"72755236","logradouro":"Quadra Quadra 57 Conjunto K","bairro":"Vila S\u00e3o Jos\u00e9 (Brazl\u00e2ndia)","cidade":"Bras\u00edlia","uf":"DF","estado":"Distrito Federal"});
lfreneda/cepdb
api/v1/72755236.jsonp.js
JavaScript
cc0-1.0
186
jsonp({"cep":"14021220","logradouro":"Avenida Ant\u00f4nio Machado Sant'Anna","bairro":"City Ribeir\u00e3o","cidade":"Ribeir\u00e3o Preto","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/14021220.jsonp.js
JavaScript
cc0-1.0
178
jsonp({"cep":"55641065","logradouro":"Rua Ipojuca","bairro":"Gravat\u00e1 Centro","cidade":"Gravat\u00e1","uf":"PE","estado":"Pernambuco"});
lfreneda/cepdb
api/v1/55641065.jsonp.js
JavaScript
cc0-1.0
141
go-lightning-present ==================== GoLangPhilly lightning talk about go-present Can be viewed live here: http://go-talks.appspot.com/github.com/dherbst/go-lightning-present/go-lightning-present.slide#1 Present is a tools cmd https://godoc.org/golang.org/x/tools/cmd/present To install: go get golang.org/x/tools/cmd/present present go-lightning-present.slide
dherbst/go-lightning-present
README.md
Markdown
cc0-1.0
380
<!-- Automatically generated HTML file from DocOnce source (https://github.com/doconce/doconce/) --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="DocOnce: https://github.com/doconce/doconce/" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="Week 9 March 1-5: Resampling Techniques, Bootstrap and Blocking"> <title>Week 9 March 1-5: Resampling Techniques, Bootstrap and Blocking</title> <!-- Bootstrap style: bootstrap --> <link href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"> <!-- not necessary <link href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> --> <style type="text/css"> /* Add scrollbar to dropdown menus in bootstrap navigation bar */ .dropdown-menu { height: auto; max-height: 400px; overflow-x: hidden; } /* Adds an invisible element before each target to offset for the navigation bar */ .anchor::before { content:""; display:block; height:50px; /* fixed header height for style bootstrap */ margin:-50px 0 0; /* negative fixed header height */ } </style> </head> <!-- tocinfo {'highest level': 2, 'sections': [('Overview of week 9, March 1-5', 2, None, 'overview-of-week-9-march-1-5'), ('The top-down approach, part 1', 2, None, 'the-top-down-approach-part-1'), ('What have we done?', 2, None, 'what-have-we-done'), ('Code part 2', 2, None, 'code-part-2'), ('How do we proceed?', 2, None, 'how-do-we-proceed'), ('Resampling analysis', 2, None, 'resampling-analysis'), ('Resampling methods', 2, None, 'resampling-methods'), ('Resampling approaches can be computationally expensive', 2, None, 'resampling-approaches-can-be-computationally-expensive'), ('Why resampling methods ?', 2, None, 'why-resampling-methods'), ('Statistical analysis', 2, None, 'statistical-analysis'), ('Statistics', 2, None, 'statistics'), ('Statistics, moments', 2, None, 'statistics-moments'), ('Statistics, central moments', 2, None, 'statistics-central-moments'), ('Statistics, covariance', 2, None, 'statistics-covariance'), ('Statistics, more covariance', 2, None, 'statistics-more-covariance'), ('Statistics, independent variables', 2, None, 'statistics-independent-variables'), ('Statistics, more variance', 2, None, 'statistics-more-variance'), ('Statistics and stochastic processes', 2, None, 'statistics-and-stochastic-processes'), ('Statistics and sample variables', 2, None, 'statistics-and-sample-variables'), ('Statistics, sample variance and covariance', 2, None, 'statistics-sample-variance-and-covariance'), ('Statistics, law of large numbers', 2, None, 'statistics-law-of-large-numbers'), ('Statistics, more on sample error', 2, None, 'statistics-more-on-sample-error'), ('Statistics', 2, None, 'statistics'), ('Statistics, central limit theorem', 2, None, 'statistics-central-limit-theorem'), ('Statistics, more technicalities', 2, None, 'statistics-more-technicalities'), ('Statistics', 2, None, 'statistics'), ('Statistics and sample variance', 2, None, 'statistics-and-sample-variance'), ('Statistics, uncorrelated results', 2, None, 'statistics-uncorrelated-results'), ('Statistics, computations', 2, None, 'statistics-computations'), ('Statistics, more on computations of errors', 2, None, 'statistics-more-on-computations-of-errors'), ('Statistics, wrapping up 1', 2, None, 'statistics-wrapping-up-1'), ('Statistics, final expression', 2, None, 'statistics-final-expression'), ('Statistics, effective number of correlations', 2, None, 'statistics-effective-number-of-correlations'), ('Can we understand this? Time Auto-correlation Function', 2, None, 'can-we-understand-this-time-auto-correlation-function'), ('Time Auto-correlation Function', 2, None, 'time-auto-correlation-function'), ('Time Auto-correlation Function', 2, None, 'time-auto-correlation-function'), ('Time Auto-correlation Function', 2, None, 'time-auto-correlation-function'), ('Time Auto-correlation Function', 2, None, 'time-auto-correlation-function'), ('Time Auto-correlation Function', 2, None, 'time-auto-correlation-function'), ('Correlation Time', 2, None, 'correlation-time'), ('Resampling methods: Jackknife and Bootstrap', 2, None, 'resampling-methods-jackknife-and-bootstrap'), ('Resampling methods: Jackknife', 2, None, 'resampling-methods-jackknife'), ('Resampling methods: Jackknife estimator', 2, None, 'resampling-methods-jackknife-estimator'), ('Jackknife code example', 2, None, 'jackknife-code-example'), ('Resampling methods: Bootstrap', 2, None, 'resampling-methods-bootstrap'), ('Resampling methods: Bootstrap background', 2, None, 'resampling-methods-bootstrap-background'), ('Resampling methods: More Bootstrap background', 2, None, 'resampling-methods-more-bootstrap-background'), ('Resampling methods: Bootstrap approach', 2, None, 'resampling-methods-bootstrap-approach'), ('Resampling methods: Bootstrap steps', 2, None, 'resampling-methods-bootstrap-steps'), ('Code example for the Bootstrap method', 2, None, 'code-example-for-the-bootstrap-method'), ('Resampling methods: Blocking', 2, None, 'resampling-methods-blocking'), ('Blocking Transformations', 2, None, 'blocking-transformations'), ('Blocking Transformations', 2, None, 'blocking-transformations'), ('Blocking Transformations, getting there', 2, None, 'blocking-transformations-getting-there'), ('Blocking Transformations, final expressions', 2, None, 'blocking-transformations-final-expressions')]} end of tocinfo --> <body> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ TeX: { equationNumbers: { autoNumber: "none" }, extensions: ["AMSmath.js", "AMSsymbols.js", "autobold.js", "color.js"] } }); </script> <script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script> <!-- Bootstrap navigation bar --> <div class="navbar navbar-default navbar-fixed-top"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="week8-bs.html">Week 9 March 1-5: Resampling Techniques, Bootstrap and Blocking</a> </div> <div class="navbar-collapse collapse navbar-responsive-collapse"> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a> <ul class="dropdown-menu"> <!-- navigation toc: --> <li><a href="._week8-bs001.html#overview-of-week-9-march-1-5" style="font-size: 80%;">Overview of week 9, March 1-5</a></li> <!-- navigation toc: --> <li><a href="._week8-bs002.html#the-top-down-approach-part-1" style="font-size: 80%;">The top-down approach, part 1</a></li> <!-- navigation toc: --> <li><a href="._week8-bs003.html#what-have-we-done" style="font-size: 80%;">What have we done?</a></li> <!-- navigation toc: --> <li><a href="._week8-bs004.html#code-part-2" style="font-size: 80%;">Code part 2</a></li> <!-- navigation toc: --> <li><a href="._week8-bs005.html#how-do-we-proceed" style="font-size: 80%;">How do we proceed?</a></li> <!-- navigation toc: --> <li><a href="._week8-bs006.html#resampling-analysis" style="font-size: 80%;">Resampling analysis</a></li> <!-- navigation toc: --> <li><a href="._week8-bs007.html#resampling-methods" style="font-size: 80%;">Resampling methods</a></li> <!-- navigation toc: --> <li><a href="._week8-bs008.html#resampling-approaches-can-be-computationally-expensive" style="font-size: 80%;">Resampling approaches can be computationally expensive</a></li> <!-- navigation toc: --> <li><a href="._week8-bs009.html#why-resampling-methods" style="font-size: 80%;">Why resampling methods ?</a></li> <!-- navigation toc: --> <li><a href="._week8-bs010.html#statistical-analysis" style="font-size: 80%;">Statistical analysis</a></li> <!-- navigation toc: --> <li><a href="._week8-bs026.html#statistics" style="font-size: 80%;">Statistics</a></li> <!-- navigation toc: --> <li><a href="._week8-bs012.html#statistics-moments" style="font-size: 80%;">Statistics, moments</a></li> <!-- navigation toc: --> <li><a href="._week8-bs013.html#statistics-central-moments" style="font-size: 80%;">Statistics, central moments</a></li> <!-- navigation toc: --> <li><a href="._week8-bs014.html#statistics-covariance" style="font-size: 80%;">Statistics, covariance</a></li> <!-- navigation toc: --> <li><a href="._week8-bs015.html#statistics-more-covariance" style="font-size: 80%;">Statistics, more covariance</a></li> <!-- navigation toc: --> <li><a href="._week8-bs016.html#statistics-independent-variables" style="font-size: 80%;">Statistics, independent variables</a></li> <!-- navigation toc: --> <li><a href="._week8-bs017.html#statistics-more-variance" style="font-size: 80%;">Statistics, more variance</a></li> <!-- navigation toc: --> <li><a href="._week8-bs018.html#statistics-and-stochastic-processes" style="font-size: 80%;">Statistics and stochastic processes</a></li> <!-- navigation toc: --> <li><a href="._week8-bs019.html#statistics-and-sample-variables" style="font-size: 80%;">Statistics and sample variables</a></li> <!-- navigation toc: --> <li><a href="._week8-bs020.html#statistics-sample-variance-and-covariance" style="font-size: 80%;">Statistics, sample variance and covariance</a></li> <!-- navigation toc: --> <li><a href="._week8-bs021.html#statistics-law-of-large-numbers" style="font-size: 80%;">Statistics, law of large numbers</a></li> <!-- navigation toc: --> <li><a href="._week8-bs022.html#statistics-more-on-sample-error" style="font-size: 80%;">Statistics, more on sample error</a></li> <!-- navigation toc: --> <li><a href="._week8-bs026.html#statistics" style="font-size: 80%;">Statistics</a></li> <!-- navigation toc: --> <li><a href="._week8-bs024.html#statistics-central-limit-theorem" style="font-size: 80%;">Statistics, central limit theorem</a></li> <!-- navigation toc: --> <li><a href="._week8-bs025.html#statistics-more-technicalities" style="font-size: 80%;">Statistics, more technicalities</a></li> <!-- navigation toc: --> <li><a href="._week8-bs026.html#statistics" style="font-size: 80%;">Statistics</a></li> <!-- navigation toc: --> <li><a href="._week8-bs027.html#statistics-and-sample-variance" style="font-size: 80%;">Statistics and sample variance</a></li> <!-- navigation toc: --> <li><a href="._week8-bs028.html#statistics-uncorrelated-results" style="font-size: 80%;">Statistics, uncorrelated results</a></li> <!-- navigation toc: --> <li><a href="._week8-bs029.html#statistics-computations" style="font-size: 80%;">Statistics, computations</a></li> <!-- navigation toc: --> <li><a href="._week8-bs030.html#statistics-more-on-computations-of-errors" style="font-size: 80%;">Statistics, more on computations of errors</a></li> <!-- navigation toc: --> <li><a href="._week8-bs031.html#statistics-wrapping-up-1" style="font-size: 80%;">Statistics, wrapping up 1</a></li> <!-- navigation toc: --> <li><a href="._week8-bs032.html#statistics-final-expression" style="font-size: 80%;">Statistics, final expression</a></li> <!-- navigation toc: --> <li><a href="._week8-bs033.html#statistics-effective-number-of-correlations" style="font-size: 80%;">Statistics, effective number of correlations</a></li> <!-- navigation toc: --> <li><a href="._week8-bs034.html#can-we-understand-this-time-auto-correlation-function" style="font-size: 80%;">Can we understand this? Time Auto-correlation Function</a></li> <!-- navigation toc: --> <li><a href="._week8-bs039.html#time-auto-correlation-function" style="font-size: 80%;">Time Auto-correlation Function</a></li> <!-- navigation toc: --> <li><a href="._week8-bs039.html#time-auto-correlation-function" style="font-size: 80%;">Time Auto-correlation Function</a></li> <!-- navigation toc: --> <li><a href="._week8-bs039.html#time-auto-correlation-function" style="font-size: 80%;">Time Auto-correlation Function</a></li> <!-- navigation toc: --> <li><a href="._week8-bs039.html#time-auto-correlation-function" style="font-size: 80%;">Time Auto-correlation Function</a></li> <!-- navigation toc: --> <li><a href="._week8-bs039.html#time-auto-correlation-function" style="font-size: 80%;">Time Auto-correlation Function</a></li> <!-- navigation toc: --> <li><a href="._week8-bs040.html#correlation-time" style="font-size: 80%;">Correlation Time</a></li> <!-- navigation toc: --> <li><a href="._week8-bs041.html#resampling-methods-jackknife-and-bootstrap" style="font-size: 80%;">Resampling methods: Jackknife and Bootstrap</a></li> <!-- navigation toc: --> <li><a href="._week8-bs042.html#resampling-methods-jackknife" style="font-size: 80%;">Resampling methods: Jackknife</a></li> <!-- navigation toc: --> <li><a href="._week8-bs043.html#resampling-methods-jackknife-estimator" style="font-size: 80%;">Resampling methods: Jackknife estimator</a></li> <!-- navigation toc: --> <li><a href="._week8-bs044.html#jackknife-code-example" style="font-size: 80%;">Jackknife code example</a></li> <!-- navigation toc: --> <li><a href="._week8-bs045.html#resampling-methods-bootstrap" style="font-size: 80%;">Resampling methods: Bootstrap</a></li> <!-- navigation toc: --> <li><a href="._week8-bs046.html#resampling-methods-bootstrap-background" style="font-size: 80%;">Resampling methods: Bootstrap background</a></li> <!-- navigation toc: --> <li><a href="._week8-bs047.html#resampling-methods-more-bootstrap-background" style="font-size: 80%;">Resampling methods: More Bootstrap background</a></li> <!-- navigation toc: --> <li><a href="._week8-bs048.html#resampling-methods-bootstrap-approach" style="font-size: 80%;">Resampling methods: Bootstrap approach</a></li> <!-- navigation toc: --> <li><a href="._week8-bs049.html#resampling-methods-bootstrap-steps" style="font-size: 80%;">Resampling methods: Bootstrap steps</a></li> <!-- navigation toc: --> <li><a href="._week8-bs050.html#code-example-for-the-bootstrap-method" style="font-size: 80%;">Code example for the Bootstrap method</a></li> <!-- navigation toc: --> <li><a href="._week8-bs051.html#resampling-methods-blocking" style="font-size: 80%;">Resampling methods: Blocking</a></li> <!-- navigation toc: --> <li><a href="._week8-bs053.html#blocking-transformations" style="font-size: 80%;">Blocking Transformations</a></li> <!-- navigation toc: --> <li><a href="._week8-bs053.html#blocking-transformations" style="font-size: 80%;">Blocking Transformations</a></li> <!-- navigation toc: --> <li><a href="._week8-bs054.html#blocking-transformations-getting-there" style="font-size: 80%;">Blocking Transformations, getting there</a></li> <!-- navigation toc: --> <li><a href="._week8-bs055.html#blocking-transformations-final-expressions" style="font-size: 80%;">Blocking Transformations, final expressions</a></li> </ul> </li> </ul> </div> </div> </div> <!-- end of navigation bar --> <div class="container"> <p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p> <!-- add vertical space --> <a name="part0035"></a> <!-- !split --> <h2 id="time-auto-correlation-function" class="anchor">Time Auto-correlation Function </h2> <div class="panel panel-default"> <div class="panel-body"> <p> <!-- subsequent paragraphs come in larger fonts, so start with a paragraph --> One should be careful with times close to \( t_{\mathrm{max}} \), the upper limit of the sums becomes small and we end up integrating over a rather small time interval. This means that the statistical error in \( \phi(t) \) due to the random nature of the fluctuations in \( \mathbf{M}(t) \) can become large. <p> One should therefore choose \( t \ll t_{\mathrm{max}} \). <p> Note that the variable \( \mathbf{M} \) can be any expectation values of interest. <p> The time-correlation function gives a measure of the correlation between the various values of the variable at a time \( t' \) and a time \( t'+t \). If we multiply the values of \( \mathbf{M} \) at these two different times, we will get a positive contribution if they are fluctuating in the same direction, or a negative value if they fluctuate in the opposite direction. If we then integrate over time, or use the discretized version of, the time correlation function \( \phi(t) \) should take a non-zero value if the fluctuations are correlated, else it should gradually go to zero. For times a long way apart the different values of \( \mathbf{M} \) are most likely uncorrelated and \( \phi(t) \) should be zero. </div> </div> <p> <p> <!-- navigation buttons at the bottom of the page --> <ul class="pagination"> <li><a href="._week8-bs034.html">&laquo;</a></li> <li><a href="._week8-bs000.html">1</a></li> <li><a href="">...</a></li> <li><a href="._week8-bs027.html">28</a></li> <li><a href="._week8-bs028.html">29</a></li> <li><a href="._week8-bs029.html">30</a></li> <li><a href="._week8-bs030.html">31</a></li> <li><a href="._week8-bs031.html">32</a></li> <li><a href="._week8-bs032.html">33</a></li> <li><a href="._week8-bs033.html">34</a></li> <li><a href="._week8-bs034.html">35</a></li> <li class="active"><a href="._week8-bs035.html">36</a></li> <li><a href="._week8-bs036.html">37</a></li> <li><a href="._week8-bs037.html">38</a></li> <li><a href="._week8-bs038.html">39</a></li> <li><a href="._week8-bs039.html">40</a></li> <li><a href="._week8-bs040.html">41</a></li> <li><a href="._week8-bs041.html">42</a></li> <li><a href="._week8-bs042.html">43</a></li> <li><a href="._week8-bs043.html">44</a></li> <li><a href="._week8-bs044.html">45</a></li> <li><a href="">...</a></li> <li><a href="._week8-bs055.html">56</a></li> <li><a href="._week8-bs036.html">&raquo;</a></li> </ul> <!-- ------------------- end of main content --------------- --> </div> <!-- end container --> <!-- include javascript, jQuery *first* --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <!-- Bootstrap footer <footer> <a href="https://..."><img width="250" align=right src="https://..."></a> </footer> --> <center style="font-size:80%"> <!-- copyright only on the titlepage --> </center> </body> </html>
CompPhysics/ComputationalPhysics2
doc/pub/week8/html/._week8-bs035.html
HTML
cc0-1.0
21,175
# LulfroBrushed Lulfro Brushed Flight Controller -- Baseflight ============ <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
Brotronics/LulfroBrushed
README.md
Markdown
cc0-1.0
471
jsonp({"cep":"64204185","logradouro":"Rua Jeremias Nogueira Pereira da Silva","bairro":"Reis Veloso","cidade":"Parna\u00edba","uf":"PI","estado":"Piau\u00ed"});
lfreneda/cepdb
api/v1/64204185.jsonp.js
JavaScript
cc0-1.0
161
jsonp({"cep":"27534290","logradouro":"Rua Poeta Duque da Costa","bairro":"Cabral","cidade":"Resende","uf":"RJ","estado":"Rio de Janeiro"});
lfreneda/cepdb
api/v1/27534290.jsonp.js
JavaScript
cc0-1.0
140
jsonp({"cep":"74369052","logradouro":"Rua Madri 3","bairro":"Jardins Madri","cidade":"Goi\u00e2nia","uf":"GO","estado":"Goi\u00e1s"});
lfreneda/cepdb
api/v1/74369052.jsonp.js
JavaScript
cc0-1.0
135
jsonp({"cep":"27281080","logradouro":"Rua Pira\u00ed","bairro":"Eldorado","cidade":"Volta Redonda","uf":"RJ","estado":"Rio de Janeiro"});
lfreneda/cepdb
api/v1/27281080.jsonp.js
JavaScript
cc0-1.0
138
jsonp({"cep":"18108813","logradouro":"Rua Benedito Alexandrino Pires","bairro":"Inhayba","cidade":"Sorocaba","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/18108813.jsonp.js
JavaScript
cc0-1.0
148
jsonp({"cep":"20745030","logradouro":"Rua Simas","bairro":"Encantado","cidade":"Rio de Janeiro","uf":"RJ","estado":"Rio de Janeiro"});
lfreneda/cepdb
api/v1/20745030.jsonp.js
JavaScript
cc0-1.0
135
jsonp({"cep":"29010640","logradouro":"Pra\u00e7a Am\u00e9rico Poli Monjardim","bairro":"Centro","cidade":"Vit\u00f3ria","uf":"ES","estado":"Esp\u00edrito Santo"});
lfreneda/cepdb
api/v1/29010640.jsonp.js
JavaScript
cc0-1.0
164
jsonp({"cep":"12910141","logradouro":"Travessa F\u00e9lix Donadio","bairro":"Jardim Recreio","cidade":"Bragan\u00e7a Paulista","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/12910141.jsonp.js
JavaScript
cc0-1.0
166
jsonp({"cep":"93056070","logradouro":"Rua Afeganist\u00e3o","bairro":"Feitoria","cidade":"S\u00e3o Leopoldo","uf":"RS","estado":"Rio Grande do Sul"});
lfreneda/cepdb
api/v1/93056070.jsonp.js
JavaScript
cc0-1.0
151
jsonp({"cep":"59146553","logradouro":"Rua da Esmeralda","bairro":"Parque de Exposi\u00e7\u00f5es","cidade":"Parnamirim","uf":"RN","estado":"Rio Grande do Norte"});
lfreneda/cepdb
api/v1/59146553.jsonp.js
JavaScript
cc0-1.0
164
jsonp({"cep":"74070110","logradouro":"Rua 14 A","bairro":"Setor Aeroporto","cidade":"Goi\u00e2nia","uf":"GO","estado":"Goi\u00e1s"});
lfreneda/cepdb
api/v1/74070110.jsonp.js
JavaScript
cc0-1.0
134
package exceptions; /** * @author maikol_beto */ public class DiferentTypesComparationException extends Exception { public DiferentTypesComparationException() { super("Error: Los tipos de datos que desea comparar en la operacion" + " WHERE son incompatibles"); } }
e3r8ick/urSQL
urSQL/src/exceptions/DiferentTypesComparationException.java
Java
cc0-1.0
317
jsonp({"cep":"26410270","logradouro":"Rua Arc\u00e1dia","bairro":"Engenheiro Pedreira","cidade":"Japeri","uf":"RJ","estado":"Rio de Janeiro"});
lfreneda/cepdb
api/v1/26410270.jsonp.js
JavaScript
cc0-1.0
144
jsonp({"cep":"66073700","logradouro":"Passagem Nova II","bairro":"Guam\u00e1","cidade":"Bel\u00e9m","uf":"PA","estado":"Par\u00e1"});
lfreneda/cepdb
api/v1/66073700.jsonp.js
JavaScript
cc0-1.0
134
jsonp({"cep":"15813225","logradouro":"Rua Divin\u00f3polis","bairro":"Distrito Industrial Ant\u00f4nio Z\u00e1caro","cidade":"Catanduva","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/15813225.jsonp.js
JavaScript
cc0-1.0
176
jsonp({"cep":"81170030","logradouro":"Rua Paulo Groetzner","bairro":"Cidade Industrial","cidade":"Curitiba","uf":"PR","estado":"Paran\u00e1"});
lfreneda/cepdb
api/v1/81170030.jsonp.js
JavaScript
cc0-1.0
144
jsonp({"cep":"14402068","logradouro":"Rua Jos\u00e9 Brickmann","bairro":"Jardim \u00c9den","cidade":"Franca","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/14402068.jsonp.js
JavaScript
cc0-1.0
148
jsonp({"cep":"37037031","logradouro":"Avenida Professor Jo\u00e3o Augusto de Carvalho","bairro":"Jardim Estrela II","cidade":"Varginha","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/37037031.jsonp.js
JavaScript
cc0-1.0
173
jsonp({"cep":"69088025","logradouro":"Rua Jos\u00e9 Miranda Coelho","bairro":"Jorge Teixeira","cidade":"Manaus","uf":"AM","estado":"Amazonas"});
lfreneda/cepdb
api/v1/69088025.jsonp.js
JavaScript
cc0-1.0
145
jsonp({"cep":"70670017","logradouro":"Quadra SQSW 100 Bloco G","bairro":"Setor Sudoeste","cidade":"Bras\u00edlia","uf":"DF","estado":"Distrito Federal"});
lfreneda/cepdb
api/v1/70670017.jsonp.js
JavaScript
cc0-1.0
155
jsonp({"cep":"69068410","logradouro":"Rua Junout Louzada","bairro":"Raiz","cidade":"Manaus","uf":"AM","estado":"Amazonas"});
lfreneda/cepdb
api/v1/69068410.jsonp.js
JavaScript
cc0-1.0
125
jsonp({"cep":"07062091","logradouro":"Rua Jandira","bairro":"Parque Santo Ant\u00f4nio","cidade":"Guarulhos","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/07062091.jsonp.js
JavaScript
cc0-1.0
148
jsonp({"cep":"50750000","logradouro":"Estrada dos Rem\u00e9dios","bairro":"Afogados","cidade":"Recife","uf":"PE","estado":"Pernambuco"});
lfreneda/cepdb
api/v1/50750000.jsonp.js
JavaScript
cc0-1.0
138
use v5.14; package Diversion::FeedFetcher { use Moo; use XML::Loy; use Encode qw(); use Diversion::UrlArchiver; has url => ( is => "ro", required => 1 ); has feed => ( is => "lazy", predicate => "feed_is_fetched", ); sub _build_feed { my ($self) = @_; my @entries; my $feed = { entry => \@entries }; my $response = Diversion::UrlArchiver->new->get_remote( $self->url ); die "Failed to retrieve ". $self->url ." : $response->{reason}" unless $response && $response->{success}; die "Status Not OK: " . $self->url . " : $response->{reason}" unless $response->{status} == 200; my ($enc) = $response->{content} =~ m!\A.+encoding="([^"]+)"!; $enc ||= "utf-8"; $enc = lc($enc); my $feed_content = Encode::decode($enc, $response->{content}); my $xloy = XML::Loy->new( $feed_content ); my $root; if ($root = $xloy->find("rss")->[0]) { for my $tag ("title", "description", "updated") { if (my $e = $root->find($tag)->[0]) { $feed->{$tag} = $e->all_text; } } } elsif ($root = $xloy->find("feed")->[0]) { for my $tag ("id", "title", "description", "updated") { if (my $e = $root->find($tag)->[0]) { $feed->{$tag} = $e->all_text; } } } $xloy->find("item, entry")->each( sub { my $el = $_[0]; push @entries, my $entry = {}; for my $tag ("content", "thumbnail") { my $e2 = $el->find($tag)->[0]; if ($e2) { $entry->{"media_$tag"} = $e2->attr("url"); } } for my $tag ("category", "creator", "author", "title", "link", "description", "summary", "pubDate", "updated") { my $e2 = $el->find($tag)->[0]; if ($e2) { $entry->{$tag} = $e2->all_text =~ s!\A\s+!!r =~ s!\s+$!!r; } } unless ($entry->{link}) { for my $e2 ($el->find("link")->each) { my $type = $e2->attr("type") or next; my $rel = $e2->attr("rel") or next; if ($type eq "text/html" && $rel eq "alternate") { $entry->{link} = $e2->attr("href"); } } } $entry->{description} = Mojo::DOM->new("<div>" . ($entry->{description}//"") . "</div>")->all_text; for (keys %$entry) { $entry->{$_} = Encode::decode_utf8($entry->{$_}) unless Encode::is_utf8($entry->{$_}); } $entry->{title} =~ s!\n! !g; } ); return $feed; } sub each_entry { my ($self, $cb) = @_; return @{ $self->feed->{entry} } if !$cb; return unless ref($cb) eq 'CODE'; my @entries = @{ $self->feed->{entry} }; for my $i (0..$#entries) { $cb->($entries[$i], $i); } return $self; } }; no Moo; 1;
gugod/Diversion
lib/Diversion/FeedFetcher.pm
Perl
cc0-1.0
3,332
Repository-32 =============
jamiepg1/Repository-32
README.md
Markdown
cc0-1.0
28
jsonp({"cep":"25060190","logradouro":"Avenida Leandro da Mota","bairro":"Doutor Laureano","cidade":"Duque de Caxias","uf":"RJ","estado":"Rio de Janeiro"});
lfreneda/cepdb
api/v1/25060190.jsonp.js
JavaScript
cc0-1.0
156
#include <stdio.h> int main() { char *name = "Andrew"; printf("Hello %s\n", name); return 0; }
Programmica/c-programming-tutorial
_examples/strings.c
C
cc0-1.0
109
jsonp({"cep":"37066010","logradouro":"Rua Manoel Marcolino Batista","bairro":"Parque Residencial Rio Verde","cidade":"Varginha","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/37066010.jsonp.js
JavaScript
cc0-1.0
165
package actors.gcounter import java.util.UUID import java.util.concurrent.TimeUnit import akka.actor._ import com.typesafe.config.ConfigFactory import crdts.GCounter import scala.concurrent.Future import scala.concurrent.duration.FiniteDuration /** * */ class Client(server: ActorSelection) extends Actor { private var counter = GCounter[String]("client-" + self.path.name) override def receive: Receive = { case ReceiveUpdate(other) => counter = counter.merge(other) case Increment => val increment = (Math.random() * 10).asInstanceOf[Int] counter = counter.increment(increment) case SendUpdate => server ! ReceiveUpdate(counter) case Print => println(s"Counter for ${counter.id} is ${counter.get}.") } } object Client { def apply()(implicit actorSystem: ActorSystem): ActorRef = Client(FiniteDuration(100, TimeUnit.MILLISECONDS)) def apply(interval: FiniteDuration)(implicit actorSystem: ActorSystem): ActorRef = { val server = actorSystem.actorSelection("akka.tcp://gcounterSystem@127.0.0.1:2552/user/server") val client = actorSystem.actorOf(Props(classOf[Client], server), UUID.randomUUID().toString) implicit val ec = actorSystem.dispatcher actorSystem.scheduler.schedule(interval, interval, client, SendUpdate) actorSystem.scheduler.schedule(interval, interval, client, Print) // Keep incrementing the counter for a while Future { (1 to 100) foreach { _ => client ! Increment Thread.sleep(100) } println("Stopped incrementing the counter now .. ") } client } def main(args: Array[String]): Unit = { implicit val actorSystem = ActorSystem("gcounterSystem", ConfigFactory.load("client.conf")) Client() } }
maylencita/counters
src/main/scala/actors/gcounter/Client.scala
Scala
cc0-1.0
1,772
jsonp({"cep":"72510516","logradouro":"Quadra QR 310 Conjunto P","bairro":"Santa Maria","cidade":"Bras\u00edlia","uf":"DF","estado":"Distrito Federal"});
lfreneda/cepdb
api/v1/72510516.jsonp.js
JavaScript
cc0-1.0
153
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_45-internal) on Sat Jul 25 18:13:22 BST 2015 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.apache.jena.rdf.listeners (Apache Jena)</title> <meta name="date" content="2015-07-25"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="org.apache.jena.rdf.listeners (Apache Jena)"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li class="navBarCell1Rev">Package</li> <li>Class</li> <li><a href="package-use.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/jena/ontology/package-summary.html">Prev&nbsp;Package</a></li> <li><a href="../../../../../org/apache/jena/rdf/model/package-summary.html">Next&nbsp;Package</a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/jena/rdf/listeners/package-summary.html" target="_top">Frames</a></li> <li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h1 title="Package" class="title">Package&nbsp;org.apache.jena.rdf.listeners</h1> <div class="docSummary"> <div class="block">A package defining some useful implementations of <code>ModelChangedListener</code>, for listening to (a) all triples added or removed, exploding composite objects, (b) all objects added or removed, as themselves, (c) notification of additions/removals, but no details, and (d) accepting but ignoring all changes, as a base-class to be extended.</div> </div> <p>See:&nbsp;<a href="#package.description">Description</a></p> </div> <div class="contentContainer"> <ul class="blockList"> <li class="blockList"> <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> <caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Class</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/jena/rdf/listeners/ChangedListener.html" title="class in org.apache.jena.rdf.listeners">ChangedListener</a></td> <td class="colLast"> <div class="block">Class that merely notes that a change has occurred.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/jena/rdf/listeners/NullListener.html" title="class in org.apache.jena.rdf.listeners">NullListener</a></td> <td class="colLast"> <div class="block">A listener that ignores everything you tell it; intended as a base class or an identity element.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/jena/rdf/listeners/ObjectListener.html" title="class in org.apache.jena.rdf.listeners">ObjectListener</a></td> <td class="colLast"> <div class="block">Listener that funnels all the changes into add/removed(Object) x, ie, leaves discrimination to be done on the type of object added or removed.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../../org/apache/jena/rdf/listeners/StatementListener.html" title="class in org.apache.jena.rdf.listeners">StatementListener</a></td> <td class="colLast"> <div class="block">A listener that filters all its listening down to the single-statement level.</div> </td> </tr> </tbody> </table> </li> </ul> <a name="package.description"> <!-- --> </a> <h2 title="Package org.apache.jena.rdf.listeners Description">Package org.apache.jena.rdf.listeners Description</h2> <div class="block"><p>A package defining some useful implementations of <code>ModelChangedListener</code>, for listening to (a) all triples added or removed, exploding composite objects, (b) all objects added or removed, as themselves, (c) notification of additions/removals, but no details, and (d) accepting but ignoring all changes, as a base-class to be extended. </p></div> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li class="navBarCell1Rev">Package</li> <li>Class</li> <li><a href="package-use.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/jena/ontology/package-summary.html">Prev&nbsp;Package</a></li> <li><a href="../../../../../org/apache/jena/rdf/model/package-summary.html">Next&nbsp;Package</a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/jena/rdf/listeners/package-summary.html" target="_top">Frames</a></li> <li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Licenced under the Apache License, Version 2.0</small></p> </body> </html>
slennie12/SOR-Onderzoek
apache-jena-3.0.0/javadoc-core/org/apache/jena/rdf/listeners/package-summary.html
HTML
cc0-1.0
7,307
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="monitor-signature" content="monitor:player:html5"> <meta name="apple-mobile-web-app-status-bar-style" content="black" /> <meta name="Keywords" content="" /> <meta name="Description" content="Watunakuy 2015" /> <meta name="Generator" content="Flip PDF 4.3.20 at http://www.flipbuilder.com" /> <link rel="image_src" href="../files/shot.png"> <meta name="og:image" content="../files/shot.png"> <meta property="og:image" content="../files/shot.png"> <title>Watunakuy 2015</title> <link rel="stylesheet" href="style/style.css" /> <link rel="stylesheet" href="style/player.css" /> <link rel="stylesheet" href="style/phoneTemplate.css" /> <script src="javascript/jquery-1.9.1.min.js"></script> <script src="javascript/config.js"></script> </head> <body> <script src="javascript/bookmark_config.js"></script> <script src="javascript/LoadingJS.js"></script> <script src="javascript/main.js"></script> <link rel="stylesheet" href="style/template.css" /> <script type="text/javascript"> var sendvisitinfo = function(type,page){}; </script> </body> </html>
AngloDiseno/anglodiseno.github.io
cliente/Fundecam/album/mobile/index.html
HTML
cc0-1.0
1,511
from flask import * from playhouse.flask_utils import * import string from app import app from model import Major, Minor, Store, Transaction, Item @app.route('/major', methods=['GET', 'POST']) def major_list(): query = Major \ .select(Major, Minor) \ .join(Minor, on=(Major.id == Minor.major).alias('minor')) \ .order_by(Major.id) last = None minors = [] majors = [] for major in query: minor = { 'id': major.minor.id, 'name': major.minor.name } if last != None and major.id != last.id: majors.append({'id': last.id, 'income': last.income, 'name': last.name, 'minors': minors}) minors = [minor] else: minors.append(minor) last = major if last != None: majors.append({'id': last.id, 'income': last.income, 'name': last.name, 'minors': minors}) return render_template('major.html', majors=majors) @app.route('/major/add', methods=['GET', 'POST']) def major_add(): if request.method == 'POST': if request.form.get('major_id'): major = get_object_or_404(Major, Major.id == request.form['major_id']) minors = Minor.listWithStats(request.form['major_id']) major.name = request.form['name'] major.income = bool(request.form.get('income')) major.save() flash('Category #%d updated successfully.' % major.id, 'success') else: major = Major.create(name=request.form['name'], income=bool(request.form.get('income'))) minors = [] for minor_name in string.split(request.form['minors'], ','): if len(minor_name) > 0: minor = Minor.create(name=string.strip(minor_name), major=major) minors.append(minor) flash('A category created successfully.', 'success') return render_template('major.html', major=major, minors=minors) return render_template('major.html') @app.route('/major/<int:id>', methods=['GET', 'POST']) def major_detail(id): major = get_object_or_404(Major, Major.id == id) minors = Minor.listWithStats(id) num_items = 0 for minor in minors: num_items += minor.count return render_template('major.html', major=major, minors=minors, num_items=num_items) @app.route('/major/delete/<int:id>', methods=['GET', 'POST']) def major_delete(id): major = get_object_or_404(Major, Major.id == id) major.delete_instance() minors = Minor.delete().where(Minor.major == id).execute() flash('Category #%d is deleted.' % id, 'success') return jsonify(success=True) @app.route('/_minor/add', methods=['POST']) def minor_add(): try: major_id = request.form['major_id'] major = get_object_or_404(Major, Major.id == major_id) minor = Minor.create(name=request.form['name'], major=major) except: flash('Category #%d not found.' % major_id, 'danger') return jsonify(success=False) flash('A new subcategory is added.', 'success') return jsonify(success=True) @app.route('/_minor/delete/<int:id>', methods=['GET']) def minor_delete(id): try: minor = get_object_or_404(Minor, Minor.id == id) minor.delete_instance() except: return jsonify(success=False) return jsonify(success=True) @app.route('/minor/<int:id>', methods=['GET']) def minor_detail(id): minor = get_object_or_404(Minor, Minor.id == id) majors = Major.select().order_by(Major.id) return render_template('minor.html', minor=minor, majors=majors) @app.route('/_minor/edit/<int:id>', methods=['POST']) def minor_edit(id): try: minor = Minor.get(Minor.id == id) minor.name = request.form['name'] minor.major = request.form['major_id'] minor.save() except: return jsonify(success=False) return jsonify(success=True)
ilhamwk/accounting
view_major.py
Python
cc0-1.0
4,006
jsonp({"cep":"61603120","logradouro":"Rua Porcina Leite","bairro":"Parque Soledade","cidade":"Caucaia","uf":"CE","estado":"Cear\u00e1"});
lfreneda/cepdb
api/v1/61603120.jsonp.js
JavaScript
cc0-1.0
138
jsonp({"cep":"06815060","logradouro":"Rua Tibagi","bairro":"Parque Pirajussara","cidade":"Embu das Artes","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/06815060.jsonp.js
JavaScript
cc0-1.0
145
jsonp({"cep":"64075535","logradouro":"Avenida Deputado Paulo Ferraz","bairro":"Beira Rio","cidade":"Teresina","uf":"PI","estado":"Piau\u00ed"});
lfreneda/cepdb
api/v1/64075535.jsonp.js
JavaScript
cc0-1.0
145
jsonp({"cep":"11714130","logradouro":"Rua Fl\u00e1vio Monteiro de Castro","bairro":"Balne\u00e1rio Japura","cidade":"Praia Grande","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/11714130.jsonp.js
JavaScript
cc0-1.0
170
jsonp({"cep":"12405584","logradouro":"Rua Balthazar da Costa","bairro":"Loteamento Residencial e Comercial Vila S\u00e3o Paulo","cidade":"Pindamonhangaba","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/12405584.jsonp.js
JavaScript
cc0-1.0
194
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> <head> <title> Inbound-Marketing // Elokenz Blog </title> <link href="http://gmpg.org/xfn/11" rel="profile"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="author" content=""> <meta property="og:title" content="Inbound-Marketing" /> <meta property="og:description" content="" /> <meta property="og:type" content="website" /> <meta property="og:locale" content="en_US" /> <meta property="og:url" content="http://localhost:1313/tags/inbound-marketing/" /> <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0/base-min.css"> <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0/pure-min.css"> <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0/grids-responsive-min.css"> <link rel="stylesheet" href="http://localhost:1313/css/redlounge.css"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <link href='http://fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Libre+Baskerville:400,700,400italic' rel='stylesheet' type='text/css'> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/touch-icon-144-precomposed.png"> <link rel="shortcut icon" href="/favicon.png"> <link href="http://localhost:1313/tags/inbound-marketing/index.xml/" rel="alternate" type="application/rss+xml" title="Elokenz Blog" /> <link rel="stylesheet" href="https://yandex.st/highlightjs/8.0/styles/tomorrow-night-bright.min.css"> <script src="https://yandex.st/highlightjs/8.0/highlight.min.js"></script> <script>hljs.initHighlightingOnLoad();</script> </head> <body> <div id="layout" class="pure-g"> <div class="sidebar pure-u-1 pure-u-md-1-4" style="padding-top: 0px; background-color: #990; padding: 0px; margin: 0px;"> <div class="header" style="background-color: #222; padding: 0px; margin: 0px auto; height: 100%;"> <h1 class="brand-title">Elokenz Blog</h1> <h2 class="brand-tagline">Content Marketing for bloggers and journalists</h2> <nav class="nav" style="position: relative; bottom : -3em;"> <ul class="nav-list"> <li class="nav-item"><span class="nav-item-separator">//</span><a href="http://localhost:1313">Home</a></li> <li class="nav-item"><span class="nav-item-separator">//</span><a href="/posts">Blog</a></li> <li class="nav-item"><span class="nav-item-separator">//</span><a href="http://jice.lavocat.name">Jice</a></li> </ul> </nav> <div class="social-buttons"> <a href="http://www.twitter.com/Elokenz_com" target="_blank"><i class='fa fa-twitter'></i></a> <a href="https://plus.google.com/118224579909815053416" target="_blank"><i class='fa fa-google-plus'></i></a> </div> </div> </div> <div class="content pure-u-1 pure-u-md-3-4"> <a name="top"></a> <div class="posts"> <section class="post"> <header class="post-header"> <div class="post-avatar-wrapper"> <img class="post-avatar" alt="" src="/wp-content/uploads/2013/09/dharmesh-head-shot1.jpg"> </div> <h1 class="post-title"> <a href="/content-marketing/wordiz-weekly-15-september-2013">WordiZ Weekly &amp;#8211; 15 September 2013</a> </h1> </header> <p class="post-meta"> <span class="post-date"> <span class="post-date-day"><sup>15</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Sep</span> <span class="post-date-year">2013</span> </span> By <a class="post-author" >Jean-Christophe Lavocat</a> <span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>2 min. read</em></span> <div class="post-categories"> <a class="post-category post-category-Content-Marketing" href="/categories/Content-Marketing">Content Marketing</a> </div> </p> <article class="post-summary"> <p>As every Sunday, we&#8217;ll share the articles we enjoyed reading about content marketing, blogging or inbound marketing. If you miss one of them during the week, now you have time to read the most important post of the week. This time we share articles about the Content Marketing World 2013, a list of 10 content leaders, advices on how to create quality content and a recipe for your future inbound strategy.</p> </article> <div class="read-more-link"> <a href="/content-marketing/wordiz-weekly-15-september-2013"><span class="read-more-slashes">//</span>Read More...</a> </div> </section> <section class="post"> <header class="post-header"> <div class="post-avatar-wrapper"> <img class="post-avatar" alt="" src="/wp-content/uploads/2013/09/google-content-marketing.png"> </div> <h1 class="post-title"> <a href="/content-marketing/wordiz-weekly-08092013">WordiZ Weekly &amp;#8211; 08/09/2013</a> </h1> </header> <p class="post-meta"> <span class="post-date"> <span class="post-date-day"><sup>8</sup></span><span class="post-date-separator">/</span><span class="post-date-month">Sep</span> <span class="post-date-year">2013</span> </span> By <a class="post-author" >Jean-Christophe Lavocat</a> <span class="post-reading-time"><i class="fa fa-clock-o"></i> <em>3 min. read</em></span> <div class="post-categories"> <a class="post-category post-category-Content-Marketing" href="/categories/Content-Marketing">Content Marketing</a> </div> </p> <article class="post-summary"> <p>As every Sunday, we&#8217;ll share the articles we enjoyed reading about content marketing, blogging or inbound marketing. If you miss one of them during the week, now you have time to read the most important post of the week. This time we share content creation ideas, explain the difference between content and inbound marketing, give you three reasons why content marketing does better than SEO and finally describe influencer driven content marketing.</p> </article> <div class="read-more-link"> <a href="/content-marketing/wordiz-weekly-08092013"><span class="read-more-slashes">//</span>Read More...</a> </div> </section> </div> <div class="footer"> <hr class="thin" /> <div class="pure-menu pure-menu-horizontal pure-menu-open"> <ul class="footer-menu"> <li><a href="/posts">Blog</a></li> </ul> </div> <p>&copy; 2015. All rights reserved. </p> </div> </div> </div> <script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':1313/livereload.js?mindelay=10"></' + 'script>')</script></body> </html>
tanzaho/elokenz_blog_hugo
public/tags/inbound-marketing/index.html
HTML
cc0-1.0
7,749
jsonp({"cep":"02322140","logradouro":"Rua Dora Dalmer","bairro":"Vila Dona Augusta","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/02322140.jsonp.js
JavaScript
cc0-1.0
149
<!-- Automatically generated HTML file from DocOnce source (https://github.com/hplgit/doconce/) --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="DocOnce: https://github.com/hplgit/doconce/" /> <meta name="description" content="Computational Physics Lectures: Partial differential equations"> <title>Computational Physics Lectures: Partial differential equations</title> <!-- Bootstrap style: bootstrap --> <link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"> <!-- not necessary <link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> --> <style type="text/css"> /* Add scrollbar to dropdown menus in bootstrap navigation bar */ .dropdown-menu { height: auto; max-height: 400px; overflow-x: hidden; } /* Adds an invisible element before each target to offset for the navigation bar */ .anchor::before { content:""; display:block; height:50px; /* fixed header height for style bootstrap */ margin:-50px 0 0; /* negative fixed header height */ } </style> <script src="http://sagecell.sagemath.org/static/jquery.min.js"></script> <script src="http://sagecell.sagemath.org/embedded_sagecell.js"></script> <link rel="stylesheet" type="text/css" href="https://sagecell.sagemath.org/static/sagecell_embed.css"> <script> $(function () { // Make the div with id 'mycell' a Sage cell sagecell.makeSagecell({inputLocation: '#mycell', template: sagecell.templates.minimal, evalButtonText: 'Activate'}); // Make *any* div with class 'compute' a Sage cell sagecell.makeSagecell({inputLocation: 'div.compute', evalButtonText: 'Evaluate'}); }); </script> </head> <!-- tocinfo {'highest level': 2, 'sections': [('Famous PDEs', 2, None, '___sec0'), ('Famous PDEs, two dimension', 2, None, '___sec1'), ('Famous PDEs, diffusion equation', 2, None, '___sec2'), ("Famous PDEs, Laplace's equation", 2, None, '___sec3'), ("Famous PDEs, Helmholtz' equation", 2, None, '___sec4'), ("Famous PDEs, Schroedinger's equation in two dimensions", 2, None, '___sec5'), ("Famous PDEs, Maxwell's equations", 2, None, '___sec6'), ("Famous PDEs, Euler's equations", 2, None, '___sec7'), ("Famous PDEs, the Navier-Stokes' equations", 2, None, '___sec8'), ('Famous PDEs, general equation in two dimensions', 2, None, '___sec9'), ('Diffusion equation', 2, None, '___sec10'), ('Diffusion equation', 2, None, '___sec11'), ('Diffusion equation, famous laws', 2, None, '___sec12'), ('Diffusion equation, heat equation', 2, None, '___sec13'), ('Diffusion equation, heat equation in one dimension', 2, None, '___sec14'), ('Diffusion equation, dimensionless form', 2, None, '___sec15'), ('Explicit Scheme', 2, None, '___sec16'), ('Explicit Scheme, boundary conditions', 2, None, '___sec17'), ('Explicit Scheme, algorithm', 2, None, '___sec18'), ('Explicit Scheme, simplifications', 2, None, '___sec19'), ('Explicit Scheme, solving the equations', 2, None, '___sec20'), ('Explicit Scheme, simple case', 2, None, '___sec21'), ('Explicit Scheme, matrix-vector formulation', 2, None, '___sec22'), ('Explicit Scheme, sketch of code', 2, None, '___sec23'), ('Explicit Scheme, stability condition', 2, None, '___sec24'), ('Explicit Scheme, spectral radius and stability', 2, None, '___sec25'), ('Explicit Scheme, eigenvalues and stability', 2, None, '___sec26'), ('Explicit Scheme, final stability analysis', 2, None, '___sec27'), ('Explicit Scheme, stability condition', 2, None, '___sec28'), ('Explicit Scheme, general tridiagonal matrix', 2, None, '___sec29'), ('Implicit Scheme', 2, None, '___sec30'), ('Implicit Scheme', 2, None, '___sec31'), ('Implicit Scheme', 2, None, '___sec32'), ('Implicit Scheme', 2, None, '___sec33'), ('Implicit Scheme', 2, None, '___sec34'), ('Program Example for Implicit Equation', 3, None, '___sec35'), ('Crank-Nicolson scheme', 2, None, '___sec36'), ('Derivation of CN scheme', 2, None, '___sec37'), ('Taylor expansions', 2, None, '___sec38'), ('Error in CN scheme', 2, None, '___sec39'), ('Truncation errors and stability', 2, None, '___sec40'), ('Rewrite of CN scheme', 2, None, '___sec41'), ('Final CN equations', 2, None, '___sec42'), ('Parts of Code for the Crank-Nicolson Scheme', 2, None, '___sec43'), ('Parts of Code for the Crank-Nicolson Scheme', 2, None, '___sec44'), ('Python code for solving the one-dimensional diffusion equation', 2, None, '___sec45'), ('Solution for the One-dimensional Diffusion Equation', 2, None, '___sec46'), ('Solution for the One-dimensional Diffusion Equation', 2, None, '___sec47'), ('Solution for the One-dimensional Diffusion Equation', 2, None, '___sec48'), ('Solution for the One-dimensional Diffusion Equation', 2, None, '___sec49'), ('Solution for the One-dimensional Diffusion Equation', 2, None, '___sec50'), ('Explict scheme for the diffusion equation in two dimensions', 2, None, '___sec51'), ('Explict scheme for the diffusion equation in two dimensions', 2, None, '___sec52'), ("Laplace's and Poisson's Equations", 2, None, '___sec53'), ("Laplace's and Poisson's Equations, discretized version", 2, None, '___sec54'), ("Laplace's and Poisson's Equations, final discretized version", 2, None, '___sec55'), ("Laplace's and Poisson's Equations, boundary conditions", 2, None, '___sec56'), ("Scheme for solving Laplace's (Poisson's) equation", 2, None, '___sec57'), ("Scheme for solving Laplace's (Poisson's) equation", 2, None, '___sec58'), ("Scheme for solving Laplace's (Poisson's) equation", 2, None, '___sec59'), ("Scheme for solving Laplace's (Poisson's) equation", 2, None, '___sec60'), ("Scheme for solving Laplace's (Poisson's) equation using Jacobi's iterative method", 2, None, '___sec61'), ("Scheme for solving Laplace's (Poisson's) equation, with Jacobi's method", 2, None, '___sec62'), ("Scheme for solving Laplace's (Poisson's) equation, final rewrite", 2, None, '___sec63'), ("Jacobi Algorithm for solving Laplace's Equation", 2, None, '___sec64'), ("Jacobi Algorithm for solving Laplace's Equation", 2, None, '___sec65'), ("Jacobi Algorithm for solving Laplace's Equation, the algorithm", 2, None, '___sec66'), ("Jacobi Algorithm for solving Laplace's Equation, simple example", 2, None, '___sec67'), ("Jacobi Algorithm for solving Laplace's Equation, to observe", 2, None, '___sec68'), ('Python code for solving the two-dimensional Laplace equation', 2, None, '___sec69'), ("Jacobi's algorithm extended to the diffusion equation in two dimensions", 2, None, '___sec70'), ("Jacobi's algorithm extended to the diffusion equation in two dimensions", 2, None, '___sec71'), ("Jacobi's algorithm extended to the diffusion equation in two dimensions, discretizing", 2, None, '___sec72'), ("Jacobi's algorithm extended to the diffusion equation in two dimensions, the second derivative", 2, None, '___sec73'), ("Jacobi's algorithm extended to the diffusion equation in two dimensions", 2, None, '___sec74'), ('"Solving project 1 again but now with Jacobi\'s method":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/Jacobi.cpp"', 2, None, '___sec75'), ('"Program to solve Jacobi\'s method in two dimension":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/diffusion2dim.cpp"', 2, None, '___sec76'), ('"The Jacobi solver function":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/diffusion2dim.cpp"', 2, None, '___sec77'), ('"Parallel Jacobi":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/MPIdiffusion.cpp"', 2, None, '___sec78'), ('"Parallel Jacobi":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/MPIdiffusion.cpp"', 2, None, '___sec79'), ('"Parallel Jacobi":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/OpenMPdiffusion.cpp"', 2, None, '___sec80'), ('Wave Equation in two Dimensions', 2, None, '___sec81'), ('Wave Equation in two Dimensions, discretizing', 2, None, '___sec82'), ('Wave Equation in two Dimensions', 2, None, '___sec83'), ('Wave Equation in two Dimensions', 2, None, '___sec84'), ('Wave Equation in two Dimensions', 2, None, '___sec85'), ('Wave Equation in two Dimensions', 2, None, '___sec86'), ('Wave Equation in two Dimensions', 2, None, '___sec87'), ('Analytical Solution for the two-dimensional wave equation', 2, None, '___sec88'), ('Analytical Solution for the two-dimensional wave equation, first step', 2, None, '___sec89'), ('Analytical Solution for the two-dimensional wave equation,', 2, None, '___sec90'), ('Analytical Solution for the two-dimensional wave equation, separation of variables', 2, None, '___sec91'), ('Analytical Solution for the two-dimensional wave equation, separation of variables', 2, None, '___sec92'), ('Analytical Solution for the two-dimensional wave equation, boundary conditions', 2, None, '___sec93'), ('Analytical Solution for the two-dimensional wave equation, separation of variables and solutions', 2, None, '___sec94'), ('Analytical Solution for the two-dimensional wave equation, final steps', 2, None, '___sec95'), ('Python code for solving the two-dimensional wave equation', 2, None, '___sec96')]} end of tocinfo --> <body> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ TeX: { equationNumbers: { autoNumber: "none" }, extensions: ["AMSmath.js", "AMSsymbols.js", "autobold.js", "color.js"] } }); </script> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script> <!-- Bootstrap navigation bar --> <div class="navbar navbar-default navbar-fixed-top"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="pde-bs.html">Computational Physics Lectures: Partial differential equations</a> </div> <div class="navbar-collapse collapse navbar-responsive-collapse"> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a> <ul class="dropdown-menu"> <!-- navigation toc: --> <li><a href="._pde-bs001.html#___sec0" style="font-size: 80%;"><b>Famous PDEs</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs002.html#___sec1" style="font-size: 80%;"><b>Famous PDEs, two dimension</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs003.html#___sec2" style="font-size: 80%;"><b>Famous PDEs, diffusion equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs004.html#___sec3" style="font-size: 80%;"><b>Famous PDEs, Laplace's equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs005.html#___sec4" style="font-size: 80%;"><b>Famous PDEs, Helmholtz' equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs006.html#___sec5" style="font-size: 80%;"><b>Famous PDEs, Schroedinger's equation in two dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs007.html#___sec6" style="font-size: 80%;"><b>Famous PDEs, Maxwell's equations</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs008.html#___sec7" style="font-size: 80%;"><b>Famous PDEs, Euler's equations</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs009.html#___sec8" style="font-size: 80%;"><b>Famous PDEs, the Navier-Stokes' equations</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs010.html#___sec9" style="font-size: 80%;"><b>Famous PDEs, general equation in two dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs011.html#___sec10" style="font-size: 80%;"><b>Diffusion equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs012.html#___sec11" style="font-size: 80%;"><b>Diffusion equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs013.html#___sec12" style="font-size: 80%;"><b>Diffusion equation, famous laws</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs014.html#___sec13" style="font-size: 80%;"><b>Diffusion equation, heat equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs015.html#___sec14" style="font-size: 80%;"><b>Diffusion equation, heat equation in one dimension</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs016.html#___sec15" style="font-size: 80%;"><b>Diffusion equation, dimensionless form</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs017.html#___sec16" style="font-size: 80%;"><b>Explicit Scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs018.html#___sec17" style="font-size: 80%;"><b>Explicit Scheme, boundary conditions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs019.html#___sec18" style="font-size: 80%;"><b>Explicit Scheme, algorithm</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs020.html#___sec19" style="font-size: 80%;"><b>Explicit Scheme, simplifications</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs021.html#___sec20" style="font-size: 80%;"><b>Explicit Scheme, solving the equations</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs022.html#___sec21" style="font-size: 80%;"><b>Explicit Scheme, simple case</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs023.html#___sec22" style="font-size: 80%;"><b>Explicit Scheme, matrix-vector formulation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs024.html#___sec23" style="font-size: 80%;"><b>Explicit Scheme, sketch of code</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs025.html#___sec24" style="font-size: 80%;"><b>Explicit Scheme, stability condition</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs026.html#___sec25" style="font-size: 80%;"><b>Explicit Scheme, spectral radius and stability</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs027.html#___sec26" style="font-size: 80%;"><b>Explicit Scheme, eigenvalues and stability</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs028.html#___sec27" style="font-size: 80%;"><b>Explicit Scheme, final stability analysis</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs029.html#___sec28" style="font-size: 80%;"><b>Explicit Scheme, stability condition</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs030.html#___sec29" style="font-size: 80%;"><b>Explicit Scheme, general tridiagonal matrix</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs031.html#___sec30" style="font-size: 80%;"><b>Implicit Scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs032.html#___sec31" style="font-size: 80%;"><b>Implicit Scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs033.html#___sec32" style="font-size: 80%;"><b>Implicit Scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs034.html#___sec33" style="font-size: 80%;"><b>Implicit Scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs035.html#___sec34" style="font-size: 80%;"><b>Implicit Scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs036.html#___sec35" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Program Example for Implicit Equation</a></li> <!-- navigation toc: --> <li><a href="._pde-bs037.html#___sec36" style="font-size: 80%;"><b>Crank-Nicolson scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs038.html#___sec37" style="font-size: 80%;"><b>Derivation of CN scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs039.html#___sec38" style="font-size: 80%;"><b>Taylor expansions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs040.html#___sec39" style="font-size: 80%;"><b>Error in CN scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs041.html#___sec40" style="font-size: 80%;"><b>Truncation errors and stability</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs042.html#___sec41" style="font-size: 80%;"><b>Rewrite of CN scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs043.html#___sec42" style="font-size: 80%;"><b>Final CN equations</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs044.html#___sec43" style="font-size: 80%;"><b>Parts of Code for the Crank-Nicolson Scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs045.html#___sec44" style="font-size: 80%;"><b>Parts of Code for the Crank-Nicolson Scheme</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs046.html#___sec45" style="font-size: 80%;"><b>Python code for solving the one-dimensional diffusion equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs047.html#___sec46" style="font-size: 80%;"><b>Solution for the One-dimensional Diffusion Equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs048.html#___sec47" style="font-size: 80%;"><b>Solution for the One-dimensional Diffusion Equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs049.html#___sec48" style="font-size: 80%;"><b>Solution for the One-dimensional Diffusion Equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs050.html#___sec49" style="font-size: 80%;"><b>Solution for the One-dimensional Diffusion Equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs051.html#___sec50" style="font-size: 80%;"><b>Solution for the One-dimensional Diffusion Equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs052.html#___sec51" style="font-size: 80%;"><b>Explict scheme for the diffusion equation in two dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs053.html#___sec52" style="font-size: 80%;"><b>Explict scheme for the diffusion equation in two dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs054.html#___sec53" style="font-size: 80%;"><b>Laplace's and Poisson's Equations</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs055.html#___sec54" style="font-size: 80%;"><b>Laplace's and Poisson's Equations, discretized version</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs056.html#___sec55" style="font-size: 80%;"><b>Laplace's and Poisson's Equations, final discretized version</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs057.html#___sec56" style="font-size: 80%;"><b>Laplace's and Poisson's Equations, boundary conditions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs058.html#___sec57" style="font-size: 80%;"><b>Scheme for solving Laplace's (Poisson's) equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs059.html#___sec58" style="font-size: 80%;"><b>Scheme for solving Laplace's (Poisson's) equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs060.html#___sec59" style="font-size: 80%;"><b>Scheme for solving Laplace's (Poisson's) equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs061.html#___sec60" style="font-size: 80%;"><b>Scheme for solving Laplace's (Poisson's) equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs062.html#___sec61" style="font-size: 80%;"><b>Scheme for solving Laplace's (Poisson's) equation using Jacobi's iterative method</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs063.html#___sec62" style="font-size: 80%;"><b>Scheme for solving Laplace's (Poisson's) equation, with Jacobi's method</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs064.html#___sec63" style="font-size: 80%;"><b>Scheme for solving Laplace's (Poisson's) equation, final rewrite</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs065.html#___sec64" style="font-size: 80%;"><b>Jacobi Algorithm for solving Laplace's Equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs066.html#___sec65" style="font-size: 80%;"><b>Jacobi Algorithm for solving Laplace's Equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs067.html#___sec66" style="font-size: 80%;"><b>Jacobi Algorithm for solving Laplace's Equation, the algorithm</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs068.html#___sec67" style="font-size: 80%;"><b>Jacobi Algorithm for solving Laplace's Equation, simple example</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs069.html#___sec68" style="font-size: 80%;"><b>Jacobi Algorithm for solving Laplace's Equation, to observe</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs070.html#___sec69" style="font-size: 80%;"><b>Python code for solving the two-dimensional Laplace equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs071.html#___sec70" style="font-size: 80%;"><b>Jacobi's algorithm extended to the diffusion equation in two dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs072.html#___sec71" style="font-size: 80%;"><b>Jacobi's algorithm extended to the diffusion equation in two dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs073.html#___sec72" style="font-size: 80%;"><b>Jacobi's algorithm extended to the diffusion equation in two dimensions, discretizing</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs074.html#___sec73" style="font-size: 80%;"><b>Jacobi's algorithm extended to the diffusion equation in two dimensions, the second derivative</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs075.html#___sec74" style="font-size: 80%;"><b>Jacobi's algorithm extended to the diffusion equation in two dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs076.html#___sec75" style="font-size: 80%;"><b>"Solving project 1 again but now with Jacobi's method":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/Jacobi.cpp"</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs077.html#___sec76" style="font-size: 80%;"><b>"Program to solve Jacobi's method in two dimension":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/diffusion2dim.cpp"</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs078.html#___sec77" style="font-size: 80%;"><b>"The Jacobi solver function":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/diffusion2dim.cpp"</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs079.html#___sec78" style="font-size: 80%;"><b>"Parallel Jacobi":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/MPIdiffusion.cpp"</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs080.html#___sec79" style="font-size: 80%;"><b>"Parallel Jacobi":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/MPIdiffusion.cpp"</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs081.html#___sec80" style="font-size: 80%;"><b>"Parallel Jacobi":"https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Programs/LecturePrograms/programs/PDE/cpp/OpenMPdiffusion.cpp"</b></a></li> <!-- navigation toc: --> <li><a href="#___sec81" style="font-size: 80%;"><b>Wave Equation in two Dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs083.html#___sec82" style="font-size: 80%;"><b>Wave Equation in two Dimensions, discretizing</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs084.html#___sec83" style="font-size: 80%;"><b>Wave Equation in two Dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs085.html#___sec84" style="font-size: 80%;"><b>Wave Equation in two Dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs086.html#___sec85" style="font-size: 80%;"><b>Wave Equation in two Dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs087.html#___sec86" style="font-size: 80%;"><b>Wave Equation in two Dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs088.html#___sec87" style="font-size: 80%;"><b>Wave Equation in two Dimensions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs089.html#___sec88" style="font-size: 80%;"><b>Analytical Solution for the two-dimensional wave equation</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs090.html#___sec89" style="font-size: 80%;"><b>Analytical Solution for the two-dimensional wave equation, first step</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs091.html#___sec90" style="font-size: 80%;"><b>Analytical Solution for the two-dimensional wave equation,</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs092.html#___sec91" style="font-size: 80%;"><b>Analytical Solution for the two-dimensional wave equation, separation of variables</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs093.html#___sec92" style="font-size: 80%;"><b>Analytical Solution for the two-dimensional wave equation, separation of variables</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs094.html#___sec93" style="font-size: 80%;"><b>Analytical Solution for the two-dimensional wave equation, boundary conditions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs095.html#___sec94" style="font-size: 80%;"><b>Analytical Solution for the two-dimensional wave equation, separation of variables and solutions</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs096.html#___sec95" style="font-size: 80%;"><b>Analytical Solution for the two-dimensional wave equation, final steps</b></a></li> <!-- navigation toc: --> <li><a href="._pde-bs097.html#___sec96" style="font-size: 80%;"><b>Python code for solving the two-dimensional wave equation</b></a></li> </ul> </li> </ul> </div> </div> </div> <!-- end of navigation bar --> <div class="container"> <p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p> <!-- add vertical space --> <a name="part0082"></a> <!-- !split --> <h2 id="___sec81" class="anchor">Wave Equation in two Dimensions </h2> <p> The \( 1+1 \)-dimensional wave equation reads $$ \begin{equation*} \frac{\partial^2 u}{\partial x^2}=\frac{\partial^2 u}{\partial t^2}, \end{equation*} $$ with \( u=u(x,t) \) and we have assumed that we operate with dimensionless variables. Possible boundary and initial conditions with \( L=1 \) are $$ \begin{equation*} \begin{array}{cc} u_{xx} = u_{tt}& x\in(0,1), t>0 \\ u(x,0) = g(x)& x\in (0,1) \\ u(0,t)=u(1,t)=0 & t > 0\\ \partial u/\partial t|_{t=0}=0 & x\in (0,1)\\ \end{array} . \end{equation*} $$ <p> <p> <!-- navigation buttons at the bottom of the page --> <ul class="pagination"> <li><a href="._pde-bs081.html">&laquo;</a></li> <li><a href="._pde-bs000.html">1</a></li> <li><a href="">...</a></li> <li><a href="._pde-bs074.html">75</a></li> <li><a href="._pde-bs075.html">76</a></li> <li><a href="._pde-bs076.html">77</a></li> <li><a href="._pde-bs077.html">78</a></li> <li><a href="._pde-bs078.html">79</a></li> <li><a href="._pde-bs079.html">80</a></li> <li><a href="._pde-bs080.html">81</a></li> <li><a href="._pde-bs081.html">82</a></li> <li class="active"><a href="._pde-bs082.html">83</a></li> <li><a href="._pde-bs083.html">84</a></li> <li><a href="._pde-bs084.html">85</a></li> <li><a href="._pde-bs085.html">86</a></li> <li><a href="._pde-bs086.html">87</a></li> <li><a href="._pde-bs087.html">88</a></li> <li><a href="._pde-bs088.html">89</a></li> <li><a href="._pde-bs089.html">90</a></li> <li><a href="._pde-bs090.html">91</a></li> <li><a href="._pde-bs091.html">92</a></li> <li><a href="">...</a></li> <li><a href="._pde-bs097.html">98</a></li> <li><a href="._pde-bs083.html">&raquo;</a></li> </ul> <!-- ------------------- end of main content --------------- --> </div> <!-- end container --> <!-- include javascript, jQuery *first* --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <!-- Bootstrap footer <footer> <a href="http://..."><img width="250" align=right src="http://..."></a> </footer> --> <center style="font-size:80%"> <!-- copyright only on the titlepage --> </center> </body> </html>
CompPhysics/ComputationalPhysicsMSU
doc/pub/pde/html/._pde-bs082.html
HTML
cc0-1.0
32,858
jsonp({"cep":"69905118","logradouro":"Beco Rio Branco","bairro":"Habitasa","cidade":"Rio Branco","uf":"AC","estado":"Acre"});
lfreneda/cepdb
api/v1/69905118.jsonp.js
JavaScript
cc0-1.0
126
jsonp({"cep":"81870018","logradouro":"Travessa Odilon Figueiredo","bairro":"Pinheirinho","cidade":"Curitiba","uf":"PR","estado":"Paran\u00e1"});
lfreneda/cepdb
api/v1/81870018.jsonp.js
JavaScript
cc0-1.0
145
jsonp({"cep":"31970624","logradouro":"Rua Setecentos e Cinquenta","bairro":"Jardim Vit\u00f3ria","cidade":"Belo Horizonte","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/31970624.jsonp.js
JavaScript
cc0-1.0
160
jsonp({"cep":"09913220","logradouro":"Rua Marechal Eurico Gaspar Dutra","bairro":"Centro","cidade":"Diadema","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/09913220.jsonp.js
JavaScript
cc0-1.0
148
jsonp({"cep":"30770410","logradouro":"Rua Cisplatina","bairro":"Cai\u00e7aras","cidade":"Belo Horizonte","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/30770410.jsonp.js
JavaScript
cc0-1.0
142
define((require, exports, module) => { return (store) => { store.subscribe((mutation, state) => { if (mutation.type === 'duty/updateDuty') { let { finished_at, horse_id2, horse_id1, field_id1, field_id2, bout_id1, bout_id2, param} = mutation.payload.updateData if(param){ let paramResult = { horse_id1: '', horse_id2: '', field_id1: '', field_id2: '', bout_id1: '', bout_id2: '' } _.each(paramResult, (v, k)=>{ if(mutation.payload.updateData[k]){ up_type = param[mutation.payload.updateData[k]].up_type is_max = param[mutation.payload.updateData[k]].is_max up_value = param[mutation.payload.updateData[k]].up_value valueResult = is_max ? 'MAX' : '+'+ up_value typeResult = ['機動', '統率', '偵察', '生存', '打撃', '衝力'][up_type-1] paramResult[k]='('+typeResult+valueResult+')' } }) if(finished_at){ store.commit('log/addDutyLog', { logId: `${moment(parseValues(finished_at)).unix()}`, finished_at: finished_at, horse_id2: horse_id2, horse_id1: horse_id1, field_id1: field_id1, field_id2: field_id2, bout_id1: bout_id1, bout_id2: bout_id2, param: paramResult })}}else{ if(finished_at){ store.commit('log/addDutyLog', { logId: `${moment(parseValues(finished_at)).unix()}`, finished_at: finished_at, horse_id2: horse_id2, horse_id1: horse_id1, field_id1: field_id1, field_id2: field_id2, bout_id1: bout_id1, bout_id2: bout_id2 }) }} //if (state.config.duty_notice == true) { if(_.every([horse_id1, horse_id2, field_id1, field_id2, bout_id1, bout_id2], _.isNull) || JSON.stringify(mutation.payload.updateData)=="{}" || JSON.stringify(mutation.payload.updateData)=="[]") { state.duty['status']=1 } else if (!finished_at) { finished_at = state.duty.finished_at state.duty['status']=2 } else{ state.duty['status']=2 } if(state.duty.isIntervalSet == false || state.duty.isIntervalSet == null) { //console.log("set interval") let check = setInterval(function isDutyFinished(){ state.duty.isIntervalSet = true state.duty.left_time = moment.utc(state.duty.finished_at-Date.now()).format('HH:mm:ss') if(finished_at != null && moment(parseValues(finished_at)).isBefore(Date.now()) && state.duty.status==2) { state.duty.left_time = '00:00:00' if (state.config.duty_notice == true) { store.dispatch('notice/addNotice', { title: `内番结束!`, message: `结束时间:${moment(parseValues(finished_at)).format('HH:mm:ss')}`, context: '请尽快收取!', renotify: true, disableAutoClose: true, swordBaseId: state.swords.serial[state.party.parties[1].slot[1].serial_id].sword_id, icon: `static/sword/${state.swords.serial[state.party.parties[1].slot[1].serial_id].sword_id}.png` })} state.duty.isIntervalSet = false clearInterval(check) } if(state.duty['status'] != 2){ state.duty.isNoticed = false state.duty.isIntervalSet = false clearInterval(check) } }, 1000) } //} } }) } })
hitomi/tohken
app/plugin/duty_notice.js
JavaScript
cc0-1.0
3,894
# Review default styles **Purpose**: For the default style of each harmonized layer, the default style specified in the corresponding data specification. If none was specified, the default style according to the INSPIRE Generic Conceptual Model [INS GCM]) has to be used. **Prerequisites** **Test method** * Review maps for each harmonized layer to verify that the rendering used the specified default style: * Point: grey square, 6 pixels; * Curve: black solid line, 1 pixel; * Surface: black solid line, 1 pixel, grey fill. **Reference(s)**: * [TG VS](http://inspire.ec.europa.eu/id/ats/view-service/3.11/iso-19128/README#ref_TG_VS), Chapter 4.2.3.3.4.8, Requirements 42, 43, 44. **Test type**: Manual **Notes** ## Contextual XPath references The namespace prefixes used as described in [README.md](README.md#namespaces). Abbreviation | XPath expression ---------------------------------------------------------- | -------------------------------------------------------------------------
inspire-eu-validation/ats-view-wms
iso-19128/review-default-style.md
Markdown
cc0-1.0
1,051
jsonp({"cep":"12515271","logradouro":"Pra\u00e7a Esperan\u00e7a","bairro":"Pedregulho","cidade":"Guaratinguet\u00e1","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/12515271.jsonp.js
JavaScript
cc0-1.0
156
class RecursosAsignadosController < ApplicationController def administrar @entregable = Entregable.find(params[:id]) ### Recursos asignados al entregable @lista_recursos_asignados = [] @recursos_entregable = @entregable.recursos.all @recursos_entregable.each do |recurso_asignado| # asocia el recurso con la persona fisica segun el ID fisica = Fisica.find_by(persona_id: recurso_asignado.fisica_id ) # Guarda los nombres de los recursos asignados al proyecto especificado @lista_recursos_asignados.push(fisica) end ### Recursos no asignados al proyecto @lista_recursos_proyecto = [] @proyecto = Proyecto.find(@entregable.proyecto_id) @recursos_proyecto = @proyecto.recursos.all @recursos_proyecto.each do |recurso| fisica = Fisica.find_by(persona_id: recurso.fisica_id ) @lista_recursos_proyecto.push(fisica) end @lista_no_asignados = @lista_recursos_proyecto - @lista_recursos_asignados ### Para cargar los datos relacionados al entregable @hoja = Hoja.find(@proyecto.hoja_id) @id_portafolio = @hoja.portafolio_id @portafolio = Portafolio.find(@id_portafolio) @cliente = Cliente.find(@portafolio.cliente_id) end #Agrega el recurso seleccionado al entregable def agregarRecursoSeleccionado @fisica = Fisica.find(params[:id]) @recurso = Recurso.find_by(fisica_id: @fisica.persona_id) @entregable = Entregable.find(params[:id_entregable]) Activo.create( entregable_id: @entregable.id , recurso_id: @recurso.id , estado: true) redirect_to :back end #Quita el recurso seleccionado del entregable def removerRecursoSeleccionado @fisica = Fisica.find(params[:id]) @recurso = Recurso.find_by(fisica_id: @fisica.persona_id) @entregable = Entregable.find(params[:id_entregable]) id_activo = Activo.find_by_sql ["SELECT id FROM activos WHERE entregable_id = ? AND recurso_id = ?", @entregable.id, @recurso.id] Activo.delete( id_activo) redirect_to :back end end
aivaco/Proyecto-Mundo-Feliz
app/controllers/recursos_asignados_controller.rb
Ruby
cc0-1.0
2,294
jsonp({"cep":"65910440","logradouro":"Avenida Cai\u00e7ara","bairro":"Vila Reden\u00e7\u00e3o I","cidade":"Imperatriz","uf":"MA","estado":"Maranh\u00e3o"});
lfreneda/cepdb
api/v1/65910440.jsonp.js
JavaScript
cc0-1.0
157
--- author: abloz comments: true date: 2013-08-20 06:34:11+00:00 layout: post link: http://abloz.com/index.php/2013/08/20/scala-helloworld/ slug: scala-helloworld title: scala HelloWorld wordpress_id: 2199 categories: - 技术 tags: - scala --- 周海汉/文 2013.8.1 最近网络封锁太严,日志都发不出来了,只好重发。 scala,一种基于JVM虚拟机的函数式语言,以其编程效率和分布式处理能力著称。spark 就是用scala写的。 下载: [hadoop@hs11 scala-2.11.0-M4]$ scala Welcome to Scala version 2.11.0-M4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_45). Type in expressions to have them evaluated. Type :help for more information. scala> object Hello{ | def main(arg: Array[String]) { | println("hello world") | } | } defined object Hello scala> Hello.main(null) hello world scala> :q [hadoop@hs11 examples]$ cat HelloWorld.scala package examples object HelloWorld { def main(args: Array[String]) { println("Hello, world!") } } [hadoop@hs11 examples]$ scalac HelloWorld.scala [hadoop@hs11 examples]$ ls examples/Hello* examples/HelloWorld.class  examples/HelloWorld$.class [hadoop@hs11 examples]$ scala examples.HelloWorld Hello, world! 如果继承自App,对象中所有语句自动执行。可以省去main函数 [hadoop@hs11 examples]$ cat Hello1.scala package examples object Hello1 extends App { println("Hello world, App!") } [hadoop@hs11 examples]$ scala examples.Hello1 Hello world, App!
ablozhou/ablozhou.github.io
_posts/2013-08-20-scala-helloworld.markdown
Markdown
cc0-1.0
1,526
<!DOCTYPE html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Expires" content="-1"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-Control" content="no-cache"> <title>105年第十四任總統副總統及第九屆立法委員選舉</title> <link href="../css/style.css" rel="stylesheet" type="text/css"> <link href="../css/style2.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="../js/ftiens4.js"></script> <script type="text/javascript" src="../js/ua.js"></script> <script type="text/javascript" src="../js/func.js"></script> <script type="text/javascript" src="../js/treeT.js"></script> <script type="text/javascript" src="../js/refresh.js"></script> </head> <body id="main-body"> <div id="main-header"> <div id="main-top"> <a class="main-top-logo" href="#">中央選舉委員會</a> <ul class="main-top-list"> <li class="main-top-item"><a class="main-top-link main-top-link-home" href="../index.html">回首頁</a></li> <li class="main-top-item"><a class="main-top-link main-top-link-cec" href="http://2016.cec.gov.tw">中選會網站</a></li> <li class="main-top-item"><a class="main-top-link main-top-link-english" href="../../en/index.html">English</a></li> </ul> </div> </div> <div id="main-wrap"> <div id="main-banner"> <div class="slideshow"> <img src="../img/main_bg_2.jpg" width="1024" height="300" alt="background" title="background"> </div> <div class="main-deco"></div> <div class="main-title"></div> <a class="main-pvpe" href="../IDX/indexP1.html">總統副總統選舉</a> <a class="main-le main-le-current" href="../IDX/indexT.html">立法委員選舉</a> </div> <div id="main-container"> <div id="main-content"> <table width="1024" border="1" cellpadding="0" cellspacing="0"> <tr> <td width="180" valign="top"> <div id="divMenu"> <table border="0"> <tr> <td><a style="text-decoration:none;color:silver" href="http://www.treemenu.net/" target=_blank></a></td> </tr> </table> <span class="TreeviewSpanArea"> <script>initializeDocument()</script> <noscript>請開啟Javascript功能</noscript> </span> </div> </td> <td width="796" valign="top"> <div id="divContent"> <!-- 修改區塊 --> <table width="100%" border="0" cellpadding="0" cellspacing="4"> <tr> <td><img src="../images/search.png" alt="候選人得票數" title="候選人得票數">&nbsp;<b>區域立法委員選舉&nbsp;高雄市&nbsp;第3選舉區&nbsp;候選人得票數&nbsp;</b></td> </tr> <tr valign="bottom"> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr valign="bottom"> <td class="fontNumber">&nbsp;<img src="../images/nav.gif" alt="候選人數" title="候選人數">&nbsp;<img src="../images/nav.gif" alt="候選人數" title="候選人數">&nbsp;候選人數:5&nbsp;&nbsp;<img src="../images/nav.gif" alt="應選人數" title="應選人數">&nbsp;<img src="../images/nav.gif" alt="應選人數" title="應選人數">&nbsp;應選人數:1&nbsp;&nbsp; <!--<img src="../images/nav.gif" alt="應有婦女當選名額" title="應有婦女當選名額">&nbsp; <img src="../images/nav.gif" alt="應有婦女當選名額" title="應有婦女當選名額">&nbsp;應有婦女當選名額:0--> </td> <td align="right"> <select name="selector_order" class="selectC" tabindex="1" id="orderBy" onChange="changeOrder();"> <option value="n">依號次排序</option> <option value="s">依得票排序</option> </select> </td> </tr> </table> </td> </tr> <tr valign="top"> <td> <table width="100%" border="0" cellpadding="6" cellspacing="1" class="tableT"> <tr class="trHeaderT"> <td>註記</td> <td>號次</td> <td>姓名</td> <td>性別</td> <td>得票數</td> <td>得票率%</td> <td>推薦之政黨</td> </tr> <tr class="trT"> <td>&nbsp;</td> <td>1</td> <td>梁蓓禎</td> <td>女</td> <td class="tdAlignRight">11,546</td> <td class="tdAlignRight">6.0415</td> <td>信心希望聯盟</td> </tr> <tr class="trT"> <td>&nbsp;</td> <td>2</td> <td>柳淑芳</td> <td>女</td> <td class="tdAlignRight">1,935</td> <td class="tdAlignRight">1.0125</td> <td>無</td> </tr> <tr class="trT"> <td>&nbsp;</td> <td>3</td> <td>張顯耀</td> <td>男</td> <td class="tdAlignRight">73,792</td> <td class="tdAlignRight">38.6121</td> <td>中國國民黨</td> </tr> <tr class="trT"> <td>◎</td> <td>4</td> <td>劉世芳</td> <td>女</td> <td class="tdAlignRight">102,255</td> <td class="tdAlignRight">53.5056</td> <td>民主進步黨</td> </tr> <tr class="trT"> <td>&nbsp;</td> <td>5</td> <td>莊明憲</td> <td>男</td> <td class="tdAlignRight">1,583</td> <td class="tdAlignRight">0.8283</td> <td>大愛憲改聯盟</td> </tr> <tr class="trFooterT"> <td colspan="7" align="right">投開票所數 已送/應送:&nbsp;191/191&nbsp;</td> </tr> </table> </td> </tr> <tr valign="top"> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="10"></td> <td valign="top" class="fontNote"> <table> <tr> <td>註記說明:</td> <td align="center">◎</td> <td>當選註記</td> </tr> <tr> <td></td> <td align="center">?</td> <td>同票待抽籤</td> </tr> </table> </td> <td valign="top" class="fontTimer"><img src="../images/clock2.png" alt="Sat, 16 Jan 2016 22:12:12 +0800" title="Sat, 16 Jan 2016 22:12:12 +0800">&nbsp;資料更新時間:01/16&nbsp;22:12:06&nbsp;<br>(網頁每3分鐘自動更新一次)</td> </tr> <tr> <td colspan="3" class="fontNote"></td> </tr> </table> </td> </tr> </table> <!-- 修改區塊 --> </div> </td> </tr> </table> </div> <div class="main-footer"></div> <div id="divFooter">[中央選舉委員會] </div> <!--main-content--> </div><!--main-container--> </div><!--END main-wrap--> <script>setOrder();</script> <script>setMenuScrollPosY();</script> </body> </html>
gugod/vote-watch-2016
data/KHH-3/n600030000000000/20160116141513/page.html
HTML
cc0-1.0
7,254
jsonp({"cep":"70760620","logradouro":"Quadra SCRN 712/713 Bloco B","bairro":"Asa Norte","cidade":"Bras\u00edlia","uf":"DF","estado":"Distrito Federal"});
lfreneda/cepdb
api/v1/70760620.jsonp.js
JavaScript
cc0-1.0
154
jsonp({"cep":"23095150","logradouro":"Rua Jomar Mendes","bairro":"Campo Grande","cidade":"Rio de Janeiro","uf":"RJ","estado":"Rio de Janeiro"});
lfreneda/cepdb
api/v1/23095150.jsonp.js
JavaScript
cc0-1.0
145
--- layout: post title: How to Add a New Site category: manual tags: "help-manual settings add-site" published: true --- [DigitalGov Search](/index.html) > [Admin Center](https://search.usa.gov/sites/) > Add Site ## Homepage URL Tell us the homepage URL of your website. Enter a fully qualified URL, including http://, http://www, etc. **Correct Syntax** * http://www.whitehouse.gov * http://louisiana.gov * http://www.usa.gov/gobiernousa/ * http://nimh.nih.gov/ * http://www.ci.bloomington.mn.us/ **Incorrect Syntax** * usa.gov (use http://www.usa.gov) * www.nasa.gov (use http://www.nasa.gov) * http://www.ftc.gov/opa/index.shtml (use the higher-level folder, http://www.ftc.gov/opa) * http://www.gsa.gov/portal/category/100000?utm_source=OCM&utm_medium=print-radio&utm_term=&utm_campaign=shortcuts (use the higher-level domain, http://www.gsa.gov) * http://www.doc.gov (use the domain that resolves, http://www.commerce.gov) We use this homepage URL to: 1. Populate your primary [domain](/manual/domains.html). 1. Scan for any social media accounts ([Flickr](/manual/flickr.html), [Instagram](/manual/instagram.html), [Twitter](/manual/twitter.html), and [YouTube](/manual/youtube.html)), your favicon to use on your search results browser tab, and [RSS feeds](/manual/rss.html) that are linked from your homepage, or another page you specify on the Display Overview page. 1. Link the default [logo](/manual/brand.html) on your results page to your homepage. ## Display Name <a href="http://f22818b4dfc10241d8a3-f1564c64756a8cfee25b6b19953b1d23.r31.cf2.rackcdn.com/DisplayName_SiteHandle_800.png"><img style="float: right;" src="http://f22818b4dfc10241d8a3-f1564c64756a8cfee25b6b19953b1d23.r31.cf2.rackcdn.com/DisplayName_SiteHandle_175.png" alt="Display Name and Site Handle on NIH.gov's search results page"></a>Tell us the name of your website. Searchers see your site name on the results page, such as in your page title or best bets. We recommend using the plain language name for your agency or site, such as National Institutes of Health. ## Site Handle We use your site handle in the HTTP request to specify displaying your customized settings. We recommend making this handle short and unique, such as nih. Handles can have lowercase letters, numbers, periods, hyphens, and underscores only. They can't have spaces and other punctuation. ## Site Language (Required) Choose a language for your site, English, Spanish, or another [supported language](/manual/supported-languages.html). If you select English, results will primarily include English language pages. All display text on the results page will also be in English. If you select Spanish, results will primarily include Spanish language pages. All display text on the results page will also be in Spanish. (Localizations are provided by GSA's [GobiernoUSA.gov](http://www.usa.gov/gobiernousa/) team.) If you select one of the other [66 languages](/manual/supported-languages.html), results will primarily include pages from the selected language when possible. Display text will be in the selected language when localizations are available, and in English when they're not available. We've published the [localization files](https://github.com/GSA/punchcard/tree/master/localizations) on Github, and we encourage you to [contribute](https://github.com/GSA/punchcard/blob/master/CONTRIBUTING.md) to them. --- ***Troubleshooting Tip:*** For non-English sites, some agencies opt to include the specific location of the language's content (such as agency.gov/language or language.agency.gov) in their [Domains](/manual/domains.html) to further refine the search results. Test the results for your non-English site with both the general agency.gov and the language-specific location to determine which setting gives you the best results. ***Troubleshooting Tip:*** Once you've added your site, you can edit your display name on the [Settings](/manual/settings.html) page. If you later need to edit your site handle or language, email us at <search@support.digitalgov.gov>.
dawnpm/search.digitalgov.gov
_posts/2015-09-17-add-site.md
Markdown
cc0-1.0
4,089
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <title>reveal.js</title> <link rel="stylesheet" href="reveal.js-3.3.0/css/reveal.css"> <link rel="stylesheet" href="reveal.js-3.3.0/css/theme/black.css"> <link rel="stylesheet" href="assets/stylesheets/samjewell-override.css"> <!-- Theme used for syntax highlighting of code --> <link rel="stylesheet" href="reveal.js-3.3.0/lib/css/zenburn.css"> <!-- Printing and PDF exports --> <script> var link = document.createElement( 'link' ); link.rel = 'stylesheet'; link.type = 'text/css'; link.href = window.location.search.match( /print-pdf/gi ) ? 'reveal.js-3.3.0/css/print/pdf.css' : 'reveal.js-3.3.0/css/print/paper.css'; document.getElementsByTagName( 'head' )[0].appendChild( link ); </script> </head> <body> <div class="reveal"> <div class="slides"> <section> <h1>An interface<br>for the blind</h1> <p>Sam Jewell</p> <p>Gateway 2 - RCA IDE final project, Feb 2011</p> </section> <section> <img class="stretch" src="assets/images/google-maps-pinch-scroll.gif"> <p>Interaction is increasingly visual</p> </section> </div> </div> <script src="reveal.js-3.3.0/lib/js/head.min.js"></script> <script src="reveal.js-3.3.0/js/reveal.js"></script> <script> // More info https://github.com/hakimel/reveal.js#configuration Reveal.initialize({ history: true, // More info https://github.com/hakimel/reveal.js#dependencies dependencies: [ { src: 'reveal.js-3.3.0/plugin/markdown/marked.js' }, { src: 'reveal.js-3.3.0/plugin/markdown/markdown.js' }, { src: 'reveal.js-3.3.0/plugin/notes/notes.js', async: true }, { src: 'reveal.js-3.3.0/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } } ] }); </script> </body> </html>
samjewell/samjewell.github.io
reveal-js.html
HTML
cc0-1.0
1,972
jsonp({"cep":"41321555","logradouro":"Rua Medeiros","bairro":"Castelo Branco","cidade":"Salvador","uf":"BA","estado":"Bahia"});
lfreneda/cepdb
api/v1/41321555.jsonp.js
JavaScript
cc0-1.0
128
jsonp({"cep":"35501146","logradouro":"Rua Mios\u00f3tis","bairro":"Quinta das Palmeiras","cidade":"Divin\u00f3polis","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/35501146.jsonp.js
JavaScript
cc0-1.0
154
jsonp({"cep":"53220780","logradouro":"Rua do Triunfo","bairro":"Peixinhos","cidade":"Olinda","uf":"PE","estado":"Pernambuco"});
lfreneda/cepdb
api/v1/53220780.jsonp.js
JavaScript
cc0-1.0
128
jsonp({"cep":"41214700","logradouro":"Travessa H\u00e9lio Cardins","bairro":"Sussuarana","cidade":"Salvador","uf":"BA","estado":"Bahia"});
lfreneda/cepdb
api/v1/41214700.jsonp.js
JavaScript
cc0-1.0
139
jsonp({"cep":"29101010","logradouro":"Avenida Ant\u00f4nio Gil Veloso","bairro":"Praia da Costa","cidade":"Vila Velha","uf":"ES","estado":"Esp\u00edrito Santo"});
lfreneda/cepdb
api/v1/29101010.jsonp.js
JavaScript
cc0-1.0
163