This file contains hidden or 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
{"typeId":"CPU","uid":"3","title":"bschulze-bb-test","head":{"functionName":"(root)","url":"","lineNumber":0,"columnNumber":0,"bailoutReason":"","id":1,"scriptId":0,"hitCount":0,"children":[{"functionName":"runLoop","url":"/Users/bschulze/Projects/tesseract-runtime/packages/common/out/executor/worker/looper.js","lineNumber":17,"columnNumber":18,"bailoutReason":"","id":2,"scriptId":92,"hitCount":0,"children":[{"functionName":"execute","url":"/Users/bschulze/Projects/tesseract-runtime/packages/common/out/executor/worker/runner.js","lineNumber":44,"columnNumber":18,"bailoutReason":"","id":3,"scriptId":95,"hitCount":0,"children":[{"functionName":"exports.default","url":"/Users/bschulze/Projects/tesseract-runtime/packages/common/out/utils/make-trace.js","lineNumber":3,"columnNumber":19,"bailoutReason":"","id":4,"scriptId":1253,"hitCount":0,"children":[{"functionName":"WrappedPromise","url":"/Users/bschulze/Projects/tesseract-runtime/packages/common/node_modules/async-listener/es6-wrapped-promise.js","lineNumber":7 |
This file contains hidden or 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
const log = { | |
safeError: (...args) => console.log(...args) | |
}; | |
function ResourceError({ name, message, component }, errorOverride) { | |
this.name = name; | |
this.message = message; | |
const temp = new Error(); |
This file contains hidden or 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
'use strict'; | |
const http = require('http'); | |
let count = 0; | |
setInterval(() => { | |
http.get({ | |
host: 'neverssl.com' |
This file contains hidden or 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
import React, {Component, PropTypes} from 'react'; | |
export default class ${NAME} extends Component { | |
static propTypes = {}; | |
constructor() { | |
super(); | |
this.state = {}; | |
} |
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.feed { | |
a { | |
&:before { | |
color:green; |
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// current | |
.feed { | |
a { | |
&:before { | |
color:green; |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<title>Placeholders for IE<10</title> | |
<style> | |
div.row { | |
clear: both; | |
float: left; | |
} |
This file contains hidden or 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
/(?!\/\/)(\/)(?!.*?(com|net|com\.au|co\.uk))(.*?){1,}(\/i?g?m?y?)/g | |
Example: http://regexr.com/38uu8 | |
TODO: get it working with regular expressions that contain \/ | |
TODO: flags should be allowed in any order or combination |
This file contains hidden or 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
Get a list of all images in a directory and its child directories | |
find . -type f -name *.gif -o -name *.jpg -o -name *.bmp -o -name *.jpeg -o -name *.png | |
Get a count of all images in a directory and its child directories | |
find . -type f -name *.gif -o -name *.jpg -o -name *.bmp -o -name *.jpeg -o -name *.png | wc -l |
This file contains hidden or 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 simple wrapper for the window.console object | |
* | |
* TODO: allow string substitutions: https://developer.mozilla.org/en-US/docs/Web/API/console#Using_string_substitutions | |
*/ | |
var loggy = (function () { | |
var debug = true; | |
this.info = function(msg){ |
NewerOlder