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
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> |
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
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 |
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
# -*- 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> |
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 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; |
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
/* Fork, handling errors. Returns the pid of the newly made child, or 0. | |
COMMAND is just for remembering the name of the command; we don't do | |
anything else with it. ASYNC_P says what to do with the tty. If | |
non-zero, then don't give it away. */ | |
pid_t | |
make_child (command, async_p) | |
char *command; | |
int async_p; | |
{ | |
int forksleep; |
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
#!/bin/bash | |
cd "`dirname $0`" | |
BASESRC="fsroot" | |
IMGFILE="fsimg.img" | |
IMGSIZE="256" # in MB | |
TMPDIR="`mktemp -d`" | |
# <-- verifying mandatory things |
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
ludo6431@ludo6431-maverick-Aspire5100:~$ sudo fdisk -l /dev/sdb1 | |
Disque /dev/sdb1 : 3960 Mo, 3960995840 octets | |
122 têtes, 62 secteurs/piste, 1022 cylindres | |
Unités = cylindres de 7564 * 512 = 3872768 octets | |
Taille de secteur (logique / physique) : 512 octets / 512 octets | |
taille d'E/S (minimale / optimale) : 512 octets / 512 octets | |
Identifiant de disque : 0x00000000 |
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
def answer_privmsg(c, e, s): | |
dest = '' | |
if e.eventtype() in ['pubmsg', 'action', 'pubnotice', 'join', 'part', 'kick', 'mode']: | |
dest = e.target() | |
else: | |
dest = nm_to_n(e.source()) | |
c.privmsg(dest, s) |
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 "irqs.h" | |
u32 irq_ack(u32 irqs) { | |
u16 ime = REG_IME; | |
REG_IME = 0; | |
u32 ifs = REG_IF; | |
REG_IF = irqs; | |
REG_IME = ime; |
NewerOlder