Skip to content

Instantly share code, notes, and snippets.

@arozd
arozd / script.sh
Created March 3, 2016 12:02 — forked from VitaliyR/script.sh
Update all git repositories recursively in current directory to provided branch
# Use gitcheckout -h to see available flags
function gitcheckout {
local defaultBranch='master'
local branch
local foundBranch
local force=false
local update=true
local verbose=false
local exclude
@arozd
arozd / newplugin.js
Last active August 29, 2015 14:24 — forked from VitaliyR/newplugin.js
(function($) {
/**
* Namespace: the namespace the plugin is located under
* pluginName: the name of the plugin
*/
var extensionMethods = {
/*
* retrieve the id of the element
* this is some context within the existing plugin
*/