Skip to content

Instantly share code, notes, and snippets.

View subinamathew's full-sized avatar
🏠
Working from home

subinamathew subinamathew

🏠
Working from home
View GitHub Profile
package main
import (
"flag"
"log"
"net/http"
"strings"
)
// FileSystem custom file system handler
@subinamathew
subinamathew / .bash_aliases
Created July 5, 2019 22:47 — forked from vratiu/.bash_aliases
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset

Install x264

cd ~
git clone git://git.videolan.org/x264
cd x264
./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl
make -j4
sudo make install
@subinamathew
subinamathew / stopCFAppsInSpace.sh
Created July 3, 2019 09:15 — forked from dmarmugi/stopCFAppsInSpace.sh
Stop all Cloud Foundry apps in a space
cf apps | grep started | awk '{print $1}{system("cf sp " $1)}'
@subinamathew
subinamathew / .git-commit-template
Created April 1, 2019 06:00 — forked from zakkak/.git-commit-template
This commit message template that helps you write great commit messages and enforce it across your team.
# [<tag>] (If applied, this commit will...) <subject> (Max 72 char)
# |<---- Preferably using up to 50 chars --->|<------------------->|
# Example:
# [feat] Implement automated commit messages
# (Optional) Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# (Optional) Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23