Skip to content

Instantly share code, notes, and snippets.

View Youngv's full-sized avatar

Victor Yang Youngv

View GitHub Profile
@Youngv
Youngv / Termux SSH Tutorial.md
Created April 23, 2025 06:01 — forked from devmaars/Termux SSH Tutorial.md
This guide will show you how to set up an ssh server on your phone using Termux and connect to it from your computer. This is useful if you want to access your phone's files or run commands on your phone from your computer.

How to ssh to termux the right way

Termux

Requirements

  • Termux (From F-Droid)
  • ADB (Android Debug Bridge)
  • USB Cable (Wireless connection is also possible but it's slower)
@Youngv
Youngv / gist:b5bc3199fc0a5ff0814a070ad38a6755
Created September 30, 2018 09:16 — forked from cowboyrushforth/gist:5963752
Java<->Ruby AES-256-CBC PKCS5 Working 2 way encryption
# RUBY
require 'openssl'
require 'digest/sha2'
require 'json'
def bin2hex(str)
str.unpack('C*').map{ |b| "%02X" % b }.join('')
end