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
/** | |
* Modifies youtube anchor urls | |
* Uses purl plugin instead of queryparser plugin. | |
* Uses require | |
* If too small, punts and goes to original url (use target to pop). | |
* | |
* @see http://www.joshuawinn.com/opening-youtube-links-dynamically-in-a-twitter-bootstrap-modal-window/ | |
*/ | |
define(['require', |
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 ledlogic.com.utility; | |
import java.util.Date; | |
import org.apache.log4j.Logger; | |
import org.junit.Test; | |
public class MsTest { | |
private static final Logger LOG = Logger.getLogger(MsTest.class); | |
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
/* | |
This program demonstrates the dGPS library from Dexter Industries for Arduino | |
For use with the Dexter Industries GPS Shield. The dGPS can be found here: | |
- http://dexterindustries.com/Arduino-GPS_Shield.html | |
This code was originally based on the work of others. You can see the original work here: | |
- SoftwareSerial Library: http://www.arduino.cc/en/Reference/SoftwareSerial | |
- GPS Tutorial: http://www.arduino.cc/playground/Tutorials/GPS | |
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
public class FromStringBuilder { | |
/** | |
* Parses a string formatted with toStringBuilder | |
* | |
* @param input - ex. "Path[id=1039916,displayName=School Home,description=<null>,...]" | |
* @return hashmap of name value pairs - ex. id=1039916,... | |
*/ | |
public static Map<String, String> stringToMap(String input) { | |
LinkedHashMap<String, String> ret = new LinkedHashMap<String, String>(); |
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
#include "SoftwareSerial.h" | |
#include "dGPS.h" | |
#include "SPI.h" | |
#include "SD.h" | |
#include "stdlib.h" | |
// SD card | |
const int CS_pin = 10; | |
dGPS dgps = dGPS(); // Construct dGPS class |
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 com.***.catalog.url | |
import org.apache.http.client.HttpClient; | |
import static groovyx.net.http.ContentType.* | |
import static groovyx.net.http.Method.* | |
import groovyx.net.http.* | |
import org.apache.http.Header | |
import org.apache.http.HttpResponse; |
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
#include <OneWire.h> | |
#include <DallasTemperature.h> | |
#include <LiquidCrystal.h> | |
// Data wire is plugged into pin 1 on the Arduino | |
#define ONE_WIRE_BUS 1 | |
// Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs) | |
OneWire oneWire(ONE_WIRE_BUS); |
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
#include <LiquidCrystal.h> | |
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); // select the pins used on the LCD panel | |
int bluePin = 11; | |
int greenPin = 12; | |
int redPin = 13; | |
void setup() | |
{ |
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
/************************************************************************************* | |
Dieroller | |
Uses the library TrueRandom from https://code.google.com/p/tinkerit/wiki/TrueRandom | |
(c) 2015 Jeff D. Conrad | |
**************************************************************************************/ | |
#include <LiquidCrystal.h> |
OlderNewer