Skip to content

Instantly share code, notes, and snippets.

View irizwaririz's full-sized avatar

John Carlo Roberto irizwaririz

View GitHub Profile
@irizwaririz
irizwaririz / instantiate_wsl_simple_terminal.vbs
Last active February 12, 2024 16:44
VBScript to instantiate WSL with simple terminal (st) as the terminal emulator (assuming there is an Xserver). Taken from: https://www.reddit.com/r/bashonubuntuonwindows/comments/64rtcl/comment/dg55c6s/?utm_source=share&utm_medium=web2x&context=3
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "C:\Windows\System32\Bash.exe ~ -ic st", 0
Set WshShell = Nothing
@irizwaririz
irizwaririz / .bashrc
Last active March 28, 2022 20:05
.bashrc setup for: conda, ssh-agent, Xserver, fzf
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/jcroberto/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/jcroberto/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/jcroberto/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/jcroberto/miniconda3/bin:$PATH"