Skip to content

Instantly share code, notes, and snippets.

View sunrise2575's full-sized avatar
🎯
Focusing

Heeyong Yoon sunrise2575

🎯
Focusing
View GitHub Profile
@arter97
arter97 / reboot
Last active November 29, 2022 22:29
kexec reboot helper for Ubuntu
#!/bin/bash
# Store at /usr/local/sbin/reboot with 755 permission
echo ""
echo "Using kexec for faster reboot."
echo ""
echo "If you want to perform a full reboot,"
echo "use 'systemctl reboot' instead."
echo ""
@ownport
ownport / multiprocessing_producer_consumer.py
Created December 5, 2017 11:28
python | multiprocessing producer consumer
# multiprocessing_producer_consumer.py
# https://pymotw.com/3/multiprocessing/communication.html
import multiprocessing
import time
class Consumer(multiprocessing.Process):
@fxkraus
fxkraus / debian-install-megacli.md
Last active June 27, 2024 05:41
Install LSI MegaCli .deb package on Debian/Ubuntu

download

wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip

unzip

unzip 8-07-14_MegaCLI.zip
@ibrahimlawal
ibrahimlawal / LC_CTYPE.txt
Created February 27, 2017 07:02 — forked from jampajeen/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8