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 send(string regId) | |
| { | |
| var applicationID = "xxxxxxxx"; | |
| var SENDER_ID = "xxxxx"; | |
| var value = txtMsg.Text; | |
| WebRequest tRequest; | |
| tRequest = WebRequest.Create("https://android.googleapis.com/gcm/send"); | |
| tRequest.Method = "post"; |
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
| #!/usr/bin/python | |
| import os | |
| def main(): | |
| print "=======CompileMe Version 1.0=========" | |
| print "Software A la medida...." | |
| print "Javier Jorge Perez Ontiveros --- Juan Carlos Hinojo" | |
| c = raw_input("Dame el nombre del archivo a compilar .c: ") | |
| r = raw_input("Dame el nombre del archivo a generar: ") |
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
| #include <msp430g2231.h> | |
| int main(int argc, char const *argv[]) | |
| { | |
| WDTCTL = WDTPW + WDTHOLD; // Set WDT to stop | |
| P1DIR = 0x01; // Set P2.1 is an output | |
| while(1) | |
| { | |
| if( (P1IN & 0x08) != 0) { | |
| // SWITCH IS OPEN SO TURN OFF LED |
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
| #include <msp430g2231.h> | |
| int main(int argc, char const *argv[]) | |
| { | |
| WDTCTL = WDTPW + WDTHOLD; // Set WDT to stop | |
| P1DIR = 0x01; // Set P2.1 is an output | |
| while(1) | |
| { | |
| if( (P1IN & 0x08) != 0) { | |
| // SWITCH IS OPEN SO TURN OFF LED |
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
| [Fri Jun 28 13:13:10 2013] Disconnecting from workspace jcarlos7121/tryingstill | |
| [Fri Jun 28 13:13:10 2013] Disconnected. | |
| [Fri Jun 28 13:13:10 2013] Connecting to floobits.com:3448 | |
| [Fri Jun 28 13:13:12 2013] Connected! | |
| [Fri Jun 28 13:47:37 2013] Connecting to floobits.com:3448 | |
| [Fri Jun 28 13:47:37 2013] Connected! | |
| [Fri Jun 28 13:47:37 2013] writing NO NAME: {'version': '0.03', 'room_owner': 'jcarlos7121', 'room': 'tryingstill', 'username': 'jcarlos7121', 'platform': 'win32', 'client': 'SublimeText-3', 'secret': 'rhg3blws5f1xkc6f6b8g0ojr9'} | |
| [Fri Jun 28 13:47:37 2013] 1 items in q | |
| [Fri Jun 28 13:47:37 2013] Sublime loaded C:\Users\JuanCarlos\floobits\share\msgs.floobits.log |
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
| <?php | |
| if (is_dir("../SocThumb/".$id)) { | |
| $scaneo =scandir("../SocThumb/".$id); | |
| $imagenes->thumbnail = "SocThumb/".$id."/".$scaneo[2]; | |
| } | |
| if (is_dir("../SocPrincipal/".$id)) { | |
| $scaneo = scandir("../SocPrincipal/".$id); | |
| $imagenes->principal = "SocPrincipal/".$id."/".$scaneo[2]; | |
| } |
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
| #!/bin/bash | |
| # cb-compmgr | |
| # Openbox Pipe Menu for xcompmgr & cairo-compmgr | |
| # Written for CrunchBang Linux <http://crunchbanglinux.org/> | |
| # by Philip Newborough (aka corenominal) <[email protected]> | |
| # ------------- Set xcompmgr command options ----------------------------------- | |
| if [ -f /home/$USER/.config/xcompmgr/xcompmgrrc ]; then | |
| . /home/$USER/.config/xcompmgr/xcompmgrrc |
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
| #--------------------------------------------- | |
| # TINT2 CONFIG FILE | |
| #--------------------------------------------- | |
| # For more information about tint2, see: | |
| # http://code.google.com/p/tint2/wiki/Welcome | |
| # | |
| # For more config file examples, see: | |
| # http://crunchbanglinux.org/forums/topic/3232/my-tint2-config/ | |
| # Background definitions |
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
| #!/usr/bin/conky -d -c | |
| ## .conkyrc configuration | |
| alignment bottom_left | |
| background yes | |
| border_margin 5 | |
| border_width 5 | |
| color0 555555 # | |
| color1 FCAF3E # zolty | |
| color2 2a2a2a # braz | |
| color3 a82553 # rozowy f71f84 |
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
| ORG 0000H | |
| MOV R1, #10001110B | |
| MOV A,R1 | |
| RLC A | |
| MOV R1, A | |
| MOV P1.0, C | |
| MOV A,R1 | |
| RLC A | |
| MOV R1, A | |
| MOV P1.1, C |