Skip to content

Instantly share code, notes, and snippets.

View thomsebastin's full-sized avatar
🕳️

Thomas Sebastian thomsebastin

🕳️
View GitHub Profile
@thomsebastin
thomsebastin / ctags.setup
Created May 23, 2020 08:35 — forked from nazgob/ctags.setup
ctags setup on mac
# you have ctags but it does not work...
$ ctags -R --exclude=.git --exclude=log *
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
#you need to get new ctags, i recommend homebrew but anything will work
$ brew install ctags
#alias ctags if you used homebrew
$ alias ctags="`brew --prefix`/bin/ctags"
@thomsebastin
thomsebastin / cookies.js
Created May 15, 2020 11:32 — forked from CrocoDillon/cookies.js
Export your awesome module using AMD, CommonJS, Node.js or just as global.
/*
* Inspiration (well… copy pasting more or less) from:
* https://github.com/ScottHamper/Cookies/blob/0.3.1/src/cookies.js#L127-L140
*
* Thanks Scott!
*/
(function (global) {
'use strict';
var MyModule = function () {
figure {
position: relative;
}
.box {
position: relative;
height: 300px;
width: 300px;
}