Skip to content

Instantly share code, notes, and snippets.

View torifat's full-sized avatar
🇸🇩
Why do we even have this here?

Rifat Nabi torifat

🇸🇩
Why do we even have this here?
View GitHub Profile
@torifat
torifat / sample1.js
Created June 17, 2011 19:23
Optional Parameter in JavaScript
function foo(optional) {
if (optional === undefined) optional = "default";
}
@torifat
torifat / gist:977825
Created May 18, 2011 01:25
Git Delete Tag
git tag new old
git tag -d old
git push origin :old
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;