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
version: "3" | |
services: | |
# Core API services are pinned, HA is provided for functions. | |
gateway: | |
volumes: | |
- "/var/run/docker.sock:/var/run/docker.sock" | |
ports: | |
- 8080:8080 | |
image: functions/gateway:0.5.5 |
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
import Ember from 'ember'; | |
const { | |
computed: { alias } | |
} = Ember; | |
export default Ember.Controller.extend({ | |
title: alias('model.title'), | |
data: alias('model.data'), | |
loading: false, |
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
import Ember from 'ember'; | |
const { | |
set | |
} = Ember; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
changed: "nope", | |
actions: { |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
names: ['Stefan', 'Miguel', 'Tomster', 'Pluto'], | |
actions: { | |
foo: function() { | |
} | |
} | |
}); |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
names: ['Stefan', 'Miguel', 'Tomster', 'Pluto'], | |
actions: { | |
foo() { | |
} | |
} | |
}); |
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
import Ember from 'ember'; | |
import { task, timeout } from 'ember-concurrency'; | |
const { | |
set, get | |
} = Ember; | |
export default Ember.Controller.extend({ | |
queryParams: ['query'], | |
search: task(function * (query) { |
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
### Keybase proof | |
I hereby claim: | |
* I am karlfreeman on github. | |
* I am karlfreeman (https://keybase.io/karlfreeman) on keybase. | |
* I have a public key whose fingerprint is 798E D2DA 6BB1 D29D 47F8 DCAF 4596 F369 2CE9 735E | |
To claim this, I am signing this object: |
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
class Edit | |
include Lotus::Action | |
def initialize(repository = Article) | |
@repository = repository | |
end | |
def call(params) | |
raise ArguementError unless params[:foo] | |
@article = @repository.find params[:id] |
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
Post-install message from bcrypt-ruby: | |
####################################################### | |
The bcrypt-ruby gem has changed its name to just bcrypt. Instead of | |
installing `bcrypt-ruby`, you should install `bcrypt`. Please update your | |
dependencies accordingly. | |
####################################################### |
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
Post-install message from bcrypt-ruby: | |
####################################################### | |
The bcrypt-ruby gem has changed its name to just bcrypt. Instead of | |
installing `bcrypt-ruby`, you should install `bcrypt`. Please update your | |
dependencies accordingly. | |
####################################################### |
NewerOlder