Skip to content

Instantly share code, notes, and snippets.

View t-rekttt's full-sized avatar

T-Rekt t-rekttt

View GitHub Profile
@t-rekttt
t-rekttt / docker.md
Created February 5, 2023 09:47 — forked from FreddieOliveira/docker.md
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

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.


Summary

@FreddieOliveira
FreddieOliveira / docker.md
Last active May 28, 2024 03:11
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

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.


Summary

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:
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active May 28, 2024 11:46
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

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 !

@McSinyx
McSinyx / buy.pas
Last active May 3, 2016 14:11
Bài thi giải ba bảng C Tin học trẻ Thành phố Hà Nội năm học 2015 - 2016
(* 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;
@fideloper
fideloper / crypt.py
Created June 4, 2015 13:52
Decrypt Laravel-encrypted value
import os
import base64
import json
from Crypto.Cipher import AES
from phpserialize import loads
def decrypt(payload):
data = json.loads(base64.b64decode(payload))
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 28, 2024 07:00
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007