Skip to content

Instantly share code, notes, and snippets.

💭
Working on Bedrock2

Wolfr Wolfr

💭
Working on Bedrock2
View GitHub Profile
View timekeeper.js
// Node timekeeper
// Used to parse output from iCal to CSV (tab delimited) that can be imported in numbers
// You need to put the contents in a file called test.txt in the same folder as timekeeper.js
var fs = require('fs')
fs.readFile('test.txt', 'utf8', function (err,data) {
if (err) {
return console.log(err);
}
View gist:6f801c33fc98be19cd02
/* Spinner
========================================================================== */
// size of small spinner
$spinner-size: 16px;
// size of big spinner
$spinner-big-size: 32px;
// border size of small spinner
View gist:2b2f9985b569c0a413a8
/* Table cell alignment
========================================================================== */
td.ar,
th.ar {
text-align: right !important;
}
td.ac,
th.ac {
View gist:25942688f1f7312897ae
smartctl 6.3 2014-07-26 r3976 [x86_64-apple-darwin14.0.0] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Apple SD/SM/TS...E/F SSDs
Device Model: APPLE SSD SM256E
Serial Number: S0XENYBCB41370
LU WWN Device Id: 5 002538 043584d30
Firmware Version: CXM09A1Q
User Capacity: 251,000,193,024 bytes [251 GB]
View gist:24da7e8246f16a53ffd1
/* Color definitions
========================================================================== */
$blue-lighter: #BCD6EA;
$blue-lightest: #ECF3F7;
$blue-light: #85B5D9;
$blue: #09B3DF;
$red: #D54026;
$red-light: #EC9F92;
$brown: #60220E;
View gist:81032f28b3a9d4910d55
@registerTask 'generateRandomLengthFile', () ->
# Generate random length file
var myRandomLengthString = 'todo'
# Write the file
scssfile = grunt.file.write("my-includes-folder/includes.html", myRandomLengthString)
View gist:105675
$(document).ready(function() {
$(".content a:has(img)").addClass('linkedImage');
});
@Wolfr
Wolfr / fadein.css
Created Jul 27, 2011
Fade in animation
View fadein.css
/* Fade in animation */
@-webkit-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
View inheritance_prevention.css
@media all and (min-width: 500px) and (max-width: 700px) {
/* Styles constrained to 500-700px */
}
View gist:1272232
.box {
margin: 30px;
width: 500px;
height: 30px;
border: 1px solid #999;
box-shadow: 2px 2px 4px rgba(0,0,0,0.25);
}
You can’t perform that action at this time.