Skip to content

Instantly share code, notes, and snippets.

View marek-saji's full-sized avatar
:shipit:

Marek ‘saji’ Augustynowicz marek-saji

:shipit:
View GitHub Profile
@marek-saji
marek-saji / dabblet.css
Last active September 25, 2015 08:53
Tool for stand ups / TODO / worklog
/**
* Tool for stand ups / TODO / worklog
*/
html
{
min-height: 100%;
font-family: Source Sans Pro, sans-serif;font-style:normal;font-weight:400;
-webkit-font-feature-settings: "onum" 1, "lita";
-moz-font-feature-settings: "onum" 1, "lita";
@marek-saji
marek-saji / dabblet.css
Created July 16, 2014 18:00
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
html
{
min-height: 100%;
font-family:'Source Sans Pro';font-style:normal;font-weight:400;
line-height: 1.5em
}
__gulp()
{
local cur prev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
if ! type gulp >/dev/null 2>&1
then
return 0
fi
@marek-saji
marek-saji / .screenrc
Created June 28, 2014 19:55
Script for spinning up a vagrant box with rsync-auto and starting screen(1) with dev server. Both files live in project's subdirectory.
# vim: ft=screen
altscreen on
# Set the caption on the bottom line
caption always "%{= kw}%-w%{= bW}%n %t%{-}%+w %-= %c %y-%m-%d, @%H"
# Use nethack-style messages
nethack on
@marek-saji
marek-saji / .gitconfig
Last active July 4, 2016 14:27
Useful things to put in your ~/.gitconfig
[user]
email = [email protected]
name = Your Name
[github]
user = your-login
[color]
ui = auto
[diff]
@marek-saji
marek-saji / 01-xmas-tree.js
Last active August 29, 2015 14:01
async example: (1) get file contents, (2) parse it as a json, (3) add sth, (4) serialize back to string, (5) send a e-mail
function handleError (error) {}
function readFile (PATH, fail, win) {}
function parseJSON (DATA, fail, win) {}
function stringifyJSON (JSON, fail, win) {}
function sendMail (STRING, fail, win) {}
readFile(
PATH,
handleError,
function (DATA) {
@marek-saji
marek-saji / dabblet.css
Created May 13, 2014 12:26
min-width > max-width
/**
* min-width > max-width
*/
html
{
border-right: red solid thin;
width: 50%;
min-height: 100%;
}
@marek-saji
marek-saji / dabblet.css
Created May 13, 2014 12:17
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
:root
{
font-size: 0.8em;
}
.container
@marek-saji
marek-saji / dabblet.css
Created May 13, 2014 10:13
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.avoid-br { display: inline-block; }
@marek-saji
marek-saji / dabblet.css
Created April 22, 2014 20:41
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.avoid-br { display: inline-block; }