python package pyA20 found here:
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
diff --git a/libavformat/utils.c b/libavformat/utils.c | |
index 17ae300..7ff8c22 100644 | |
--- a/libavformat/utils.c | |
+++ b/libavformat/utils.c | |
@@ -3809,6 +3809,36 @@ uint64_t ff_ntp_time(void) | |
return (av_gettime() / 1000) * 1000 + NTP_OFFSET_US; | |
} | |
+static char *randstring(size_t length) { | |
+ static char charset[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; |
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 | |
# This script builds a Gentoo image for the Allwinner H3 | |
# Based on http://linux-sunxi.org/H3_Manual_build_howto | |
# Tested on Orange Pi PC | |
set -e | |
function green { | |
echo -e '\033[0;32m'$@'\033[0m' |
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/sh | |
# | |
# git-subtree.sh: split/join git repositories in subdirectories of this one | |
# | |
# Copyright (C) 2009 Avery Pennarun <apenwarr@gmail.com> | |
# Copied from https://bitbucket.org/durdn/git/src/643f425beb30560b323a79a293282148c09da300/contrib/subtree/git-subtree.sh?at=np%2Fgit-subtree-list-4&fileviewer=file-view-default | |
# | |
if [ $# -eq 0 ]; then | |
set -- -h | |
fi |
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
/* Case 1 */ | |
<?php | |
header('Content-Type: text/css'); | |
$exit_normally = 0; | |
register_shutdown_function(function() { | |
register_shutdown_function(function() { | |
global $exit_normally; | |
if (!$exit_normally) { | |
echo "/*\n".ob_get_clean()."\n*/\n"; | |
} |
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
// ==UserScript== | |
// @name miui.hu anti-ad | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description I hate to force ads | |
// @author You | |
// @match http://miui.hu/* | |
// @grant none | |
// ==/UserScript== | |
onload_functions.shift(); |
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
javascript:window.location.replace(window.location.protocol+'//'+window.location.hostname+(window.location.pathname.indexOf('/index_dbg.php') >= 0 ? '' : '/index_dbg.php')+window.location.pathname.replace('/index_dbg.php','')+window.location.search+window.location.hash) |
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 | |
U=${SUDO_USER:=${USER}} | |
if [[ -x `which realpath` ]]; then | |
T=$(realpath ${BASH_SOURCE[0]:=${0}}) | |
else | |
T=${BASH_SOURCE[0]:=${0}} | |
fi | |
D=$(dirname ${T}) | |
#apt-get install libfcgi-dev libfcgi0ldbl libjpeg62-turbo-dbg libmcrypt-dev libssl-dev libc-client2007e libc-client2007e-dev libxml2-dev libbz2-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev libfreetype6-dev libkrb5-dev libpq-dev libxml2-dev libtidy-dev libmemcached-dev imagemagick-dev msgpack-dev |
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
<?php | |
if (!class_exists('Memcache') && class_exists('Memcached')) { | |
define('MEMCACHE_COMRESSED', 2); | |
/** | |
* Memcache class emulation by extending Memcached | |
* | |
* @author gt <gt-kani.hu> | |
* @class Memcache | |
*/ |
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
#!/usr/bin/perl -w | |
## Easy GIT (eg), a frontend for git designed for former cvs and svn users | |
## Version 1.7.5.2 | |
## Copyright 2008-2013 by Elijah Newren and others | |
## Licensed under GNU GPL, version 2. | |
## To use eg, simply stick this file in your path. Then fire off an | |
## 'eg help' to get oriented. You may also be interested in | |
## http://www.gnome.org/~newren/eg/git-for-svn-users.html |
OlderNewer