This file contains 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> | |
int main(void) { | |
printf("Hello world\n"); | |
} |
This file contains 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
static char* ReadDelim(FILE* fp, char delim) { | |
char c; | |
int i = 0; | |
fgetc(fp); | |
long int pos = ftell(fp); | |
while((c = fgetc(fp))) { | |
ungetc(c, fp); |
This file contains 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
Program received signal SIGSEGV, Segmentation fault. | |
0x00dd00e7 in ?? () | |
(gdb) bt | |
#0 0x00dd00e7 in ?? () | |
#1 0x00000000 in ?? () |
This file contains 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
$ rock main.ooc | |
rock_tmp/sdk/lang/types.c: In function ‘lang_types__Pointer_toString’: | |
rock_tmp/sdk/lang/types.c:215: warning: initialization from incompatible pointer type | |
rock_tmp/sdk/lang/types.c: In function ‘lang_types____OP_IDX_Cell_Class__T’: | |
rock_tmp/sdk/lang/types.c:412: warning: initialization from incompatible pointer type | |
rock_tmp/sdk/lang/IO.c: In function ‘lang_IO__println’: | |
rock_tmp/sdk/lang/IO.c:162: warning: format not a string literal and no format arguments | |
rock_tmp/sdk/lang/Numbers.c: In function ‘lang_Numbers__LLong_toString’: | |
rock_tmp/sdk/lang/Numbers.c:27: warning: initialization from incompatible pointer type | |
rock_tmp/sdk/lang/Numbers.c: In function ‘lang_Numbers__LLong_toHexString’: |
This file contains 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
/Desktop$ git clone git@github.com:boredomist/rbdraw.git | |
Initialized empty Git repository in /home/erik/Desktop/rbdraw/.git/ | |
remote: Counting objects: 152, done. | |
remote: Compressing objects: 100% (145/145), done. | |
remote: Total 152 (delta 62), reused 0 (delta 0) | |
Receiving objects: 100% (152/152), 65.98 KiB, done. | |
Resolving deltas: 100% (62/62), done. | |
~/Desktop$ cd rbdraw/ | |
~/Desktop/rbdraw$ rake make build | |
(in /home/erik/Desktop/rbdraw) |
This file contains 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
/** | |
* window.c | |
* | |
* by YOSHIDA Kazuhiro (moriq.kazuhiro@nifty.ne.jp) | |
*/ | |
#include "ruby.h" | |
#include "init.h" | |
#include <locale.h> |
This file contains 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
~/Desktop/lixp$ git pull | |
remote: Counting objects: 385, done. | |
remote: Compressing objects: 100% (367/367), done. | |
remote: Total 372 (delta 243), reused 0 (delta 0) | |
Receiving objects: 100% (372/372), 772.02 KiB | 625 KiB/s, done. | |
Resolving deltas: 100% (243/243), completed with 9 local objects. | |
From http://github.com/programble/lixp | |
195eba8..a3d4b02 master -> origin/master | |
From http://github.com/programble/lixp | |
* [new tag] v0.0.1 -> v0.0.1 |
This file contains 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
~/Programming/d/ruse$ ./ruse | |
> add | |
#<core fn 8049D10> | |
> (add 1) | |
1 | |
> (add 1 2) | |
3 | |
> (add 1 2 3) | |
6 |
This file contains 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
~/Programming/d/ruse$ ./ruse | |
> (:abc "abc" abc \a 1) | |
(:abc "abc" abc \a 1) |
This file contains 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
~/Programming/c/bijou$ valgrind ./bijouc sample/test.s | |
==25401== Memcheck, a memory error detector | |
==25401== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. | |
==25401== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info | |
==25401== Command: ./bijouc sample/test.s | |
==25401== | |
==25401== Conditional jump or move depends on uninitialised value(s) | |
==25401== at 0x80538A3: GC_push_all_eager (mark.c:1493) | |
==25401== by 0x80551F7: GC_push_current_stack (mark_rts.c:479) | |
==25401== by 0x805843D: GC_with_callee_saves_pushed (mach_dep.c:225) |