This file contains hidden or 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
load("render.star", "render") | |
def main(args): | |
return render.Root( | |
child = render.Text(args["name"]), | |
) | |
This file contains hidden or 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
[core] | |
excludesfile = /Users/dan/configs/.gitignore | |
autocrlf = input | |
quotepath = false | |
pager = less -r | |
[alias] | |
co = checkout | |
br = branch | |
ci = commit | |
st = status |
This file contains hidden or 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
defmodule SomeAPI.Client do | |
use JSONAPIClient | |
host "https://example.com" | |
namespace "api/v1" | |
register_type :users, SomeAPI.User | |
register_type :orgs, SomeAPI.Org | |
end |
This file contains hidden or 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
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
This file contains hidden or 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 { RSVP } = Ember; | |
export default Ember.Controller.extend({ | |
promise: null, | |
resolve: null, | |
reject: null, | |
init() { |
This file contains hidden or 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
commit 6dc7a15bd3b680fe7ded81ea77531ee297a5a732 | |
Author: Dan McClain <[email protected]> | |
Date: Wed Jan 13 16:25:27 2016 -0500 | |
WIP Spike out override of AdapterPopulatedRecordArray to support links | |
diff --git a/app/ext/adapter-populated-record-array.js b/app/ext/adapter-populated-record-array.js | |
new file mode 100644 | |
index 0000000..77ea745 | |
--- /dev/null |
This file contains hidden or 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'; | |
Ember.LinkComponent.reopen({ | |
attributeBindings: ['data-autoid'] | |
}); | |
Ember.TextField.reopen({ | |
attributeBindings: ['data-autoid'] | |
}); |
This file contains hidden or 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.Component.extend({ | |
attributeBindings: ['type', 'value', 'checked', 'style', 'disabled'], | |
tagName: 'input', | |
classNames: ['checkbox__input'], | |
type: 'checkbox', | |
click: function(){ | |
this.sendAction('action'); | |
} |
This file contains hidden or 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
defmodule Logobase.Deserializer do | |
def init(options) do | |
options | |
end | |
def call(conn, _opts) do | |
case Phoenix.Controller.get_format(conn) do | |
"json-api" -> | |
_deserialize(conn) | |
_ -> |
This file contains hidden or 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' | |
}); |
NewerOlder