Skip to content

Instantly share code, notes, and snippets.

Avatar

The Finn AICDEV

View GitHub Profile
@AICDEV
AICDEV / flutter_ios.js
Last active Jan 4, 2021
Frida trace Flutter Functions on iOS
View flutter_ios.js
/**
* run the script to a running app: frida -U "appName" -l flutter_ios.js --no-pause
* start app direct with the script: frida -Uf bundleIdentifier -l flutter_ios.js --no-pause
*/
// #############################################
// HELPER SECTION START
var colors = {
"resetColor": "\x1b[0m",
"green": "\x1b[32m",
"yellow": "\x1b[33m",
@AICDEV
AICDEV / prime.py
Last active Aug 20, 2019
Python finding prime numbers
View prime.py
import math
know_prime_number = [2,3,5,7,11]
for i in range(12,1000):
notIs = False
for n in know_prime_number:
if(n <= math.sqrt(i)):
if((i % n) == 0):
notIs = False
@AICDEV
AICDEV / startMultiTmuxShell.sh
Last active Jun 19, 2019
If you want to start multiple session in tmux with shell scripting. Tmux, shell script, shell
View startMultiTmuxShell.sh
# just for test and show case
mkdir test_1 test_2
echo "current tmux sessions"
tmux ls
echo "kill all tmux sessions"
tmux kill-server
declare -a directories=("test_1" "test_2")
@AICDEV
AICDEV / v8.md
Created Jan 23, 2019 — forked from kevincennis/v8.md
V8 Installation and d8 shell usage
View v8.md

Installing V8 on a Mac

Prerequisites

  • Install Xcode (Avaliable on the Mac App Store)
  • Install Xcode Command Line Tools (Preferences > Downloads)
  • Install depot_tools
    • git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
    • sudo nano ~/.bash_profile
    • Add export PATH=/path/to/depot_tools:"$PATH" (it's important that depot_tools comes first here)
You can’t perform that action at this time.