Skip to content

Instantly share code, notes, and snippets.

View tensorturtle's full-sized avatar

Jason (Janghyup) Sohn tensorturtle

View GitHub Profile
@tensorturtle
tensorturtle / self-taught.md
Last active July 23, 2022 18:09
My Self-Taught Technical Education

My Self-Taught Technical Education

or, How I went from Psychology Major to Computer Vision & Robotics Developer.

Changelog

v0.1.0 2022-07-24 Uploaded for Harry

Formal Education (starting point)

Subject | Level

@tensorturtle
tensorturtle / torrc
Last active December 11, 2021 11:53
Tor Bridge Configuration
## This is a customized config file for Tor. [See full example at tor/torrc.sample](https://github.com/torproject/tor/blob/main/src/config/torrc.sample.in)
## Replace `/etc/tor/torrc` with:
## nyx monitor requires control port
ControlPort 9051
## Cookie authentication for nyx means you have to run nyx in sudo
CookieAuthentication 1
@tensorturtle
tensorturtle / ncloud-archive-personal-backup.md
Last active November 26, 2021 17:07
How to Use Naver Cloud Archive Storage for Personal Backups

How to Use Naver Cloud Archive Storage for Personal Backups

Why? Honestly, Naver Cloud doesn't stand out, but its prices are comparable to others, and its location probably means faster speeds for Korea.

Other options:

  • If you only need perpetual storage of small (<2TB), see pcloud,
  • If you only need recent backups, see Backblaze.

See naver cloud documentation at: https://cli.ncloud-docs.com/docs/en/guide-archivestorage

@tensorturtle
tensorturtle / compile_on_write.sh
Last active June 11, 2021 04:24
Compile .cpp on write
#!/bin/bash
# start this script in one window, passing in .cpp file as argument
# open text editor in another window
# when you make edits and save file in the text editor, this script will run to compile and run the C++ code
inotifywait -e close_write,moved_to -m . |
while read -r directory events filename; do
if [ "$filename" = "$1" ]; then
g++ "$1"
@tensorturtle
tensorturtle / validate-images.py
Last active May 27, 2021 11:26
This script uses scikit-image to test a folder of images for corrupted files. Any corrupted files are moved to a new directory, and you can optionally delete them.
import os
import sys
import logging
import subprocess
import argparse
from skimage import io
from tqdm import tqdm
def validate_and_delete(path):
@tensorturtle
tensorturtle / y-combinator-submission.md
Last active February 7, 2021 16:16
Y-Combinator Startup Application Form

Y-Combinator Startup Application Form

Company

Company name:

Company URL:

If you have a demo, what's the url? Demo can be anything that shows us how the product works. Usually that's a video or screen recording.