Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>HTML5 Template</title> | |
<link rel="stylesheet" href="style.css"> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
</head> | |
<body> | |
</body> |
Gist is getting block |
DirectoryIndex index.php | |
FallbackResource /slim/new/index.php |
table | |
----------------- |
var fs = require('fs'); | |
//this is the path that QTNetwork classes uses for caching files for it's http client | |
//the path should be the one that has 16 folders labeled 0,1,2,3,...,F | |
exports.cachePath = '/path/to/phantomjs/cache/data/folder'; | |
//this is the extension used for files in the cache path | |
exports.cacheExtension = "d"; | |
//the resources that are to be saved |
// NOTE: I added the .js extension to this gist so it would have syntax highlighting. This file should have NO file extension | |
{ | |
// Settings | |
"passfail" : false, // Stop on first error. | |
"maxerr" : 100, // Maximum error before stopping. | |
// Predefined globals whom JSHint will ignore. | |
"browser" : true, // Standard browser globals e.g. `window`, `document`. |
var gulp = require('gulp'); | |
var dest = { | |
preDirectory : 'pre', | |
directory : 'dist', | |
bundle : '/' + 'all.js' | |
}; | |
var src = { | |
webserver : '.', |
var lib = require('./patch.js'); | |
var Sequelize = require('sequelize'); | |
var sequelize = new Sequelize('sqlite://dbname', {dialectModulePath: 'sql.js'}); | |
var User = sequelize.define('user', { | |
username: Sequelize.STRING, | |
birthday: Sequelize.DATE | |
}); |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
git clone --bare url .git | |
[git clone --bare https://github.com/planetoftheweb/angular2.git .git] | |
git config --bool core.bare false #switch the bare repo to a normal version of the repo | |
git reset --hard |