Skip to content

Instantly share code, notes, and snippets.

View wjdwndud0114's full-sized avatar
๐ŸŽ„

Kevin wjdwndud0114

๐ŸŽ„
View GitHub Profile
{
"Ansi 6 Color" : {
"Red Component" : 0.60392171144485474,
"Color Space" : "sRGB",
"Blue Component" : 0.99607843160629272,
"Alpha Component" : 1,
"Green Component" : 0.92941170930862427
},
"Tags" : [
@wjdwndud0114
wjdwndud0114 / dijkstra.cpp
Created April 2, 2018 01:51
dijkstra c++ with random graph generation
// dijkstra.cpp
// author: Kevin Jeong
// 4/1/2018
// implementation of random graph generation and using dijkstra's algorithm to get average shortest paths from the
// first vertex
#include "dijkstra.h"
using namespace std;
const int SIZE = 50; // number of vertices the graph has
const double DENSITY_ONE = .4; // density of the graph
@wjdwndud0114
wjdwndud0114 / idastuff.txt
Last active August 5, 2024 17:14
so debugging on ida pro
Nexus 5 4.4.4
1. setup:
a. need to downgrade to 4.4.4, root
b. luckypactcher, GG, xposed
c. put libhook.so and android_server and libsubstrate.so in /data/local/tmp/ and install aadbg
d. patch with luckypatcher the middle 2
2. adb shell su -> android_server
3. adb forward tcp:23946 tcp: 23946
4. adb forward tcp:8700 jdwp:PID_OF_GAME
jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8700
@wjdwndud0114
wjdwndud0114 / lightcyc.py
Last active February 12, 2018 23:00
Light Cycle battle AI
import sys
import math
import numpy as np
class Drone():
def __init__(self, x, y):
self.x = x
self.y = y