Skip to content

Instantly share code, notes, and snippets.

View rafszul's full-sized avatar

rafal szulczewski rafszul

View GitHub Profile

i think numbers - i do #webdev, #ux and business analysis - ip law - digitally twisted with strong tendency to obsess over data, meaning and usability

london, uk · https://github.com/rafszul - http://rafszul.github.io/ - http://codepen.io/rafszul/

as a "licensed fool" on an admin team and being preoccupied with management of a large social network of professionals from music and media industries i developed skills which once my licence expired gave me the potential to hack almost any web technology and perform seemingly useless but often amusing tricks within the web browser.

make sure you have npm installed

get the Stamplay CLI by running the following command:

npm install -g stamplay-cli

This will provide you with the globally accessible stamplay command.

bower install materialize angular angular-stamplay stamplay-sdk --save

'use strict';
var gulp = require('gulp'),
svgSprite = require('gulp-svg-sprite'),
plumber = require('gulp-plumber'),
baseDir = 'svg/base/dir', // <-- Set to your SVG base directory
svgGlob = '**/*.svg', // <-- Glob to match your SVG files
outDir = 'output/dir', // <-- Main output directory
config = {
"log": "info",
#sidebar
.sidebar-item.open
.title Item 1
.info
label Some controls
input(type='checkbox')
label More controls
input(type='checkbox')
@rafszul
rafszul / learn.lua
Last active August 29, 2015 14:22 — forked from tylerneylon/learn.lua
-- Two dashes start a one-line comment.
--[[
Adding two ['s and ]'s makes it a
multi-line comment.
--]]
----------------------------------------------------
-- 1. Variables and flow control.
----------------------------------------------------
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My New Template</title>
<meta name="description" content="">
<meta name="keywords" content="">
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<div class="container">
<div class="child">Center Me!</div>
</div>
@rafszul
rafszul / fabric-template.html
Created May 3, 2015 05:22
Fabric.js template html file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="https://rawgit.com/kangax/fabric.js/master/dist/fabric.js"></script>
</head>
<body>
<canvas id="c" width="300" height="300" style="border:1px solid #ccc"></canvas>
<script>
(function() {