Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block dumblob

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dumblob / gist:27b83bc26186a8f4c9b9
Created Jan 26, 2015
DaoSDL undefined references to dao internal symbols
View gist:27b83bc26186a8f4c9b9
make[3]: Entering directory '/home/test/src/dao/modules/DaoSDL'
cc -ggdb -O0 -DDEBUG -DDAO_WITH_NUMARRAY -DDAO_WITH_DECORATOR -DDAO_WITH_THREAD -DDAO_WITH_CONCURRENT -DTARGET_PLAT=\"linux\" -DLINUX=2 -DUNIX=1 -DDAO_WITH_NUMARRAY -DDAO_WITH_DECORATOR -DDAO_WITH_THREAD -DDAO_WITH_CONCURRENT -DTARGET_PLAT=\"linux\" -DLINUX=2 -DUNIX=1 -I../../kernel/ -I../../kernel/ -I../auxlib/ -I. -I../../kernel/ -I../../ -fPIC -fPIC -c wrap/dao_sdl.c -o DaoMake.Objs/dao_sdl.c.A082.o
wrap/dao_sdl.c: In function ‘dao__SDL_RWFromFP’:
wrap/dao_sdl.c:1782:51: warning: passing argument 1 of ‘SDL_RWFromFP’ from incompatible pointer type
struct SDL_RWops* _SDL_RWFromFP = SDL_RWFromFP( fp, autoclose );
In file included from /usr/include/SDL2/SDL_audio.h:36:0,
from /usr/include/SDL2/SDL.h:71,
from wrap/dao_sdl.h:18,
from wrap/dao_sdl.c:1:
dumblob / gist:172871b9a4daa6a4e5af
Created Nov 12, 2014
View gist:172871b9a4daa6a4e5af
cd ./tools/daomake/bootstrap && make linux
make[1]: Entering directory '/home/test/dao/tools/daomake/bootstrap'
make[2]: Entering directory '/home/test/dao/tools/daomake/bootstrap'
cc -c -O0 -DUNIX -DLINUX -fPIC -DDAO_WITH_REGEX -I../../../kernel ../../../kernel/daoConst.c -o daoConst.o
cc -c -O0 -DUNIX -DLINUX -fPIC -DDAO_WITH_REGEX -I../../../kernel ../../../kernel/daoVmcode.c -o daoVmcode.o
cc -c -O0 -DUNIX -DLINUX -fPIC -DDAO_WITH_REGEX -I../../../kernel ../../../kernel/daoString.c -o daoString.o
cc -c -O0 -DUNIX -DLINUX -fPIC -DDAO_WITH_REGEX -I../../../kernel ../../../kernel/daoList.c -o daoList.o
cc -c -O0 -DUNIX -DLINUX -fPIC -DDAO_WITH_REGEX -I../../../kernel ../../../kernel/daoMap.c -o daoMap.o
cc -c -O0 -DUNIX -DLINUX -fPIC -DDAO_WITH_REGEX -I../../../kernel ../../../kernel/daoValue.c -o daoValue.o
View config.dao
#!/usr/bin/env dao
load time
load os.fs
namespace configuration { conf, partners, curdir, check_path }
invar curdir = fs.dir('.').path
type Partner = tuple<name:string, img:string, uri:string>
View gist:23ab0ca74e0116a3faa0
0$ cd /tmp
0$ mkdir -p some/existing/dir/
0$ git clone --depth 1
Cloning into 'dao'...
remote: Counting objects: 292, done.
remote: Compressing objects: 100% (263/263), done.
remote: Total 292 (delta 45), reused 99 (delta 24)
Receiving objects: 100% (292/292), 887.66 KiB | 447.00 KiB/s, done.
Resolving deltas: 100% (45/45), done.
Checking connectivity... done.
dumblob / git-tools.kak
Created Mar 25, 2014
git-tools.kak - POSIX compliant rewrite [NOT tested!]
View git-tools.kak
decl str docsclient
hook global WinSetOption filetype=git-log %{
addhl group git-log-highlight
addhl -group git-log-highlight regex '^(commit) ([0-9a-f]+)$' 1:yellow 2:red
addhl -group git-log-highlight regex '^([a-zA-Z_-]+:) (.*?)$' 1:green 2:magenta
hook global WinSetOption filetype=(?!git-log).* %{
rmhl git-log-highlight
dumblob / gist:8080716
Created Dec 22, 2013
daokoder/dao: Issue 115: Bug: daomake throws SIGSEGV debugging output
View gist:8080716
master *% 0$ make -f Makefile.daomake linux DEBUG=-ggdb
cd ./tools/daomake/bootstrap && make linux
make[1]: Entering directory '/home/honza/src/pkgbuild/dao-lang-git/src/dao/tools/daomake/bootstrap'
make DEBUG=-ggdb SYSCFLAGS="-DUNIX -fPIC" SYSLIBS="-lm -ldl"
make[2]: Entering directory '/home/honza/src/pkgbuild/dao-lang-git/src/dao/tools/daomake/bootstrap'
cc -c -ggdb -O0 -DUNIX -fPIC -DDAO_WITH_REGEX -I../../../kernel ../../../kernel/daoProcess.c -o daoProcess.o
../../../kernel/daoProcess.c: In function ‘DaoProcess_Execute’:
../../../kernel/daoProcess.c:989:2: warning: #warning "==========================================" [-Wcpp]
#warning "=========================================="
You can’t perform that action at this time.