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 setup(){ | |
pinMode(13, OUTPUT); | |
} | |
void loop(){ | |
digitalWrite(13, HIGH); | |
delay(1000); | |
digitalWrite(13, LOW); | |
delay(1000); | |
} |
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
#define LED 13 | |
#define BUTTON 7 | |
int val; | |
void setup(){ | |
pinMode(LED, OUTPUT); | |
pinMode(BUTTON, INPUT); | |
} |
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
#define LED 13 | |
#define BUTTON 7 | |
int val; | |
int old_val; | |
int light; | |
void setup(){ | |
pinMode(LED, OUTPUT); | |
pinMode(BUTTON, INPUT); |
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
Traceback (most recent call last): | |
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 701, in __call__ | |
handler.get(*groups) | |
File "/base/data/home/apps/s~follow-quiz/1.354792608905780482/easy_auth/auth.py", line 93, in get | |
access_token = auth.get_access_token(request_verifier) | |
File "/base/data/home/apps/s~follow-quiz/1.354792608905780482/tweepy/auth.py", line 126, in get_access_token | |
raise TweepError(e) | |
TweepError: HTTP Error 401: Unauthorized |
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/sh | |
# /etc/init.d/tiarra | |
NAME=tiarra | |
USER=aereal | |
PROG=/usr/local/src/tiarra/tiarra | |
PIDFILE=/var/run/$NAME.pid | |
start() { | |
echo -n "Starting: $NAME" |
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="ja"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>mind-catch</title> | |
<script type="text/javascript" src="./jquery-1.7.min.js"></script> | |
<script type="text/javascript"> | |
var canvas; | |
var context; | |
var socket; |
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
BTFSS WHICH,1 | |
CALL T_RIGHT | |
BTFSC WHICH,1 | |
CALL T_LEFT | |
CALL DELAY | |
RETURN |
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
/Applications/Arduino_1.0_rc2.app/Contents/Resources/Java/hardware/arduino/bootloaders/diskloader% sudo dfu-programmer atmega32u4 flash DiskLoader-Leonardo.hex | |
Bootloader and code overlap. | |
Use --suppress-bootloader-mem to ignore |
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<stdio.h> | |
main(){ | |
unsigned long long a[3]={0L,1L,1L},b,c=0; | |
printf("%d\n%d\n",a[1],a[2]); | |
for(b=0;b-98;b++){ | |
c=0; | |
a[b%3]=a[(b+1)%3]+a[(b+2)%3]; | |
if(!(a[b%3]%3))printf("Fizz"),c=1; | |
if(!(a[b%3]%5))printf("Buzz"),c=1; | |
if(!c)printf("%lld",a[b%3]); |
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 | |
# | |
# supervisord This scripts turns supervisord on | |
# | |
# chkconfig: 2345 95 04 | |
# | |
# description: supervisor is a process control utility. It has a web based | |
# xmlrpc interface as well as a few other nifty features. | |
# processname: supervisord | |
# config: /etc/supervisord.conf |