Skip to content

Instantly share code, notes, and snippets.

View fsmunoz's full-sized avatar

Frederico Muñoz fsmunoz

View GitHub Profile
@fsmunoz
fsmunoz / blink.lisp
Created August 4, 2017 02:17
Arduino LED blink with uLisp
@fsmunoz
fsmunoz / manifest.yml
Last active October 16, 2017 11:18 — forked from drnic/manifest.yml
BOSH deployment manifest - AWS
name: redis
director_uuid: f5d1f979-c7d4-443b-a24b-8479536eaeed
releases:
- name: redis
version: latest
stemcells:
- alias: trusty
os: ubuntu-trusty
version: latest
@fsmunoz
fsmunoz / .alias
Created October 24, 2017 21:13
Docker alias file (RHEL host)
### DOCKER ALIAS
## Sound options for RHEL7 OpenClient
snd_opts="--device /dev/snd \
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
-v ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native:Z \
--group-add $(getent group audio | cut -d: -f3)"
x11_opts="-e DISPLAY=unix$DISPLAY \
--ipc=host \
-v /dev/dri/:/dev/dri/:Z \
@fsmunoz
fsmunoz / ragekill.sh
Created August 21, 2022 16:28
Kill the process with most CPU usage
alias ragekill="ps -eo pcpu,comm,pid | sort -k1 -n|awk 'END {print(\"killed\", \$2); system(\"kill -9 \" \$3)}'"