Skip to content

Instantly share code, notes, and snippets.


Ralf Crisostomo ralphcrisostomo

  • Goodstuff
  • Australia
View GitHub Profile
ralphcrisostomo /
Last active Apr 15, 2016
The correct way of install vlc to your Linux
ralphcrisostomo /
Created Apr 15, 2016
Transcode DVB TV signals to h.264-encoded MP4 files using VLC
# Transcode DVB TV signals to h.264-encoded MP4 files using VLC
#### Defaults, please edit for your settings ####
# VLC location, here is the Mac OS X example
# Other possibilities: (Remove the # to activate)
ralphcrisostomo /
Last active Apr 7, 2016
for lazy people that wanted to download tutorials from automatically
# Created by : Ralph Crisostomo
# 14FEB2016
# Instead of clicking and downloading one by one
# Paste the code below to your chrome console
# to generate bash command for you to copy and paste
# to your terminal.
DATE=`date +%Y-%m-%d`
killall hostapd
killall dnsmasq
killall sslstrip
mkdir ~/passniffer
mkdir ~/passniffer/$DATE/
View doubleend.zsh-theme
function git_prompt_info() {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo "$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_PREFIX$(current_branch)$ZSH_THEME_GIT_PROMPT_SUFFIX"
function get_pwd() {
print -D $PWD
function battery_charge() {
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
ralphcrisostomo / Node Learning
Last active Aug 29, 2015
Express.js Learning Notes
View Node Learning

Express.js Learning Notes


  • Always refer to
  • Everything is “middleware”.
  • use means “Run this on ALL requests”
  • get means “Run this on a GET request, for the given URL”
  • in between middleware should return next() or res.end()
  • Ends the response process.