Skip to content

Instantly share code, notes, and snippets.

Neill Bolton toovs

Block or report user

Report or block toovs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am nbolt on github.
  • I am bolton (https://keybase.io/bolton) on keybase.
  • I have a public key ASB57Gv-vhS45WfQ-6cTNdcdfaJlMzhhS-yWcDBv62svRgo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am nbolt on github.
  • I am bolton (https://keybase.io/bolton) on keybase.
  • I have a public key whose fingerprint is 9AA4 0E9D 9A6C 0FAF 9B79 8EE2 1C70 3AB2 576F 84FE

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am nbolt on github.
  • I am boltn (https://keybase.io/boltn) on keybase.
  • I have a public key whose fingerprint is 47DD DDDC 179E ACE9 B870 5D7E 2104 A20C FAEE 31D9

To claim this, I am signing this object:

View gist:098a6c179acda7d734b97ba875edd57a
Verifying that "nboltn.id" is my Blockstack ID. https://onename.com/nboltn
@toovs
toovs / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View course.css
html,
button,
input,
select,
textarea {
color: #222;
font-size:100%;
}
View course.css
html,
button,
input,
select,
textarea {
color: #222;
font-size:100%;
}
@toovs
toovs / gist:4974595
Created Feb 18, 2013
ZeroCater Challenge
View gist:4974595
import Data.List
primes :: [Int]
primes = nubBy (((>1) .) . gcd) [2..]
isCleanChain :: Int -> Bool
isCleanChain n = (==0) $ mod (sum $ init nums) (last nums)
where
nums = take n primes
View gist:4597523
var reverse = function(stringOrArray) {
if ( typeof(stringOrArray) == 'string' ) {
return stringOrArray.split('').reverse().join('')
} else {
return stringOrArray.reverse()
}
}
var forEach = function(array, callback) {
for (i=0; i < array.length; i++) {
View gist:3290581
$('.star').click(function(){
if ( $(this).hasClass('active') ) {
$(this).removeClass('active').addClass('inactive')
} else {
$(this).removeClass('inactive').addClass('active')
}
})
You can’t perform that action at this time.