Skip to content

Instantly share code, notes, and snippets.

static int
execute_pipeline (command, asynchronous, pipe_in, pipe_out, fds_to_close)
COMMAND *command;
int asynchronous, pipe_in, pipe_out;
struct fd_bitmap *fds_to_close;
{
int prev, fildes[2], new_bitmap_size, dummyfd, ignore_return, exec_result;
int lstdin, lastpipe_flag, lastpipe_jid;
COMMAND *cmd;
struct fd_bitmap *fd_bitmap;
@Ludo6431
Ludo6431 / decoder.py
Created December 4, 2011 22:29
KORG Monotribe AFSK firmware decoder
# -*- coding: utf-8 -*-
# KORG monotribe firmware decoder by:
# Ludovic Lacoste (aka Ludo6431) -- http://ludolacoste.com
#
# thanks to :
# Th0mas @ http://gravitronic.blogspot.com/2011/12/decoding-korg-monotribe-firmware.html
# nitro2k01 @ http://blog.gg8.se/wordpress/2011/12/04/korg-monotribe-firmware-20-analysis/
# decoder.py <input ascii bits file> <output file prefix>
JSON.stringify(window.plugin.playerTracker.stored)
"{"20a0e93a6bb34253a276c1f03e5b91f9.c":{"nick":"ludolacoste","team":"RESISTANCE","events":[{"latlngs":[[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.499037,1.365384],[43.49903
ludo6431@ludo6431-N53Jf:~/Public/GDrive$ ./grive
Reading local directories
Synchronizing folders
Reading remote server file list
Synchronizing files
sync "./Bricolage/CNC/Liens.gdoc" doesn't exist in server, uploading
sync "./Bricolage/GyroCam/gopro/AchatGoPro.gsheet" doesn't exist in server, uploading
sync "./Bricolage/GyroCam/gopro/GoPro Hero 3.sldprt" created in remote. creating local
exception: /home/ludo6431/grive/libgrive/src/util/OS.cc(81): Throw in function void gr::os::SetFileTime(const string&, const gr::DateTime&)
Dynamic exception type: boost::exception_detail::clone_impl<gr::os::Error>
@Ludo6431
Ludo6431 / graphe2.png
Last active December 28, 2015 06:09
"Cheap" answer to https://plus.google.com/100596916576106169058/posts/W87V4uTsASn (older versions of the gist refers to this problem: https://plus.google.com/100596916576106169058/posts/SAae56Bo8GZ) Uses recursivity :/
graphe2.png