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' | |
}); |
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
server { | |
listen 80; | |
server_name example.com; | |
proxy_cache one; | |
proxy_cache_lock on; | |
proxy_cache_valid 1m; | |
location /a/ { | |
proxy_pass http://127.0.0.1:5000; | |
} | |
location /b/ { |
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
proxy_cache_path /var/nginx/cache/site_cache levels=1:2 keys_zone=site:256m max_size=4096m inactive=10m; | |
location { | |
proxy_cache_use_stale updating timeout http_500 http_502 http_504; | |
proxy_cache site; | |
proxy_cache_lock on; | |
proxy_cache_key $common_cache_key; | |
proxy_cache_valid 1m; | |
proxy_cache_lock_timeout 60s; | |
ssi on; |
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', | |
actions: { | |
test() { | |
console.log(arguments); | |
} | |
} | |
}); |
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', | |
actions: { | |
keyUp() { console.log( "ku:", arguments) }, | |
keyPress() { console.log( "kp:", arguments) } | |
} | |
}); |
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', | |
actions: { | |
prevent(e) { | |
console.log("here we are"); | |
e.preventDefault(); | |
return 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'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
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 v5.10; | |
use strict; | |
use warnings; | |
use Marpa::R2; | |
my $syntax = <<'END'; | |
:default ::= action => ::first | |
:start ::= content | |
content ::= name ':' value |
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
rules L0: | |
G0 R0 'BEGIN:VCARD' ::= [B] [E] [G] [I] [N] [\:] [V] [C] [A] [R] [D] | |
G0 R1 'VERSION:4.0' ::= [V] [E] [R] [S] [I] [O] [N] [\:] [4] [\.] [0] | |
G0 R2 'END:VCARD' ::= [E] [N] [D] [\:] [V] [C] [A] [R] [D] | |
G0 R3 ':' ::= [\:] | |
G0 R4 '.' ::= [\.] | |
G0 R5 group ::= A_D_D | |
G0 R6 name ::= A_D_D | |
G0 R7 ';' ::= [\;] | |
G0 R8 '=' ::= [\=] |
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
<script> | |
jQuery(document).ready(function($) { | |
(function(Registry) { | |
$.Sports.Registry | |
.set('tag_id', '1044511') | |
})(jQuery.Sports.Registry); | |
}); | |
</script> |
NewerOlder