A Pen by A Non Ymous on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* I always forget this so I'm making it a gist */ | |
pre { | |
white-space: pre; /* CSS 2.0 */ | |
white-space: pre-wrap; /* CSS 2.1 */ | |
white-space: pre-line; /* CSS 3.0 */ | |
white-space: -pre-wrap; /* Opera 4-6 */ | |
white-space: -o-pre-wrap; /* Opera 7 */ | |
white-space: -moz-pre-wrap; /* Mozilla */ | |
white-space: -hp-pre-wrap; /* HP Printers */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ecmads-container | |
.page-encrypt.pageContainer | |
.tabflag | |
.inner | |
.wrap | |
span.icon | |
h2.text Encrypt | |
div.subpane | |
.results |
I hereby claim:
- I am bonpixel on github.
- I am bryannichols (https://keybase.io/bryannichols) on keybase.
- I have a public key whose fingerprint is 91E2 2AD4 C7F8 DE98 6574 0CC2 5D55 84F9 1433 084D
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'json' | |
def http_get_request(url) | |
puts "http_get: #{url}" | |
response = Net::HTTP.get(URI(url)) | |
if response['You should try JSON'] | |
http_get_request(url.sub 'challenge?id', 'challenge.json?id') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A Little example of recursion | |
**/ | |
(function(){ | |
var flatten = function(toFlatten){ | |
var flatArr = [], | |
result, | |
tmp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = require('../config/config'); | |
var http = require('http'); | |
var Measured = require('measured'); | |
module.exports = (function(){ | |
var metricsServer = { | |
// Create default collection of collections | |
collections : { | |
gauges: new Measured.createCollection('gauges'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('message', 'Line:' + (function(){ | |
var orig = Error.prepareStackTrace; | |
Error.prepareStackTrace = function(_, stack){ return stack; }; | |
var err = new Error; | |
Error.captureStackTrace(err, arguments.callee); | |
var stack = err.stack; | |
Error.prepareStackTrace = orig; | |
return stack; | |
})()[1].getLineNumber()); |