(C) Copyright 2011 Matteo Panella <[email protected]>.
This work is licensed under the Creative Commons Attribution 3.0 Unported License.
This specification aims to develop a new and improved version of
#!/usr/bin/env python | |
# In L'Aquila we're still waiting for Apr 7 00:00:00 2009... | |
import time | |
__all__ = ['eternal_april'] | |
_APRIL_MIDNIGHT = 1238968800.0 | |
def eternal_april(ts=None): |
#!/usr/bin/env python | |
import hashlib | |
import hmac | |
import re | |
import struct | |
import socket | |
from socket import AF_INET, SOCK_DGRAM | |
import sys | |
import urllib2 |
/* | |
* Azzurra IRC Services (C) 2001-2011 Azzurra IRC Network | |
* | |
* This program is free but copyrighted software; see COPYING for details. | |
* | |
* tld_tab.h - DFA state matrix for TLD check | |
* THIS FILE IS AUTOGENERATED - DO NOT EDIT! | |
*/ | |
#ifndef I_HAVE_A_VERY_GOOD_REASON_TO_INCLUDE_TLD_TAB_H |
(C) Copyright 2011 Matteo Panella <[email protected]>.
This work is licensed under the Creative Commons Attribution 3.0 Unported License.
This specification aims to develop a new and improved version of
/lxml-*/ | |
lxml-*.tar.gz |
/* CUT */ | |
#define SHABUFLEN (SHA1_DIGEST_LENGTH * 2) | |
char *sha1_hash(const char *s, size_t size) { | |
static char shabuf[SHABUFLEN + 1]; | |
unsigned char digestbuf[SHA1_DIGEST_LENGTH]; | |
int i; |
#!/usr/bin/python -u | |
# Quick and dirty script to transcode to FLAC all AAC-LC files | |
# rooted into the current working directory (subdirs incl.) | |
import os | |
import sys | |
import subprocess | |
import magic |
static void clk_disable_locked(struct clk *c) | |
{ | |
if (c->refcnt == 0) { | |
WARN(1, "Attempting to disable clock %s with refcnt 0", c->name); | |
return; | |
} | |
if (c->refcnt == 1) { | |
if (c->ops && c->ops->disable) { | |
trace_clock_disable(c->name, 0, 0); | |
c->ops->disable(c); |
#!/bin/bash | |
IMAGES=$@ | |
resize() { | |
local DENSITY=$1 | |
shift | |
local SIZE=$1 | |
shift | |
local UNSHARP=$1 |
#!/sbin/sh | |
# | |
# /system/addon.d/99-supersu.sh | |
# During a CM10 upgrade, this script backs up SuperSU-related files, | |
# /system is formatted and reinstalled, then the files are restored. | |
# | |
. /tmp/backuptool.functions | |
list_files() { |