What are we trying to observe? Raw object data.
// Objects
var obj = { id: 2 };
obj.id = 3; // obj == { id: 3 }
// Arrays
var arr = ['foo', 'bar'];
arr.splice(1, 1, 'baz'); // arr == ['foo', 'baz'];
What are we trying to observe? Raw object data.
// Objects
var obj = { id: 2 };
obj.id = 3; // obj == { id: 3 }
// Arrays
var arr = ['foo', 'bar'];
arr.splice(1, 1, 'baz'); // arr == ['foo', 'baz'];
SELECT * FROM | |
(SELECT 'desktop' type, | |
NTH(50, quantiles(bytesCSS)) median, | |
NTH(75, quantiles(bytesCSS)) seventy_fifth, | |
NTH(90, quantiles(bytesCSS)) ninetieth | |
FROM [httparchive:runs.latest_pages]), | |
(SELECT 'mobile' type, | |
NTH(50, quantiles(bytesCSS)) median, | |
NTH(75, quantiles(bytesCSS)) seventy_fifth, | |
NTH(90, quantiles(bytesCSS)) ninetieth |
<!doctype html> | |
<html> | |
<head> | |
<title>JS1k 2015 Invitation by Mathieu 'p01' Henri</title> | |
<meta charset="utf-8" /> | |
<meta name="author" content="Mathieu 'p01' Henri, @p01"/> | |
<meta name="viewport" content="width=device-width,initial-scale=1"/> | |
<style> | |
html, body { margin: 0; padding: 0; border: 0; } | |
#c { display: block; } /* kill scrollbars from hell */ |
Watch the demo at bl.ocks.org.
Source and comments on gist.github.com.
I've heard this before:
What I really get frustrated by is that I cannot wrap
console.*
and preserve line numbers
We enabled this in Chrome DevTools via blackboxing a bit ago.
If you blackbox the script file the contains the console log wrapper, the script location shown in the console will be corrected to the original source file and line number. Click, and the full source is looking longingly into your eyes.
using UnityEngine; | |
using UnityEditor; | |
namespace CatchCo.EditorScripts.Util | |
{ | |
public class SetMaterialWithSpriteEditorWindow : EditorWindow | |
{ | |
private Material _material; | |
private bool _needsPositionUpdated; | |
self#key string | |
self#caches object | |
self#clients object | |
self#registration object | |
self#onactivate object | |
self#oninstall object | |
self#onmessage object | |
self#fetch function | |
self#close function | |
self#skipWaiting function |
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
#!/usr/bin/env python | |
# encoding: utf-8 | |
import tweepy #https://github.com/tweepy/tweepy | |
import csv | |
#Twitter API credentials | |
consumer_key = "" | |
consumer_secret = "" | |
access_key = "" |