Timeline: DHTML-based AJAXy widget for visualizing time-based events
Très cool. Src here: http://simile.mit.edu/timeline/api/timeline-api.js.Categorised as: shoutout
Categorised as: shoutout
CFLAGS_GTK = `pkg-config --cflags gtk+-2.0` LIBS_GTK = `pkg-config --libs gtk+-2.0` gcb-test: main.o $(CC) $(COMPILER_FLAGS) -o gcb-test main.o $(LIBS_GTK) main.o: main.c $(CC) $(COMPILER_FLAGS) -c main.c -o main.o $(CFLAGS_GTK)
Categorised as: snippet
rc =sqlite3_prepare( Db, qry_getnewid, -1, &stmt;, NULL); if( SQLITE_OK !=rc) diediedie( "..."); rc =sqlite3_step( stmt); if( SQLITE_ROW !=rc) { sqlite3_finalize( stmt); diediedie( "..."); } ... a->id =sqlite3_column_int( stmt, 0); ... sqlite3_finalize( stmt);
Categorised as: snippet
rc =sqlite3_open(DB_FILENAME, &Db;); if( rc) diediedie( "..."); rc =sqlite3_exec( Db, tbldef_accounts, NULL, 0, &zErrMsg;); if( SQLITE_OK !=rc) diediedie( zErrMsg); ... sqlite3_close( Db);
Categorised as: snippet