git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
<?php | |
/** | |
* @author Savaş Can ALTUN <savascanaltun@gmail.com> | |
* www.savascanaltun.com.tr | |
* CURL vBulletin Login Example | |
* */ | |
function vBulletinLogin($username,$password,$url,$posturl){ | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_HEADER,false); | |
curl_setopt($ch, CURLOPT_COOKIEFILE, 'veri.txt'); |
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
** Add repository and install bitcoind ** | |
sudo apt-get install build-essential | |
sudo apt-get install libtool autotools-dev autoconf | |
sudo apt-get install libssl-dev | |
sudo apt-get install libboost-all-dev | |
sudo add-apt-repository ppa:luke-jr/bitcoincore | |
sudo apt-get update | |
sudo apt-get install bitcoind | |
mkdir ~/.bitcoin/ && cd ~/.bitcoin/ |
## How to hide API keys from github ## | |
1. If you have already pushed commits with sensitive data, follow this guide to remove the sensitive info while | |
retaining your commits: https://help.github.com/articles/remove-sensitive-data/ | |
2. In the terminal, create a config.js file and open it up: | |
touch config.js | |
atom config.js |
{ | |
"Faces": [ | |
{ | |
"name": "Oh well!", | |
"art" : "¯\\_(ツ)_/¯" | |
}, | |
{ | |
"name": "Disapproving Look", | |
"art": "ಠ_ಠ" | |
}, |