note: I converted this script into the much easier to install joinopenwifi
module on NPM
see https://github.com/maxogden/joinopenwifi#joinopenwifi for installation instructions
note: I converted this script into the much easier to install joinopenwifi
module on NPM
see https://github.com/maxogden/joinopenwifi#joinopenwifi for installation instructions
<canvas class="c"></canvas> |
This is a work in progress. ... Markdown ref: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
Excellent ref:
Very complete: Sublime Text 2 Keyboard Shortcuts Cheat Sheet (Win, OS X and Linux):
this worked very nice for a single page site | |
``` | |
wget \ | |
--recursive \ | |
--page-requisites \ | |
--convert-links \ | |
[website] | |
``` | |
wget options |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
"time" | |
) | |
const numWorkers = 3 |
[user] | |
name = Ben Hyrman | |
email = ben.hyrman@gmail.com | |
[core] | |
autocrlf = true | |
editor = vim | |
excludesfile = C:\\Users\\Ben\\Documents\\gitignore_global.txt | |
[credential] | |
helper = !~/AppData/Roaming/GitCredStore/git-credential-winstore | |
[merge] |
class GadgetController : Controller { | |
// Each MVC controller has a complementing '*ControllerContext' class. | |
private readonly IGadgetControllerContext _context; | |
GadgetController() | |
: this(new GadgetControllerContext()) { } | |
// Unit testing ctor. Allows passing in mock repositories. | |
GadgetController(IGadgetControllerContext context) { | |
_context = context; |
package main | |
import ( | |
"encoding/base64" | |
"net/http" | |
"strings" | |
) | |
type handler func(w http.ResponseWriter, r *http.Request) |
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the \
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)* {} | |
tag {} | |
[attribute] {} | |
[attribute="value"] {} | |
.class {} |