outdated, someone else is updating the list now -> https://gist.github.com/Fobxx/107e2bad2bf7312cd49431c696aac912
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
From 73358e3e3501b911346186c4814a86761b0254a5 Mon Sep 17 00:00:00 2001 | |
From: fire855 <[email protected]> | |
Date: Fri, 6 Nov 2015 16:25:29 +0100 | |
Subject: [PATCH] Remove new output interface rules uid code Wifi and Data | |
connection fix :-) | |
--- | |
server/RouteController.cpp | 11 ----------- | |
1 file changed, 11 deletions(-) |
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
;; Linum mode | |
(global-linum-mode t) | |
;; Custom face/function to pad the line number in a way that does not conflict with whitespace-mode | |
(defface linum-padding | |
`((t :inherit 'linum | |
:foreground ,(face-attribute 'linum :background nil t))) | |
"Face for displaying leading zeroes for line numbers in display margin." | |
:group 'linum) |
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
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
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
//wearversion | |
//wearlog | |
//wearvoiceinputenable | |
//wearvoiceinputdisable | |
//weargoogleapi | |
//assert | |
//pushassert | |
//uplog | |
//upcrash | |
//switchnotificationstatus |
This gist has graduated to a full-fledged repo @ https://github.com/JakeWharton/ProcessPhoenix
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
# -*- coding: utf-8 -*- | |
from hashlib import md5 | |
from urllib import urlencode | |
#网关 | |
GATEWAY = 'http://wappaygw.alipay.com/service/rest.htm' | |
class Alipay(object): | |
'支付宝移动服务网关' |
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
import java.lang.ref.WeakReference; | |
import android.app.Activity; | |
import android.content.SharedPreferences; | |
import android.content.res.Configuration; | |
import android.preference.PreferenceManager; | |
/** | |
* Night Mode Helper |
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
import android.support.v4.app.Fragment; | |
public class FragmentUtils { | |
/** | |
* @param fragment | |
* The Fragment whose parent is to be found | |
* @param parentClass | |
* The interface that the parent should implement | |
* @return The parent of fragment that implements parentClass, |
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
# coding: UTF-8 | |
import socket | |
import struct | |
def aton(addr): | |
return struct.unpack('!l', socket.inet_aton(addr)) | |
def ntoa(addr): | |
return socket.inet_ntoa(struct.pack('!l', addr)) |
NewerOlder