This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var _ = require('lodash'); | |
var xlsx = require('node-xlsx'); | |
var prepareString = function(str) { | |
var _str = String(str).trim(); | |
return (str == null || !_str.length) ? null : _str; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var _ = require('lodash'); | |
var xlsx = require('node-xlsx'); | |
var prepareString = function (str) { | |
var _str = String(str).trim(); | |
return (str == null || !_str.length) ? null : _str; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//VARIABLES | |
$black: #000; | |
$dark-blue: #225378; | |
$med-blue: #1695a3; | |
$light-blue: #acf0f2; | |
$white: #fff; | |
$orange: #eb7f00; | |
//MIXINS | |
@mixin header($size: 25px) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//MOUSE | |
var | |
mouse = require("mouse").create(casper), | |
colorizer = require('colorizer').create('Colorizer'); | |
//Available color names are black, red, green, yellow, blue, magenta, cyan and white | |
//EVENTS | |
casper.on('remote.message', function(msg) { | |
this.echoRemote(msg); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"discography": { | |
"artist": "Modest Mouse", | |
"album": [ | |
{ | |
"title": "Good News For People Who Love Bad News", | |
"year": "2004", | |
"tracks": { | |
"total": "16", | |
"track": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<discography> | |
<artist><![CDATA[Modest Mouse]]></artist> | |
<album> | |
<title><![CDATA[Good News For People Who Love Bad News]]></title> | |
<year>2004</year> | |
<tracks total="16"> | |
<track duration="0:10">Horn Intro</track> | |
<track duration="4:33">The World At Large</track> | |
<track duration="3:28">Float On</track> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getKey(evt) { | |
var | |
keyName, | |
keyMap, code = evt.keyCode, | |
isShift = evt.shiftKey ? true : false, | |
isCtrl = evt.ctrlKey ? true : false, | |
isAlt = evt.altKey ? true : false; | |
keyMap = { | |
8: 'BACK_SPACE', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
padding: 0; | |
margin: 0; | |
} | |
#footer { | |
position:fixed; | |
padding:0; | |
margin:0; | |
left:0px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Numerous always-ignore extensions | |
*.bak | |
*.diff | |
*.err | |
*.orig | |
*.log | |
*.rej | |
*.swo | |
*.swp | |
*.vi |
NewerOlder