-
Let's check you NPM version:
npm -v
if version> 5; we're are good to go, skip to step 2 -
else: let's update the npm!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 48 instances of Ext.decode | |
// 23 instances of Ext.encode | |
// collection size 7 | |
(function() { | |
console.time('test') | |
var x = Ext.decode(temp1.responseText); | |
console.timeEnd('test') | |
console.log(x) | |
})()//test: 0.597ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"sys": { | |
"publishedAt": "2016-06-22T03:52:38.355Z", | |
"space": { | |
"sys": { | |
"type": "Link", | |
"linkType": "Space", | |
"id": "2efkk6oex1yh" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[p5.js]" /> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/processing.js/1.4.8/processing.min.js"></script> | |
</head> | |
<body> | |
<canvas id="canvas1" width="200" height="200" border="1"></canvas> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[p5.js]" /> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/processing.js/1.4.8/processing.min.js"></script> | |
</head> | |
<body> | |
<canvas id="canvas1" width="200" height="200" border="1"></canvas> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function flattenArray(arr) { | |
return arr.reduce((acc, e) => { | |
if(Array.isArray(e)){ | |
return acc.concat(flattenArray(e)); | |
} | |
acc.push(e); | |
return acc; | |
}, []); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// print name of calling program, | |
// list args passed each on a new line, | |
// print time elapsed | |
package main | |
import ( | |
"fmt" | |
"os" | |
"strings" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div className='ui container assets'> | |
<div className='ui row'> | |
{ loading ? | |
<Loading /> : | |
<table className='ui padded table'> | |
<thead> | |
<tr> | |
<th>Asset</th> | |
<th>Platform</th> | |
<th>KeepKey</th> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import App from './App'; | |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import './utils/styles/global-styles.css'; | |
import * as serviceWorker from './services/serviceWorker'; | |
const ws = new WebSocket("ws://0.0.0.0:4000/ws") | |
ws.onopen = () => { | |
// connected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am dviramontes on github. | |
* I am dviramontes (https://keybase.io/dviramontes) on keybase. | |
* I have a public key ASAhg2r6QoKWwdaLWPq5os9l1sSD8M4Q8vjLI9higXOzEQo | |
To claim this, I am signing this object: |