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 <EEPROM.h> | |
int LDR_Pin = A6; //analog pin 0 | |
int PWM_Pin = 4; | |
void setup(){ | |
//Serial.begin(9600); | |
pinMode(PWM_Pin, OUTPUT); | |
//EEPROM.write(0, 250); | |
//EEPROM.write(1, 15); | |
} |
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 <DigiKeyboard.h> | |
//#include <usb_names.h> | |
//#define MANUFACTURER_NAME {'F','o','o','B','a','r'} | |
//#define MANUFACTURER_NAME_LEN 6 | |
//#define PRODUCT_NAME {'M','e','g','a','M','I','D','I'} | |
//#define PRODUCT_NAME_LEN 8 | |
int led = 1; |
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
42.32349659,-83.79176609 |
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
int photo_pin = 1; | |
int light_pin = 10; | |
int light_hist[50] = {}; | |
int loop_count = 0; | |
void setup() { | |
pinMode(light_pin, OUTPUT); | |
} | |
void loop() { |
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 _0xb912=["\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5F\x2D\x2D\x22\x2D\x2E","\x6C\x6F\x67","\x20\x20\x20\x20\x20\x20\x2E\x2D\x22\x20\x6A\x61\x73\x6F\x6E\x22\x2D\x2E","\x20\x20\x20\x20\x20\x7C\x22\x22\x2D\x2D\x2E\x2E\x20\x68\x65\x6A\x6E\x61\x27\x2D\x2E","\x20\x20\x20\x20\x20\x7C\x20\x20\x20\x20\x20\x20\x22\x22\x2D\x2D\x2E\x2E\x20\x20\x20\x27\x2D\x2E","\x20\x20\x20\x20\x20\x7C\x2E\x2D\x2E\x20\x2E\x2D\x22\x2E\x20\x20\x20\x20\x22\x22\x2D\x2D\x2E\x2E\x22\x2E","\x20\x20\x20\x20\x20\x7C\x27\x2E\x2F\x20\x20\x2D\x5F\x27\x20\x20\x2E\x2D\x2E\x20\x20\x20\x20\x20\x20\x7C","\x20\x20\x20\x20\x20\x7C\x20\x20\x20\x20\x20\x20\x2E\x2D\x2E\x20\x27\x2E\x2D\x27\x20\x20\x20\x2E\x2D\x27","\x20\x20\x20\x20\x20\x27\x2D\x2D\x2E\x2E\x20\x20\x27\x2E\x27\x20\x20\x20\x20\x2E\x2D\x20\x20\x2D\x2E","\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22\x22\x2D\x2D\x2E\x2E\x20\x20\x20\x27\x5F\x27\x20\x20\x20\x3A","\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22\x22\x2D\x2D\x2E\x2E\x20\x20\x20\x7C","\x20\x20\x20\x20\x20\x20\x20\x20\ |
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
#! | |
# These are the ffmpeg commands I use to convert a movie into multiple formats, and aspect ratios. | |
# Used as background video for a web app. | |
# The goals is efficient streaming to every device screen size in the browser. | |
# Using video.js formats: MP4, WebM, OGV | |
# | |
# Using myvideo.mp4. Dimensions are 1280px by 720px. | |
# | |
# STOP! Don't use these dimensions! Instead, decide on dimensions that work well with your site, and media queries. |
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 urllib2 | |
from httplib2 import Http | |
from urllib import urlencode | |
import RPi.GPIO as GPIO | |
from time import sleep | |
import os | |
import glob | |
import json | |
os.system('modprobe w1-gpio') |
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 main = { | |
letterArr: null, | |
parse: function (_input) { | |
this.letterArr = _input.toUpperCase().split(''); | |
}, | |
runMyCode: function () { | |
var asciiLetter = null; | |
var inputLetter = null; | |
var j = 0; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>4k website tester</title> | |
<style> | |
iframe:focus { | |
outline: none; | |
} | |
iframe{ |
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 <Stepper.h> | |
#include <Servo.h> | |
// create servo object | |
Servo myservo; | |
// instantiate a variable to store the servo position | |
int pos = 0; |
OlderNewer