Skip to content

Instantly share code, notes, and snippets.

View teamgroove's full-sized avatar

René teamgroove

  • SMILEUPPS-F091BA1E67
  • -`ღ´-
View GitHub Profile
@teamgroove
teamgroove / index.js
Created May 25, 2014 20:50
requirebin sketch
// example using the raf module from npm. try changing some values!
var requestAnimationFrame = require("raf")
var canvas = document.createElement("canvas")
canvas.width = 500
canvas.height = 500
document.body.appendChild(canvas)
var context = canvas.getContext("2d")
@teamgroove
teamgroove / index.js
Created May 25, 2014 21:10
requirebin sketch
// example using the raf module from npm. try changing some values!
var requestAnimationFrame = require("raf")
var canvas = document.createElement("canvas")
var Faker = require('Faker');
var randomName = Faker.Name.findName(); // Rowan Nikolaus
var randomEmail = Faker.Internet.email(); // Kassandra.Haley@erich.biz
var randomCard = Faker.Helpers.createCard();
console.log(randomName);
@teamgroove
teamgroove / index.js
Created May 25, 2014 21:15
requirebin sketch
var Faker = require('Faker');
var term = require('hypernal')()
var tablify = require('tablify').tablify
var request = require('browser-request')
var url = require('url')
var parsedURL = url.parse(window.location.href, true)
@teamgroove
teamgroove / index.js
Created June 25, 2014 11:19
requirebin sketch
var parseXlsx = require('voxel-engine');
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icons/core-icons.html">
@teamgroove
teamgroove / index.html
Created July 15, 2014 22:10
A Pen by teamgroove.
<div class="container highlight2">
<fieldset class="activate">
<input type="radio" id="c11" name="c1" value="1" checked="checked"/> <label for="c11">hello</label>
<input type="radio" id="c12" name="c1" value="2"/>
<label for="c12">hello</label>
<input type="radio" id="c13" name="c1" value="3"/> <label for="c13">hello</label>
@teamgroove
teamgroove / index.js
Created July 31, 2014 11:56
requirebin sketch
var p = require('categorizr');
console.log(p)
@teamgroove
teamgroove / gist:47b8d70e5718e449383b
Created January 22, 2015 14:16
grep recursive for matching pattern without find
grep -rl "pattern" . > output.lst
@teamgroove
teamgroove / gist:09496e80738d04807995
Created January 23, 2015 14:04
copy to dest path from filelist.lst
#remove the . in the filelist
#sed -i -e 's/^.//g' filelist.txt
#finally
rsync --files-from=filelist.lst . /dest