All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
import pandas as pd | |
from sklearn.linear_model import LogisticRegression | |
def build_model_input(): | |
train_df = pd.read_csv('data/train.csv') | |
test_df = pd.read_csv('data/test.csv') | |
df = pd.concat([train_df, test_df]) | |
for col in df.columns: |
Note: This gist may be outdated, thanks to all contributors in comments.
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
(* File name are supposed to be in upper case, but lower case names look more *mordern*. | |
* `buy.pas' run first, read input from `buy.inp', write to `buy.out' | |
* `set.pas' run next, read from `set.inp', write to `set.out' | |
* `play.pas' run last, read from `map.inp', write to `decision.out' | |
* (LMAO dunno how to sort files in Gist) | |
*) | |
var | |
f : text; | |
a : array[1..10] of qword; |
import os | |
import base64 | |
import json | |
from Crypto.Cipher import AES | |
from phpserialize import loads | |
def decrypt(payload): | |
data = json.loads(base64.b64decode(payload)) |
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)