This file contains 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
class proceso(object): | |
def __init__(self,id,rafaga,llegada): | |
self.id=id | |
self.rafaga = rafaga | |
self.llegada = llegada | |
self.rafagatmp = rafaga | |
self.espera =0 | |
self.retorno =0 | |
self.finalizacion=0 |
This file contains 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 android.app.ProgressDialog; | |
import android.os.AsyncTask; | |
import android.util.Log; | |
import com.pcflex.android.patrones.ObjObervador; | |
import com.pcflex.android.patrones.ObjObservable; | |
import org.json.JSONObject; | |
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.InputStreamReader; | |
import java.io.OutputStream; |
This file contains 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
from modules.debounce_handler import debounce_handler | |
from modules.fauxmo import * | |
import logging | |
import time | |
import RPi.GPIO as GPIO | |
logging.basicConfig(level=logging.DEBUG) | |
GPIO.setmode(GPIO.BCM) | |
GPIO.setup(17,GPIO.OUT) |
This file contains 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
////////////////////////////////////////// | |
////////////////Peticion get | |
$.ajax({ | |
url: "hptt://url", | |
dataType: "json", | |
data: "byPostID={{$post['data']['id']}}", //"_token=" + $("meta[name='csrf-token']").attr("content") + | |
method: "GET", | |
success: function (result) { | |
//Peticion exitosa se ejecuta alguna accion |
This file contains 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
{ | |
"android_play_store_link": "https://play.google.com/store/apps/details?id=com.viztushar.stickerpack", | |
"sticker_packs": [ | |
{ | |
"identifier": "2", | |
"name": "Taffy Cat 21", | |
"publisher": "Tushar Parmar", | |
"tray_image_file": "https://googlechrome.github.io/samples/picture-element/images/kitten-small.png", | |
"publisher_email":"[email protected]", | |
"publisher_website": "", |