This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
(function() { | |
class AdminController { | |
constructor(User, Modal) { | |
// Use the User $resource to fetch all users | |
this.users = User.query(); | |
// Our callback function is called if/when the delete modal is confirmed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app = require('koa')(); | |
app | |
.use(require('./router1').prefix('/route1').routes()) | |
.use(require('./router2').prefix('/route2').routes()); | |
app.listen(8000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sleep 2 | |
export HOME=$2 | |
$1 & TEENSYPID=$! | |
sleep 5 | |
xdotool search --class "teensyduino" \ | |
windowfocus \ |
OlderNewer