git lb
31 minutes ago: fun-branch
2 days ago: remove-things
3 days ago: staging
6 days ago: remove-bugs
Courtesy of https://ses4j.github.io/2020/04/01/git-alias-recent-branches/
| ########## SETTINGS | |
| # On startup, lftp executes ~/.lftprc and ~/.lftp/rc. You can place aliases and 'set' commands | |
| # there. Some people prefer to see full protocol debug, use 'debug' to turn the debug on. | |
| # Certain commands and settings take a time interval parameter. It has the format Nx[Nx...], where N is time amount | |
| # (floating point) and x is time unit: d - days, h - hours, m - minutes, s - seconds. Default unit is second. E.g. | |
| # 5h30m or 5.5h. Also the interval can be 'infinity', 'inf', 'never', 'forever' - it means infinite interval. E.g. | |
| # 'sleep forever' or 'set dns:cache-expire never'. |
| #!/bin/bash | |
| ## Bash Script to clear cached memory on (Ubuntu/Debian) Linux | |
| ## By Philipp Klaus | |
| ## see <http://blog.philippklaus.de/2011/02/clear-cached-memory-on-ubuntu/> | |
| if [ "$(whoami)" != "root" ] | |
| then | |
| echo "You have to run this script as Superuser!" | |
| exit 1 | |
| fi |
| // ==UserScript== | |
| // @name Facebook Scan Mass Tagging (spam/ads tag) | |
| // @namespace http://aimakun.exteen.com | |
| // @description Pure javascript for scan tagging which you should not want them. | |
| // @author aimakun | |
| // @include http*://www.facebook.com | |
| // @include http*://www.facebook.com/ | |
| // @include http*://www.facebook.com/?* | |
| // @include http*://www.facebook.com/profile.php?* | |
| // @include http*://www.facebook.com/ajax/home/feed.php?* |
| Host github.com | |
| User git | |
| Hostname github.com | |
| PreferredAuthentications publickey | |
| IdentityFile /home/user/.ssh/id_rsa |
| ## some useful aliases | |
| alias ls "ls -h" | |
| alias dir ls | |
| alias less more | |
| alias zless zmore | |
| alias bzless bzmore | |
| alias mirror "mirror -v" | |
| alias sync "mirror -R -v -n" | |
| alias reconnect "close; cache flush; cd ." | |
| alias edit "eval -f \"get $0 -o ~/.lftp/edit.tmp.$$ && shell \\\"cp -p ~/.lftp/edit.tmp.$$ ~/.lftp/edit.tmp.$$.orig && $EDITOR ~/.lftp/edit.tmp.$$ && test ~/.lftp/edit.tmp.$$ -nt ~/.lftp/edit.tmp.$$.orig\\\" && put ~/.lftp/edit.tmp.$$ -o $0; shell rm -f ~/.lftp/edit.tmp.$$*\"" |
| // This script shows a badge with the number of new messages in the dock of your Fluid instance of Google+ | |
| // The count is reset when you click somewhere in the body | |
| // This version of the script is written by Mathias Bynens | |
| (function(window, document) { | |
| var nodeList = document.getElementsByClassName('a-b-f-i a-f-i'), // live NodeList | |
| fluid = window.fluid, | |
| length; |
| #!/bin/bash | |
| TOMCAT=apache-tomcat-7.0.23 | |
| TOMCAT_WEBAPPS=$TOMCAT/webapps | |
| TOMCAT_CONFIG=$TOMCAT/conf/server.xml | |
| TOMCAT_START=$TOMCAT/bin/startup.sh | |
| TOMCAT_ARCHIVE=$TOMCAT.tar.gz | |
| TOMCAT_URL=http://apache.mirrorcatalogs.com/tomcat/tomcat-7/v7.0.23/bin/$TOMCAT_ARCHIVE | |
| WAR_FILE=whatever.war |
| // ==UserScript== | |
| // @name Show Password onFocus | |
| // @namespace http://zoolcar9.lhukie.net/ | |
| // @description Show password when focus on password field | |
| // @version 20130114.01 | |
| // @author LouCypher | |
| // @license free | |
| // @homepageURL http://userscripts.org/scripts/show/1892 | |
| // @updateURL https://gist.github.com/raw/1870154/show-password-onfocus.user.js | |
| // @downloadURL https://gist.github.com/raw/1870154/show-password-onfocus.user.js |
| // ==UserScript== | |
| // @name Flickr Plus One Like | |
| // @namespace http://mozilla.status.net/loucypher | |
| // @description Add Google+1 and Facebook Like buttons | |
| // @author LouCypher | |
| // @license free | |
| // @match *://*.flickr.com/photos/* | |
| // @include http://www.flickr.com/photos/* | |
| // @include https://secure.flickr.com/photos/* | |
| // ==/UserScript== |
git lb
31 minutes ago: fun-branch
2 days ago: remove-things
3 days ago: staging
6 days ago: remove-bugs
Courtesy of https://ses4j.github.io/2020/04/01/git-alias-recent-branches/