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
*/
@arozd
arozd / index.html
Created October 26, 2012 09:07
A CodePen by arozd. pass through the array in js - pass on associative array or in object
<p id="id_array"></p>
@arozd
arozd / index.html
Created October 26, 2012 09:07
A CodePen by arozd. pass through the array in js - pass on associative array or in object
<p id="id_array"></p>
@arozd
arozd / index.html
Created October 25, 2012 08:31
A CodePen by arozd. Dropdown menu - To show/hide menu, I'm using :focus instead of checkbox so when you click somewhere else then menu will be hidden :).
<p><i>To show/hide menu, I'm using :focus instead of checkbox so when you click somewhere else then menu will be hidden :).</i></p>
<div class="dropdown">
<input class="dropdown-toggle" type="text">
<div class="dropdown-text">Account</div>
<ul class="dropdown-content">
<li><a href="#">Settings</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Log out</a></li>
</ul>