Skip to content

Instantly share code, notes, and snippets.

View yhs0602's full-sized avatar
🥝

Hyeonseo Yang yhs0602

🥝
View GitHub Profile
@yhs0602
yhs0602 / Develop-on-Android.md
Last active October 27, 2018 08:51
Introductions of tools to develop/reverse engineer on Android

Develop-on-Android

@yhs0602
yhs0602 / ShowUDD.c
Created July 7, 2019 02:03
Shows basic information of an OllyDbg UDD file.
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <locale.h>
#include <time.h>
#include <windows.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
unsigned int getInt(unsigned char * d)
@yhs0602
yhs0602 / create_branch_from_tag
Created January 21, 2020 12:14 — forked from nickfloyd/create_branch_from_tag
To create a branch from a tag
-Go to the starting point of the project
>> git checkout origin master
-fetch all objects
>> git fetch origin
-Make the branch from the tag
>> git branch new_branch tag_name
-Checkout the branch
>> git checkout new_branch
-Push the branch up
>> git push origin new_branch
  1. clone
  2. build_arm.sh
export NDKPATH="${HOME}/myndk_arm16"
export MAKE=${NDKPATH}/bin/make
export CC="${NDKPATH}/bin/clang"
export AR="${NDKPATH}/bin/x86_64-linux-android-ar"
export RANLIB="${NDKPATH}/bin/x86_64-linux-android-ranlib"
export CFLAGS=" --sysroot=${NDKPATH}/sysroot "
${MAKE} clean &amp;&amp; ${MAKE}
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
  1. install termux
  2. run ifconfig and get ip address
  3. run whoami and get uid
  4. set password
  5. run sshd
  6. connect to it using ssh client
@yhs0602
yhs0602 / index.html
Created August 4, 2020 06:46
Relative hover
<div class="box"> 1 </div>
<div class="box2"> 2 </div>
<div class="box"> 3 </div>
sudo vi host-darwin.c
sudo vi aarch64.h
sudo make
import cv2
import io
import numpy as np
import torch
from u2net import U2Net
from yolov8 import detect_objects
from diffusion import StableDiffusionInpaintPipeline
@yhs0602
yhs0602 / vnotetotext.py
Created April 1, 2024 14:48
vnotetotext.py
#! /usr/bin/env python
# vim: tabstop=4 expandtab shiftwidth=4
"""
vnote2txt - converts vNote files (e.g. from Galaxy S2 Memo app) to text
Windows users - please install Python from www.python.org
Can be double-clicked or run without arguments to show a file chooser
Or can be run from the commandline, e.g. python ./vnote2txt /home/user/docs/*.vn
"""