Skip to content

Instantly share code, notes, and snippets.

View armornick's full-sized avatar

Nick Arnoeyts armornick

  • Belgium
View GitHub Profile
@armornick
armornick / oban.styl
Created March 16, 2015 06:01
Translation of oban.io to Stylus (http://oban.io/)
//
// oban - a set of less mixins that give you a starting point when starting a new project
// v0.21.1
// https://github.com/firstandthird/oban
// copyright First+Third 2015
// MIT License
//
// translated for Stylus by armornick
//
@armornick
armornick / min.styl
Created March 16, 2015 06:02
Translation of min to Stylus (http://mincss.com/)
/*
* min
* a tiny framework that makes websites pretty
* https://github.com/owenversteeg/min
*
* translated to stylus by armornick
*/
// __var-lib.scss
@armornick
armornick / pocket-grid.styl
Created March 16, 2015 06:03
Translation of Pocket Grid to Stylus (https://arnaudleray.github.io/pocketgrid/)
/*! PocketGrid 1.1.0
* Copyright 2013 Arnaud Leray
* MIT License
*
* translated to stylus by armornick
*/
/* Border-box-sizing */
$use-border-box {
&, &:after, &:before {
@armornick
armornick / scut.styl
Created March 16, 2015 06:05
Translation of Scut to Stylus (https://davidtheclark.github.io/scut/)
/*
* Scut, a collection of Sass utilities
* to ease and improve our implementations of common style-code patterns.
* v1.1.2
* Docs at http://davidtheclark.github.io/scut
*
* Translated for Stylus by armornick
*/
scut-clearfix() {
@armornick
armornick / ln.js
Created March 19, 2015 09:19
A featureless implementation of the UNIX ls utility using Node and Shelljs
// module imports
var ln = require('shelljs').ln,
test = require('shelljs').test,
exit = require('shelljs').exit,
path = require('path');
// command line argument parsing
var opts = require("nomnom")
.option('symbolic', {
@armornick
armornick / responsive-nav.html
Last active August 29, 2015 14:17
First responsive navigation test from scratch
<!DOCTYPE html>
<!--
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
@armornick
armornick / manual-off-canvas.html
Last active August 29, 2015 14:17
My first manual off-canvas menu test from scratch (and ongoing testing)
<!DOCTYPE html>
<!--
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
/**
* Default Body Class Styles
*/
.rtl {}
.home {}
.blog {}
.archive {}
.date {}
.search {}
@armornick
armornick / portable_node.bat
Last active August 29, 2015 14:20
Portable Node Shell script for Windows
@echo off
:: set the local configuration directory --------------
:: NOTE: also change nodevars.bat to use this instead of %APPDATA%
set NODE_PORTABLE_PREFIX=%~dp0local
:: NPM CONFIGURATIOn ----------------------------------
:: set npm_config_key=value
:: ----------------------------------------------------
set npm_config_prefix=%NODE_PORTABLE_PREFIX%
@armornick
armornick / flexbox.less
Created June 6, 2015 14:09
Less Flexbox mixins (translation from sass)
// mixins based on code from:
// https://github.com/mastastealth/sass-flex-mixin/blob/master/_flexbox.scss
.flexbox() {
display: -webkit-box;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: flex;
}