Skip to content

Instantly share code, notes, and snippets.

View rurumimic's full-sized avatar
♟️
턴제코딩

rurumimic

♟️
턴제코딩
View GitHub Profile
@rurumimic
rurumimic / mamba.md
Created May 23, 2022 01:29
Install Mamba

Windows Terminal

Start:

%windir%\system32\cmd.exe "/K" C:\Users\<USERNAME>\mambaforge\Scripts\activate.bat C:\Users\dohyun\mambaforge
@rurumimic
rurumimic / powershell.md
Last active May 17, 2022 01:02
Windows PowerShell Profile

Policy

get-help about_execution_poicies
Get-ExecutionPolicy

RemoteSigned
@rurumimic
rurumimic / resize.md
Last active May 17, 2022 07:05
Resize Vagrant Disk

Vagrant plugin

vagrant plugin install vagrant-disksize

Vagrantfile

Vagrant.configure("2") do |config|
@rurumimic
rurumimic / PATH.md
Created April 16, 2022 12:37
macos PATH
ls /etc/paths.d
@rurumimic
rurumimic / zip.ps1
Created December 27, 2021 08:55
Windows Powershell Compress/Extract
Compress-Archive .\directory archive.zip
Expand-Archive .\archive.zip
@rurumimic
rurumimic / ipython-builtin-commands.py
Last active December 22, 2021 01:44
IPython Built-in magic commands
# https://ipython.readthedocs.io/en/stable/interactive/magics.html
'''
%%capture [--no-stderr] [--no-stdout] [--no-display] [output]
https://ipython.readthedocs.io/en/stable/interactive/magics.html?highlight=capture#cellmagic-capture
'''
%%capture --no-stdout
%%capture --no-stderr
@rurumimic
rurumimic / hello.py
Last active December 20, 2021 14:06
Hello, world!
def hello():
print('Hello, world!')
def bye():
print('Good afternoon, good evening, and good night!')
if __name__ == '__main__':
hello()
else:
bye()
@rurumimic
rurumimic / zip.sh
Last active November 20, 2023 06:58
Compress without .DS_Store and __MACOSX
zip -r archive.zip . -x ".*" -x "__MACOSX" -q
@rurumimic
rurumimic / JAVA_HOME.md
Last active March 17, 2020 08:23
Saving Private JAVA_HOME

JAVA_HOME

export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk/jre

export JAVA_HOME=/usr/lib/jvm/jre-1.8.0

JRE

ls -al /usr/lib/jvm