Skip to content

Instantly share code, notes, and snippets.

View wrumsby's full-sized avatar
💭
what is this even

Walter Rumsby wrumsby

💭
what is this even
View GitHub Profile
@wrumsby
wrumsby / dabblet.css
Created February 13, 2014 02:10
Use an attribute selector to hide when count is 0.
/**
* Use an attribute selector to hide when count is 0.
*/
body {
font-family: sans-serif;
}
.badge {
display: inline-block;
@wrumsby
wrumsby / dabblet.css
Created February 10, 2014 03:46
Messing around in the SMACSS workshop at Webstock.
/**
* Messing around in the SMACSS workshop at Webstock.
*/
/* BASE */
body {
margin: 0;
padding: 0;
background-color: #eee;
font-family: Open Sans, sans-serif;
@wrumsby
wrumsby / names.css
Last active February 9, 2022 09:47
CSS naming convention.
/* Base styles */
body {}
p {}
/* .layout-{name} */
.layout-sidebar {}
@wrumsby
wrumsby / .editorconfig
Created February 6, 2014 23:41
Sample .editorconfig File
root = true
[*]
end_of_line = crlf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
@wrumsby
wrumsby / .jshintignore
Created February 6, 2014 23:40
Sample .jshintignore File
src/js/templates.js
@wrumsby
wrumsby / .jshintrc
Created February 6, 2014 23:39
Sample .jshintrc File
{
"curly": true,
"eqnull": true,
"eqeqeq": false,
"strict": true,
"undef": true,
"browser": true,
"scripturl": true,
"smarttabs": true,
"sub": true,
@wrumsby
wrumsby / Gruntfile.js
Last active December 30, 2015 05:19
Installing NPM dependencies for child projects that use Grunt.
module.exports = function(grunt) {
// ...
grunt.loadNpmTasks('grunt-install-dependencies');
grunt.registerTask('install-npm-dependencies', 'Installs NPM dependencies for child projects that use Grunt.', function () {
var projects = [];
grunt.file.expand('project/*').forEach(function (path) {
if (grunt.file.isDir(path)) {
@wrumsby
wrumsby / dabblet.css
Created November 28, 2013 21:28
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
font-family: sans-serif;
}
.avatar-container {
height: 160px;
@wrumsby
wrumsby / dabblet.css
Created November 28, 2013 21:20
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
font-family: sans-serif;
box-sizing: border-box;
}
.container {
@wrumsby
wrumsby / dabblet.css
Created November 26, 2013 20:19
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
font-family: sans-serif;
box-sizing: border-box;
}
.container {