Skip to content

Instantly share code, notes, and snippets.

View cyberheb's full-sized avatar

Muhammad Rasyid Sahputra cyberheb

View GitHub Profile
@cyberheb
cyberheb / frontendDevlopmentBookmarks.md
Created January 16, 2022 12:29 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
@cyberheb
cyberheb / install_gcc_9.3.0.md
Created May 24, 2021 04:12 — forked from yosoufe/install_gcc_9.3.0.md
Compile and install gcc-9.3.0
@cyberheb
cyberheb / vim.md
Created December 4, 2019 04:15 — forked from vallettea/vim.md
Configure vim on mac

Install pathogen and use a proper directory structure

cd
mkdir -p .vim/{autoload,colors,syntax,plugin,spell,config}
mv .vimrc .vim/vimrc
ln -s .vim/vimrc .vimrc
cd ~/.vim
git clone https://github.com/tpope/vim-pathogen.git pathogen
cd autoload
@cyberheb
cyberheb / install-opencv.sh
Created May 22, 2018 00:27 — forked from rodrigobaron/install-opencv.sh
Install OpenCV on Ubuntu or Debian
# SOURCE: (milq) https://github.com/milq/scripts-ubuntu-debian/blob/master/install-opencv.sh
# also http://milq.github.io/install-opencv-ubuntu-debian/
# KEEP UBUNTU OR DEBIAN UP TO DATE
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
@cyberheb
cyberheb / http_debugging.py
Created December 19, 2017 07:51 — forked from tonetheman/http_debugging.py
how to debug a urllib.urlopen in python!
import urllib
import httplib
httplib.debuglevel = 1
httplib.HTTPConnection.debuglevel = 1
u = urllib.urlopen("http://yahoo.com")
data = u.read()
u.close()

Deploy Rails app to digitalocean/amazon EC2 with nginx, unicorn, capistrano & postgres

ubuntu 12.10 x32

ssh to root in terminal with your server ip

ssh [email protected]

or for ec2 you will need your public key