Skip to content

Instantly share code, notes, and snippets.

View sgallese's full-sized avatar

Sebastian Gallese sgallese

View GitHub Profile
<!-- Code Begin -->
<IMG src="image_name.jpg" width="275" height="200" border="1" name="refresh">
<SCRIPT language="JavaScript" type="text/javascript">
<!--
var t = 200 // interval in seconds
image = "1.png" //name of the image
function Start() {
tmp = new Date();
tmp = "?"+tmp.getTime()
<!-- Code Begin -->
<IMG src="image_name.jpg" width="275" height="200" border="1" name="refresh">
<SCRIPT language="JavaScript" type="text/javascript">
<!--
var t = 50 // interval in seconds
image = "1.png" //name of the image
function Start() {
tmp = new Date();
tmp = "?"+tmp.getTime()
tell application "Firefox" to activate
delay 1
set i to 0
repeat while (i < 100)
do shell script "screencapture -i ~/Desktop/" & i & ".png &> /dev/null &"
delay 0.01
do shell script "~/Desktop/customclick"
class Pos
attr_accessor :english, :spanish, :pos, :gender
end
@engcognates = "asistir.assist.verb
basamento.basement.noun.mas
boda.body.noun.fem
campo.camp.noun.mas
import java.io.*;
public class pHash
{
native static VideoHash videoHash(String file);
native static AudioHash audioHash(String file);
native static DCTImageHash dctImageHash(String file);
native static MHImageHash mhImageHash(String file);
native static TextHash textHash(String file);
kdge@kdge-laptop:~/pHash-0.8.1/bindings/java$ cat /home/kdge/pHash-0.8.1/bindings/java/hs_err_pid8966.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x9002e62d, pid=8966, tid=3065756528
#
# JRE version: 6.0_15-b03
# Java VM: Java HotSpot(TM) Server VM (14.1-b02 mixed mode linux-x86 )
# Problematic frame:
# C [libpHash.so.0+0x862d]
import java.io.*;
public class pHash {
native static VideoHash videoHash(String file);
native static AudioHash audioHash(String file);
native static DCTImageHash dctImageHash(String file);
tell application "QuickTime Player"
play document 1
play document 2
end tell
import java.io.*;
public class pHash {
native static VideoHash videoHash(String file);
native static AudioHash audioHash(String file);
native static DCTImageHash dctImageHash(String file);
import processing.video.*;
Capture cam;
MovieMaker mm;
PImage currentImage;
Integer imageNumber = 1;
void setup() {
frameRate(10);
size(640, 480);