Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):
(()=>{
markAllVideosAsNotBeingInteresting({
iterations: 1
});
})();
// I'm tired of extensions that automatically: | |
// - show welcome pages / walkthroughs | |
// - show release notes | |
// - send telemetry | |
// - recommend things | |
// | |
// This disables all of that stuff. | |
// If you have more config, leave a comment so I can add it!! | |
{ |
Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):
(()=>{
markAllVideosAsNotBeingInteresting({
iterations: 1
});
})();
Answering the Front-end developer JavaScript interview questions to the best of my ability.
Sometimes you need to delegate events to things.
this
works in JavaScriptThis references the object or "thing" defined elsewhere. It's like "hey, thing I defined elsewhere, I'm talkin' to you."
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
<!-- | |
An Angular View to render a list of Restaurants | |
--> | |
<table class="table table-hover table-striped" ng-controller="RestaurantsController"> | |
<tr ng-repeat="restaurant in restaurants"> | |
<td> | |
<a href="#/menu/{{restaurant.id}}"> | |
<img class="img-rounded pull-left" ng-src="img/restaurants/{{restaurant.shortName}}.jpg"> | |
<b>{{restaurant.name}}</b> | |
</a> |
-- Two dashes start a one-line comment. | |
--[[ | |
Adding two ['s and ]'s makes it a | |
multi-line comment. | |
--]] | |
---------------------------------------------------- | |
-- 1. Variables and flow control. | |
---------------------------------------------------- |
As configured in my dotfiles.
start new:
tmux
start new with session name:
;;; A date library that follows principle of least surprise | |
;;; | |
;;; A few usage examples: | |
;;; | |
;;; user> (now) | |
;;; {:second 24, :minute 10, :hour 0, :type | |
;;; :clojure.contrib.date/DateTime, :year 2009, :month 1, :day 23 | |
;;; :zone "America/New_York"} | |
;;; | |
;;; user> (today) |