Minimalistic view for PivotalTracker Solo-Mode.
The CSS and JS can be loaded into pivotaltracker with extensions like: minimalist
Minimalistic view for PivotalTracker Solo-Mode.
The CSS and JS can be loaded into pivotaltracker with extensions like: minimalist
class Main extends Spine.Controllers | |
constructor : -> | |
super | |
@routes | |
'/app*glob' : -> | |
# do something | |
module.exports = new Main |
class Main extends Spine.Controller | |
constructor : -> | |
super | |
@routes { # called after init routes have been loaded, manual trigger needed if path match. | |
'/app/main' : -> | |
# do stuff | |
}, trigger:true | |
module.exports = Main |
require('spine/lib/manager') | |
class Main extends Spine.Stack | |
routes: | |
'adventure': 'adv' | |
'home': 'home' | |
'information': 'info' | |
controllers: | |
info: Information | |
home: Home |
{ | |
"presets": ["es2015"] | |
} |
Copyright 2017 Quang Van | |
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. | |
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
quang [2:47 AM] | |
Is there anyway to `./run-tutorial.sh` with a different `:websocket-host` ? | |
quang [3:32 AM] | |
I tried added `:websocket-host :js-client-host` to `tutorial` id in `project.clj` but that didn't work... I ended up having to edit the compiled `resources/public/js/tutorial/figwheel/client/socket.js` manually. | |
`JVM_OPTS=-Dfigwheel.port=8001 ./run-tutorial.sh` should do it for JDK8. The console message will still say 8080, but you can ignore it. For JDK 9, you’ll need: `JVM_OPTS="--add-modules java.xml.bind -Dfigwheel.port=8001" ./run-tutorial.sh` |
# Environment varialbes goes here | |
SAY='hello' |
https://www.youtube.com/watch?v=BHhA_ZKjyxo | |
How to manage your remote terminal sessions with tmux. If you keep lots of terminal windows open or use a tiling window manager such as i3, you'll love tmux for doing the same thing on a remote machine. This video covers the basics of using tmux. | |
A quick cheatsheet (partially inspired by http://www.danielmiessler.com/study/t... ): | |
# session management | |
tmux ls (or tmux list-sessions) | |
tmux new -s session-name | |
Ctrl-b d Detach from session |
As configured in my dotfiles.
start new:
tmux
start new with session name: