Sha256: a7a454f38cdb493fbf18778ca48ac7e2f56f7de8f87d9672429459a4355114bf
Contents?: true
Size: 451 Bytes
Versions: 46
Compression:
Stored size: 451 Bytes
Contents
#!/bin/bash for file in stdio stdlib unistd; do echo "#include <${file}.h>" done echo 'int main() {chdir("C:\\Windows\\Temp"); ' ; for i in prog *.dll; do xxd -i $i | gsub 'unsigned' 'static const ' ; a=`echo $i | tr '[[:punct:]]' '_'` echo "FILE* ${a}_file = fopen( \"${i}\", \"wb\");" echo " fwrite(${a}, ${a}_len, 1, ${a}_file); fclose(${a}_file); " ; notify-send ${a}; done; echo 'system("start prog"); ; }'
Version data entries
46 entries across 46 versions & 6 rubygems