You'll need:
- A paid ngrok account
- A reserved domain on ngrok, e.g. the FQDN you're generating certs for
- A registed domain and access to change DNS records
- Install certbot and ngrok
brew cask install certbot ngrok
[ | |
{ "keys": ["super+x"], "command": "clipboard_history_cut" }, | |
{ "keys": ["super+c"], "command": "clipboard_history_copy" }, | |
{ "keys": ["super+v"], "command": "clipboard_history_paste" }, | |
{ "keys": ["super+shift+v"], "command": "clipboard_history_previous_and_paste" }, | |
{ "keys": ["super+pagedown"], "command": "clipboard_history_next" }, | |
{ "keys": ["super+pageup"], "command": "clipboard_history_previous" }, | |
{ "keys": ["super+alt+ctrl+v"], "command": "clipboard_history_choose_and_paste" } |
<!--[if lt IE 7 ]> | |
<script src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> | |
<script>CFInstall.check();</script> | |
<![endif]--> |
#!/bin/bash | |
# install rvm | |
aptitude install -y curl libz-dev | |
curl -L https://get.rvm.io | bash -s stable --ruby | |
source /usr/local/rvm/scripts/rvm | |
gem install fpm | |
# git clone | |
aptitude install -y git |
cd /usr/local | |
sudo chown -R `whoami`:admin ./ | |
git reset --hard | |
git clean -fd | |
cd ~ | |
find /usr/local/Library/Formula -type l -delete | |
brew doctor | |
brew update | |
brew prune | |
brew cleanup |
define(function (require, exports, module) { | |
var _ = require("underscore"); | |
var $ = require("jquery"); | |
var backbone = require("backbone"); | |
var marionette = require("marionette"); | |
var UploadImagesModalView = marionette.LayoutView.extend({ | |
validTansitionStates: ["initial", "activity", "valid", "invalid"], | |
//Wait for relevant code bits to load before starting any tests | |
define(['core.js'], function( core ) { | |
module("Core Tests"); | |
test("Test core methods", function(){ | |
expect(2); | |
equals( 1, 1, "A trivial test"); | |
ok( true, "Another trivial test"); | |
}); |