I hereby claim:
- I am cwspear on github.
- I am cwspear (https://keybase.io/cwspear) on keybase.
- I have a public key ASAwLIiSBAGa4R9WD7NthgxpTker-RrK96NKcFaQURNMUgo
To claim this, I am signing this object:
// https://gist.github.com/3069522 | |
;(function($, window, document, undefined) { | |
// Prepare our Variables | |
var History = window.History; | |
// Check to see if History.js is enabled for our Browser | |
if (!History.enabled) { | |
return false; | |
} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Blob · CodePen</title> | |
<!-- | |
Copyright (c) 2012 Hakim El Hattab, http://codepen.io/hakimel | |
Permission is hereby granted, free of charge, to any person obtaining |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Blob · CodePen</title> | |
<!-- | |
Copyright (c) 2012 Hakim El Hattab, http://codepen.io/hakimel | |
Permission is hereby granted, free of charge, to any person obtaining |
$('a').each(function(){ | |
if ($(this).prop('href') == window.location.href){ | |
$(this).addClass('selected'); | |
} | |
}); |
<?php | |
$one->one = 1; | |
$two->two->one = 21; | |
$two->two->two = 22; | |
$three->two->one = 31; | |
$return_obj = object_merge($one, $two, $three); | |
// returns: | |
// Array |
# after your other config stuff add: | |
require 'fileutils' | |
on_stylesheet_saved do |file| | |
if File.exists?(file) && File.basename(file) == "typography.css" | |
puts "Moving: #{file}" # optional line, just letting you know what's going | |
FileUtils.mv(file, File.dirname(file) + "/../" + File.basename(file)) | |
end | |
end |
{ | |
"bitwise": true, | |
"eqeqeq": true, | |
"latedef": true, | |
"newcap": true, | |
"noarg": true, | |
"nonew": true, | |
"regexp": true, | |
"trailing": true, |
<i class="macbook"></i> |
<!-- "items" is the items in the full list, "displayed" is the items it'll show after filtering, sorting and paging --> | |
<awesome-list items="users" displayed="displayedUsers"> | |
<div class="pre-table-header"> | |
<!-- input for search placed here --> | |
<awesome-search></awesome-search> | |
<button class="btn btn-primary" ui-sref=".user({ id: 'new' })">Add User</button> | |
</div> | |
<table class="table"> |
I hereby claim:
To claim this, I am signing this object: