Skip to content

Instantly share code, notes, and snippets.

View dpowell's full-sized avatar

Dan Powell dpowell

  • Abakas
  • Boston, MA
View GitHub Profile
@dpowell
dpowell / gist:d1c63c7ddd96d9f360c8
Created November 12, 2015 19:16
unum n=asterisk
$ unum n=asterisk
Octal Decimal Hex HTML Character Unicode
052 42 0x2A * "*" ASTERISK
01531 857 0x359 ͙ "͙" COMBINING ASTERISK BELOW
020116 8270 0x204E ⁎ "⁎" LOW ASTERISK
020121 8273 0x2051 ⁑ "⁑" TWO ASTERISKS ALIGNED VERTICALLY
021027 8727 0x2217 ∗ "∗" ASTERISK OPERATOR
021233 8859 0x229B ⊛ "⊛" CIRCLED ASTERISK OPERATOR
023442 10018 0x2722 ✢ "✢" FOUR TEARDROP-SPOKED ASTERISK
023443 10019 0x2723 ✣ "✣" FOUR BALLOON-SPOKED ASTERISK
{
"completions": [
{
"id": 1,
"quiz_id": 8,
"is_completed": true,
"answers": [
{
"id": 1,
"type": "text_answer"
// Generated on 2013-04-24 using generator-webapp 0.1.7
'use strict';
var lrSnippet = require('grunt-contrib-livereload/lib/utils').livereloadSnippet;
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jst: {
compile: {
files: {
'dist/templates.js': ["app/templates/**/*.html"]
}
}
@dpowell
dpowell / body_class_helper.rb
Created October 30, 2011 23:53
BodyClassHelper
module BodyClassHelper
def body_class
qualified_controller_name = controller.controller_path.gsub('/','-')
"#{qualified_controller_name} #{qualified_controller_name}-#{controller.action_name}"
end
end