This file contains hidden or 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
import scala.pickling.Defaults._ | |
import scala.pickling.json.{JSONPickleBuilder, JSONPickleFormat, JsonFormats} | |
import scala.pickling.{Output, PBuilder, PickleTools, StringOutput} | |
implicit val pickleFormat: JSONPickleFormat = new JSONPickleFormat { | |
override def createBuilder() = new JSONPickleBuilder(this, new StringOutput) with PickleTools { | |
hintStaticallyElidedType() | |
} | |
override def createBuilder(out: Output[String]): PBuilder = new JSONPickleBuilder(this, out) with PickleTools { | |
hintStaticallyElidedType() |
This file contains hidden or 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
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
Build fingerprint: 'Android/sdk_google_phone_x86/generic_x86:6.0/MASTER/2524533:userdebug/test-keys' | |
Revision: '0' | |
ABI: 'x86' | |
pid: 3009, tid: 3009, name: com.tencent.mm >>> com.tencent.mm <<< | |
signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0 | |
eax 10012000 ebx b1391ff4 ecx b1395508 edx 100121e0 | |
esi 041617a0 edi b15df940 | |
xcs 00000073 xds 0000007b xes 0000007b xfs 00000007 xss 0000007b | |
eip b11d3dd1 ebp 10012000 esp 10023f20 flags 00210282 |
This file contains hidden or 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
# begin build properties | |
# autogenerated by buildinfo.sh | |
ro.build.id=MMB29U | |
ro.build.display.id=MMB29U | |
ro.build.version.incremental=2495654 | |
ro.build.version.sdk=23 | |
ro.build.version.preview_sdk=0 | |
ro.build.version.codename=REL | |
ro.build.version.all_codenames=REL |
This file contains hidden or 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
!function() { | |
var e, t = function() {} | |
, o = ["assert", "clear", "count", "debug", "dir", "dirxml", "error", "exception", "group", "groupCollapsed", "groupEnd", "info", "log", "markTimeline", "profile", "profileEnd", "table", "time", "timeEnd", "timeStamp", "trace", "warn"], n = o.length; | |
0 == /mmdebug/.test(location.search) && location.href.indexOf("dev.web.weixin") < 0 && (window.console = {}); | |
for (var r = window.console = window.console || {}; n--; ) | |
e = o[n], | |
r[e] || (r[e] = t) | |
} | |
(), | |
angular.module("Controllers", []), |
This file contains hidden or 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
(ns clj-gunzip.core | |
(:require [clojure.java.io :as io]) | |
(:require [clojure.string :as str]) | |
(:import java.util.zip.GZIPInputStream | |
java.util.zip.GZIPOutputStream)) | |
(defn gunzip | |
"Writes the contents of input to output, decompressed. | |
input: something which can be opened by io/input-stream. |
This file contains hidden or 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
# Lines configured by zsh-newuser-install | |
HISTFILE=~/.histfile | |
HISTSIZE=1000 | |
SAVEHIST=1000 | |
setopt appendhistory autocd extendedglob nomatch | |
bindkey -e | |
# End of lines configured by zsh-newuser-install | |
# The following lines were added by compinstall | |
zstyle :compinstall filename '/home/wuhx/.zshrc' |
This file contains hidden or 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
#add for openswan | |
net.ipv4.ip_forward = 1 | |
net.ipv4.conf.all.send_redirects = 0 | |
net.ipv4.conf.default.send_redirects = 0 | |
net.ipv4.conf.eth0.send_redirects = 0 | |
#net.ipv4.conf.eth1.send_redirects = 0 | |
net.ipv4.conf.lo.send_redirects = 0 | |
net.ipv4.conf.all.accept_redirects = 0 | |
net.ipv4.conf.default.accept_redirects = 0 | |
net.ipv4.conf.eth0.accept_redirects = 0 |
This file contains hidden or 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 500px graber | |
// @namespace http://500px.com/ | |
// @description grab photo exif info | |
// @include http://500px.com/* | |
// @copyright 2012+, You | |
// ==/UserScript== | |
// a function that loads jQuery and calls a callback function when jQuery has finished loading | |
function addJQuery(callback) { |