This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.onlyangel.sclbits.rosh.activities.veiculos; | |
| import android.app.ListActivity; | |
| import android.content.Intent; | |
| import android.content.SharedPreferences; | |
| import android.database.Cursor; | |
| import android.os.Bundle; | |
| import android.view.ContextMenu; | |
| import android.view.ContextMenu.ContextMenuInfo; | |
| import android.view.Menu; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.onlyangel.libs; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.net.MalformedURLException; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import org.apache.http.HttpResponse; | |
| import org.apache.http.client.methods.HttpGet; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| ) | |
| type Hello struct{} | |
| func (h Hello) ServeHTTP( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [INFO] logfile = /Users/onlyangel/Dropbox/proyectos/repositorios/Arqui/Aqrui/build.log | |
| [DEBUG] /Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/builder.py install Aqrui /SDKs/android-sdk /Users/onlyangel/Dropbox/proyectos/repositorios/Arqui/Aqrui com.onlyangel.lds.arqui 2 | |
| [DEBUG] detected module analytics, path = /Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/modules/titanium-analytics.jar | |
| [DEBUG] detected module android, path = /Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/modules/titanium-android.jar | |
| [DEBUG] adding required library: jaxen-1.1.1.jar | |
| [DEBUG] adding required library: ti-commons-codec-1.3.jar | |
| [DEBUG] adding required library: kroll-common.jar | |
| [DEBUG] adding required library: titanium.jar | |
| [DEBUG] detected module app, path = /Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/modules/titanium-app.jar | |
| [DEBUG] detected module ui, path = /Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/modules/tita |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void main() { | |
| final mapOptions = new MapOptions() | |
| ..zoom = 15 | |
| ..center = new LatLng(19.44059, -99.17000) | |
| ..mapTypeId = MapTypeId.ROADMAP; | |
| final map = new GMap(query("#map-canvas"), mapOptions); | |
| var circleOptions = new CircleOptions() | |
| ..strokeColor = "#006600" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install mysql-server mysql-client apache2 php5 libapache2-mod-php5 php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $fields = "XML=" . urlencode($xmlString); | |
| // in this example, POST request was made using PHP's CURL | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $postUrl); | |
| curl_setopt($ch, CURLOPT_POST, 1); | |
| curl_setopt($ch, CURLOPT_POSTFIELDS, $fields); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
| $response = curl_exec($ch); | |
| curl_close($ch); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:html'; | |
| void main() { | |
| querySelectorAll("input:not([value]),input[value='']").forEach((Element e)=>e.classes.add("empty")); | |
| querySelectorAll("input").forEach((InputElement e){ | |
| e | |
| ..onInput.listen((ev)=>changeClasss(e)) | |
| ..onKeyUp.listen((ev)=>changeClasss(e)); | |
| }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # AppScale | |
| # | |
| # VERSION 0.0.1 | |
| # Based on the file of Chris Bunch <[email protected]> @ http://www.appscale.com/blog/2013/10/30/appscale-on-docker/ | |
| FROM ubuntu | |
| MAINTAINER Jose Angel Espinoza Portillo <[email protected] | |
| # First, update the apt-get | |
| RUN apt-get update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var domain = ""; | |
| //var domain = "http://secure.tok3n.com"; | |
| /* | |
| Tok3n Core | |
| */ | |
| //Get a session/transaction ID for this atempt of ussage of the API. Very important for security reasons. | |
| function getSessionId(publicKey,userKey){ |