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'; | |
function func1() { | |
alert('func1'); | |
} | |
function func2() { | |
alert('func2'); | |
} | |
export default Ember.Controller.extend({ |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
isPlainObject: Ember.computed('options', function() { | |
let options = this.get('options'); | |
return Ember.$.isPlainObject(options); | |
}), | |
jqueryVersion: Ember.$.fn.jquery | |
}); |
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
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
count: 4, | |
rawCount: 4, | |
actions: { | |
update(value) { | |
if (value > 999) { | |
this.set('count', 999); |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
public class BigUInt | |
{ | |
string number; |
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": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Stmt123456789", | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:StartInstances", | |
"ec2:StopInstances", | |
"ec2:DescribeInstances" |
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
if "%1"=="" goto :eof | |
setlocal enabledelayedexpansion | |
pushd %1\app | |
echo Set WshShell = Wscript.CreateObject("Wscript.Shell")>commands.vbs | |
echo WshShell.SendKeys "pushd %1{ENTER}">>commands.vbs | |
for /d %%d in (*) do ( | |
if not "%%d"=="instance-initializers" if not %%d==locales if not %%d==styles if not %%d==templates if not "%%d"=="torii-adapters" ( | |
pushd %%d | |
set folderName=%%d | |
set generator=!folderName:~0,-1! |