Skip to content

Instantly share code, notes, and snippets.

View carlesso's full-sized avatar

Enrico Carlesso carlesso

View GitHub Profile
execve("/opt/bin/mediatomb", ["mediatomb"], [/* 11 vars */]) = 0
brk(0) = 0x181cdc
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/lib/v5b/fast-mult/half/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/v5b/fast-mult/half", 0xbffff2a0) = -1 ENOENT (No such file or directory)
open("/opt/lib/v5b/fast-mult/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/v5b/fast-mult", 0xbffff2a0) = -1 ENOENT (No such file or directory)
open("/opt/lib/v5b/fast-librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/v5b/fast", 0xbffff2a0) = -1 ENOENT (No such file or directory)
open("/opt/lib/halflibrt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
package jd.plugins.hoster;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.ByteBuffer;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
#!/usr/bin/env python
from mega import Mega
import argparse
parser = argparse.ArgumentParser(description='Mega.py download utility')
parser.add_argument('-i', '--input-file', action='store', dest='input_file', help="get urls from input file")
parser.add_argument('urls', action='store', nargs='*', help='an url from mega.co.nz to be downloaded')
args = parser.parse_args()
" Pathogen Section
execute pathogen#infect()
syntax on
filetype plugin indent on
" /Pathogen
" Vundle
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
" Pathogen Section
execute pathogen#infect()
syntax on
filetype plugin indent on
" /Pathogen
" Vundle
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
/*
* $Id: evtest.c,v 1.23 2005/02/06 13:51:42 vojtech Exp $
*
* Copyright (c) 1999-2000 Vojtech Pavlik
*
* Event device test program
*/
/*
* This program is free software; you can redistribute it and/or modify
def get_current_price_list(pl_type = "liquor", t = Time.now)
if price_level_override > 0
return PriceList.send(pl_type).find_by_code(price_level_override)
else
count = 1
count += t.wday * 24 * 4
count += t.hour * 4
count += t.min / 15
count
Schedule.where({:virtual_bar_id => id, :time_pointer => count}).first.price_list(pl_type)
def get_current_price_list(pl_type = "liquor", t = Time.now)
if price_level_override > 0
def get_current_price_list(pl_type = "liquor", t = Time.now)
if price_level_override > 0
" Add gist clip
let g:gist_clip_command = 'xclip -selection clipboard'
let g:gist_detect_filetype = 1
let g:gist_open_browser_after_post = 1
" /Gist Clip