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
<?php | |
namespace com\indigloo\core { | |
use \com\indigloo\Configuration as Config; | |
use \com\indigloo\mysql\PDOWrapper; | |
use \com\indigloo\Logger as Logger; | |
/* | |
* custom session handler to store PHP session data into mysql DB |
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
server { | |
listen 80; | |
# default catch-all domain | |
server_name _ ; | |
error_page 503 @503 ; | |
#return 503 ; | |
root /var/www/htdocs/ ; |
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
namespace com\indigloo\mail { | |
use com\indigloo\Util as Util ; | |
use com\indigloo\Configuration as Config ; | |
use com\indigloo\Logger as Logger ; | |
/** | |
* class to wrap sendgrid-php web API. | |
* sendgrid-php web API uses curl to communicate to sendgrid endpoint. | |
* |
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
webgloo.imagep = new Image(); | |
webgloo.imagep.onload = function() { | |
if(webgloo.sc.ImageSelector.debug){ | |
console.log(this.src + " : " + this.width + "x" + this.height); | |
} | |
if((this.width >= 300) && (this.height >= 300 )) { | |
webgloo.sc.ImageSelector.addImage(this.src); | |
} |
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
/* | |
-------------------------------- | |
Infinite Scroll | |
-------------------------------- | |
+ https://github.com/paulirish/infinite-scroll | |
+ version 2.0b2.120519 | |
+ Copyright 2011/12 Paul Irish & Luke Shumard | |
+ Licensed under the MIT license | |
+ Documentation: http://infinite-scroll.com/ |
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
package test ; | |
/* educational purpose Binary search tree */ | |
/* @author http://github.com/rjha */ | |
public class bst { | |
private Node root ; |
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
BIN=C:/arduino-1.0.5-r2/hardware/tools/avr/bin | |
TOOLS=C:/arduino-1.0.5-r2/hardware/tools/avr/bin | |
LIB=d:/rajeev/code/bitbucket/dl/lib | |
INC=d:/rajeev/code/bitbucket/dl/include | |
ROOT=d:/rajeev/code/bitbucket/dl | |
PROG=aout | |
MCU=atmega2560 | |
ASRC=d:/rajeev/code/bitbucket/dl/lib/arduino | |
CPU_SPEED=16000000L |
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
wiznet: spi2 | |
$(BIN)/avr-g++ $(CFLAGS) -I$(LIB)/arduino/SPI -I$(INC) -I$(LIB)/arduino/cores -I$(LIB)/arduino/variants/mega -I$(LIB)/wiznet $(LIB)/wiznet/w5100.cpp -o $(BUILD)/w5500.o -L$(BUILD) | |
$(BIN)/avr-g++ $(CFLAGS) -I$(INC) -I$(LIB)/arduino/cores -I$(LIB)/arduino/variants/mega -I$(LIB)/wiznet $(LIB)/wiznet/socket.cpp -o $(BUILD)/socket.o -L$(BUILD) | |
spi2: | |
$(BIN)/avr-g++ $(CFLAGS) -I$(LIB)/arduino/cores -I$(LIB)/arduino/variants/mega -I$(LIB)/arduino/SPI $(LIB)/arduino/SPI/SPI.cpp -o $(BUILD)/SPI.o -L$(LIB)/arduino/build -larduino | |
ethernet: wiznet | |
$(BIN)/avr-g++ $(CFLAGS) -I$(INC) -I$(LIB)/wiznet -I$(LIB)/arduino/cores -I$(LIB)/arduino/variants/mega -I$(LIB)/arduino/Ethernet $(LIB)/arduino/Ethernet/Dns.cpp -o $(BUILD)/Dns.o -L$(BUILD) -L$(LIB)/arduino/build -larduino |
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
#!/usr/bin/python | |
import json | |
import requests | |
import random | |
import sys | |
import traceback | |
import logging | |
import logging.handlers | |
import yuktix | |
import time |
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
#!/usr/bin/python | |
import time | |
from datetime import datetime | |
from datetime import timedelta | |
import json | |
import requests | |
import random | |
import sys | |
import traceback | |
import logging |
OlderNewer