A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<title>Grid to Tree Drag and Drop Example</title> | |
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" /> | |
<link rel="stylesheet" type="text/css" href="../shared/example.css" /> | |
<script type="text/javascript" src="../../bootstrap.js"></script> | |
<script type="text/javascript" src="../shared/examples.js"></script> |
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
// http://bit.ly/qDefer | |
$(function(){$('script[type="text/javascript/defer"]').each(function(){$(this).clone().attr('type','').insertAfter(this)})}); |
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
// Defining Colors | |
$white_chocolate: #A99386; | |
$milk_chocolate : #523027; | |
$caramel_chocolate: #9C6D51; | |
$dark_chocolate : #5D4446; | |
$silver_spoons: #a79c8e; | |
$strawberry_chocolate: #f1bbba; | |
$strawberry_mousse: #EB9F9F; |
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
// response to https://gist.github.com/yuval-a/d5794cc1439c08af085f | |
// via linkedin post https://www.linkedin.com/groups/121615/121615-6135714090246553602 | |
// specifically tip #3, | |
// property === undefined is faster than hasOwnProperty(property) | |
// I'm not sure what the intent is, because the two checks compare different things... | |
var a = { name: 'aaaaaa' }; | |
a.name === undefined // false (expected) | |
a.hasOwnProperty('name') // true (expected) |
This a collection of interesting links found in The Imposter's Handbook by Rob Conery.
Content:
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
/* | |
It's now a package. You can find it here: | |
https://github.com/joshnuss/svelte-local-storage-store | |
*/ | |
// Svelte store backed by window.localStorage | |
// Persists store's data locally |
I was poking around trying to figure out all the packages I have access to publish and got curious. So I write this little script to determine the download stats for all the packages I have publish access to.
Feel free to try it yourself. Just change the username passed to getUserDownloadStats
.
By default, the stats are sorted by their average daily downloads (descending). That should give you an idea of the most "popular" package of a given user relative to how long that package has been around.
You can use it with npx
like so: