Skip to content

Instantly share code, notes, and snippets.

View step-pritpal's full-sized avatar

Pritpal Singh (step) step-pritpal

  • STEP GNE, Ludhiana
  • Ludhiana
View GitHub Profile
@step-pritpal
step-pritpal / aliases
Last active May 24, 2016 10:48
Aliases for GIT
alias ug='ungit --port 8081'
alias alias_edit='sudo vi ~/.bashrc'
alias gs='git status'
alias gc='git commit'
alias gd='git diff'
alias ga='git add'
alias gaa='git add -A'
alias gp='git pull'
alias gpu='git push'
alias gr='git reset'
@step-pritpal
step-pritpal / xyrin_plugin.js
Created February 29, 2016 08:59
Plugins for small functionalities
//plugin for confirm dialogue
(function() {
//default variables
{
$.xt = {};
$.fn.xt = {};
}
//confirm dialogue
{
# install phpmyadmin
phpmyadmin-ctl install
clear
# install the ungit
sudo -H npm install -g ungit
clear
# start mysql
sudo service apache2 restart