This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# place it for example in your `~/.gitconfig` file | |
# Usage: | |
# type `git openbranch` in a directory with a GitHub repository | |
[alias] | |
openbranch = "!f() { \ | |
branch_name=$(git symbolic-ref --short HEAD); \ | |
origin_url=$(git config --get remote.origin.url); \ | |
if [[ \"$origin_url\" == [email protected]:* ]]; then \ | |
repo_url=\"https://github.com/${origin_url:15}\"; \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"12123": {}, | |
"sdc:": "sdfdsf", | |
"sfsdaf": "asdf", | |
"asdf": "asdfasf", | |
"{ssfdss}": {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"12123": {}, | |
"sdc:": "sdfdsf", | |
"sfsdaf": "asdf", | |
"asdf": "asdfasf", | |
"{ssfdss}": {} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while : | |
do | |
clear | |
git --no-pager log --oneline --decorate --all --graph --date=relative $* | |
sleep 2 | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ubuntu-512mb-sfo1-01:/var/www/my-app/www# pm2 desc 0 | |
Describing process with id 0 - name app | |
βββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
β status β online β | |
β name β app β | |
β restarts β 1 β | |
β uptime β 33s β | |
β script path β /var/www/my-app/releases/161024_234855/app.js β | |
β script args β N/A β | |
β error log path β /root/.pm2/logs/app-error-0.log β |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author | |
*/ | |
require_once 'Config.php'; | |
class AllTests { | |
public static function suite() { |