Skip to content

Instantly share code, notes, and snippets.

View sohnryang's full-sized avatar
🍟
Potato inside

Ryang Sohn sohnryang

🍟
Potato inside
View GitHub Profile
@sohnryang
sohnryang / vivado-on-m1-mac.md
Last active July 11, 2024 02:18
Vivado on ARM64 Mac using Rosetta 2

Running Vivado on ARM64 Mac using Rosetta 2

macOS Ventura supports running x86-64 binaries on Linux VMs. However, even with Rosetta installing Vivado is not a simple one-click process. This guide covers some workarounds and tricks to get Vivado up and running on ARM64 Mac.

  1. Make sure you're running macOS Ventura or higher.
  2. Install UTM and create a Debian VM with Rosetta according to their guide.
    • Other distributions should also work, but commands will be different.
  3. Install x86-64 version of java and libtinfo. Vivado depends on them.

Keybase proof

I hereby claim:

  • I am sohnryang on github.
  • I am curling_grad (https://keybase.io/curling_grad) on keybase.
  • I have a public key whose fingerprint is A1AB A4C1 2EA0 9828 E7EA A47C BE7A D6E6 12E4 8FB4

To claim this, I am signing this object:

@sohnryang
sohnryang / i3_statusbar.py
Created December 21, 2021 22:52
i3 statusbar using font awesome and nerd fonts
from datetime import datetime
from subprocess import check_output
from time import sleep
import json
import psutil
red = "#ed6259"
orange = "#f29b34"
green = "#8dd773"
@sohnryang
sohnryang / powerlogger.rs
Created December 21, 2021 22:50
Power logger written in Rust
use std::{
env::args,
fs::{read_to_string, File},
io::Write,
thread::sleep,
time::Duration,
};
fn main() -> std::io::Result<()> {
let args: Vec<String> = args().collect();
@sohnryang
sohnryang / coupled_oscillator.ipynb
Created March 27, 2021 11:07
Coupled Oscillator
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sohnryang
sohnryang / hailstone.aheui
Last active October 9, 2018 12:43
아희 헤일스톤 수열 (맨 마지막 1은 아쉽게도 안나옵니다.)
방빠망박발뚜
다빠북여어뭏
노쵸뱐텨너뿌
본벅떠요너북
아희볻처복려
@sohnryang
sohnryang / countdown-spaced.aheui
Created October 4, 2018 15:01
아희 카운트다운 (띄어쓰기 추가 ver.)
발박따빠뭉
희아챠아붑
빠몽붓번붏
뽀터너뫃떠
@sohnryang
sohnryang / countdown.aheui
Created October 4, 2018 09:53
아희 카운트다운 (9876543210)
발박뚜
하차북
빠몽분
뽀터너
@sohnryang
sohnryang / fibonacci-cleaned.aheui
Created October 3, 2018 17:07
아희 피보나치 (정리 ver.)
삮반밧나빠싹삯북
뭉뻐너벗번서떠벌
삯빠맣사망삯빠뭏
뿌더서써섞써뻐석
망삯빠맣삭싺사쏙
@sohnryang
sohnryang / fibonacci.aheui
Last active October 3, 2018 17:05
아희 피보나치
삮반밧나빠싹삯박발따사반밧나빠망삯빠맣사망삯빠뭏
어어어어어어어어썩서썪석멓뻐섟멍뻐더서써섞써뻐석