Skip to content

Instantly share code, notes, and snippets.

((lambda (append atom) (append '(1 2 3) '(4 5 6)))
(lambda (a b)
(
(lambda (a b loop)
(loop a b loop) )
a b
(lambda (a b loop)
(cond
((null? b) a)
((null? (cdr a)) (cons (car a) b))
import java.io.*;
class MyClass {
public static void main(String[] args) throws Exception {
File f=new File("my-file.tsv");
PrintStream stream=new PrintStream(f);
stream.println("...");
//OR the concise version:
1
1,1
1,2,1
1,3,3,1
1,4,6,4,1
1,5,10,10,5,1
# ./configure --disable-doc --disable-ffplay --disable-ffprobe --disable-ffserver --disable-pthreads --disable-w32threads --disable-os2threads --disable-network --enable-libfaac --enable-libmp3lame --enable-libx264 --prefix=/Users/maz/Documents/Projects/JavaScriptVideo/ffmpeg-1.0/../prefix --disable-runtime-cpudetect --enable-gpl --enable-nonfree
ALL_COMPONENTS='
aac_adtstoasc_bsf
chomp_bsf
dump_extradata_bsf
h264_mp4toannexb_bsf
imx_dump_header_bsf
mjpeg2jpeg_bsf
mjpega_dump_header_bsf
mp3_header_compress_bsf
@maz
maz / temperature.c
Created August 21, 2012 02:13
Temperature Digits Arduino
void loop(){
int digit_0;//tenths
int digit_1;//ones
int digit_2;//tens
int digit_3;//hundreds
//assuming you've got the same getTemp() setup as in the bildr tutorial
float temp=getTemp();
temp*=1.8;
temp+=32;
//NumberParser.h
@interface NumberParser : NSObject
{
char *str;
}
-(void)addDigit:(char)ch;
-(double)doubleValue;
@end
In file included from ../src/algorithm.cpp:10:
In file included from ../include/algorithm:589:
../include/__config:95:9: error: unknown type name '__char16_t'
typedef __char16_t char16_t;
^
../include/__config:96:9: error: unknown type name '__char32_t'
typedef __char32_t char32_t;
^
In file included from ../src/algorithm.cpp:10:
In file included from ../include/algorithm:591:
In file included from ../src/algorithm.cpp:10:
In file included from ../include/algorithm:589:
../include/__config:95:9: error: unknown type name '__char16_t'
typedef __char16_t char16_t;
^
../include/__config:96:9: error: unknown type name '__char32_t'
typedef __char32_t char32_t;
^
In file included from ../src/algorithm.cpp:10:
In file included from ../include/algorithm:591:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building ANTLR Master build control POM
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: Oct 02, 2010 14:16:15 at timestamp: 1286043375018
[INFO] Executing: /bin/sh -c cd /Users/marc/Documents/Projects/JSJava/antlr && svn --non-interactive info
[INFO] Working directory: /Users/marc/Documents/Projects/JSJava/antlr
[INFO] Storing buildScmBranch: UNKNOWN_BRANCH
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.antlr
ArtifactId: antlr-master
Version: 3.2.1-SNAPSHOT