Skip to content

Instantly share code, notes, and snippets.

View vrachieru's full-sized avatar

Victor R. vrachieru

View GitHub Profile
@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active January 22, 2025 09:27 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
This playbook has been removed as it is now very outdated.
@tzi
tzi / GistFilterTag.user.js
Created February 23, 2012 17:55
A #javascript #userscript : Allow you to filter yours #gist by tag
// ==UserScript==
// @name GistFilterTag
// @description Allow you to filter yours gist by tag
// @id me.zilliox.GistFilterTag
// @homepageURL http://userscripts.org/scripts/show/126558
// @supportURL http://userscripts.org/scripts/discuss/126558
// @updateURL http://userscripts.org/scripts/source/126558.meta.js
// @version 2012.02.24
// @author tzilliox
// @namespace http://zilliox.me
@tzi
tzi / whatJS.js
Created December 29, 2011 13:21
A #javascript #bookmarklet : Find which javascript Framework is used on the current page
(function () {
if ( typeof( bm_popin ) == 'undefined' ) {
alert( 'Please update your Bookmarklet here: http://zilliox.me/bm' );
} else {
// Instanciate a generic bookmarklet popin
var popin = new bm_popin( 1534085 );
popin.title( 'What JS ?' );
var no_framework = true;
// jQuery : http://jquery.com/
@justintv
justintv / .bashrc
Created August 17, 2009 00:53
Display git branch in bash prompt
# If you work with git, you've probably had that nagging sensation of not knowing what branch you are on. Worry no longer!
export PS1="\\w:\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)\$ "
# This will change your prompt to display not only your working directory but also your current git branch, if you have one. Pretty nifty!
# ~/code/web:beta_directory$ git checkout master
# Switched to branch "master"
# ~/code/web:master$ git checkout beta_directory
# Switched to branch "beta_directory"