If you come across this list by happen-stance on the internet, feel free to get started on them! Also, ping me so that I can help with the contributions!
- Run your personal bashrc remotely (add a layer of abstraction over SSH)
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Focus Example</title> | |
<script type="text/javascript" src="EventUtil.js"></script> | |
</head> | |
<body> | |
<p>The textbox will receive focus as soon as the page loads. You can then start typing.</p> | |
<form method="post" action="javascript:alert('Form submitted!')" id="myForm"> | |
<div> |
If you come across this list by happen-stance on the internet, feel free to get started on them! Also, ping me so that I can help with the contributions!
angular.module('app', ['ui.router']) | |
.config([ | |
'$stateProvider', | |
'$urlRouterProvider', | |
function($stateProvider, $urlRouterProvider) { | |
'use strict'; | |
$stateProvider | |
.state('parent', { | |
abstract: true, |
function cb { | |
git status | grep "On branch " | cut -c 11- | |
} | |
alias gpucb=' git push upstream $(cb)' | |
alias gpocb=' git push origin $(cb)' | |
alias gplucb='git pull upstream $(cb)' | |
alias gplocb='git pull origin $(cb)' |
// ES6 Array.prototype.fill polyfill: | |
// ================================== | |
// From Mozilla: http://mzl.la/1umD1jc | |
if (!Array.prototype.fill) { | |
Array.prototype.fill = function(value) { | |
if (this == null) { | |
throw new TypeError('this is null or not defined'); | |
} | |
var O = Object(this); | |
var len = O.length >>> 0; |
// loggers: | |
var l = console.log.bind(window.console); | |
var li = function(i){ | |
return function() { | |
l.apply(window.console, Array.prototype.slice.call(arguments,i,i+1)) | |
}; | |
}; | |
var ln = function(n){ | |
return function() { | |
l.apply(window.console, Array.prototype.slice.call(arguments,0,n)) |
A curated list by Eric Elliott and friends. Suggest links in the comments below.
This is a very exclusive collection of only must-have JavaScript links. I'm only listing my favorite links. Nothing else makes the cut. Feel free to suggest links if you think they're good enough to make this list. The really curious should feel free to browse the comments to find other links. I can't guarantee the quality of links in the comments.
Some of these links are affiliate links, meaning that if you make a purchase, I might earn a little money. This has absolutely no bearing on whether or not links make the list. None, whatsoever. However, it does allow me more resources to fight poverty with code. Every little bit counts.
let blacklists = ["https://mail.google.com/*","http://www.codeshare.io/*","https://inbox.google.com/*","https://www.shortcutfoo.com/*","https://binatechnologies.atlassian.net/*","https://onlinedispute.transunion.com/*","http://vim-adventures.com/*","http://student.kaptest.com/*","http://www.keybr.com/*", "http://configurator.input.club/"] |
#!/bin/bash | |
FILE=$1; | |
if [[ $FILE != *".gz"* ]] | |
then | |
echo "Please use a gzipped file" | |
exit 1 | |
fi |