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
<target name="package-for-iPhone" depends="build-iPhone"> <!--Build your .swf before packinging for iPhone--> | |
<exec executable="${IPHONE_PACKAGER}"> <!--Path to ADT--> | |
<arg line="-package -target '${TARGET}'" /> <!--e.g. ipa-ad-hoc--> | |
<arg line="-provisioning-profile '${MOBILE_PROVISION}'" /> | |
<arg line="-storetype pkcs12" /> | |
<arg line="-keystore '${CERT}'" /> | |
<arg line="-storepass '${CERT_PASSWORD}'" /> | |
<arg line="'${APP_NAME}.ipa'" /> | |
<arg line="'${IPAD_DESCRIPTOR}'" /> | |
<arg line="'${DEPLOY_DIR}/${APP_NAME}.swf'" /> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<application xmlns="http://ns.adobe.com/air/application/2.6"> | |
<id>com.johnlindquist.ipad</id> | |
<filename>MyApp</filename> | |
<name>MyApp</name> | |
<versionNumber>1</versionNumber> | |
<initialWindow> | |
<renderMode>gpu</renderMode> | |
<content>deploy/MyApp.swf</content> | |
<fullScreen>true</fullScreen> |
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
elseif event.phase == "ended" and ghostObject.isReady then | |
-- Finger lifted from screen; fling the Roly Poly! | |
local flingNow = function() | |
-- handle the shot orb and disable screen swiping | |
transition.cancel( ghostTween ) | |
shotOrb.isVisible = false | |
shotArrow.isVisible = false | |
canSwipe = false | |
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
//SomeCommand | |
[Inject] | |
public var mediatorMap:IMediatorMap; | |
[Inject] | |
public var injector:IInjector; | |
[Inject] | |
public var view:View; From Event/Signal/Whatever |
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
namespace a=public ;var d=32,c=a,b=c::String,s:*=b["FROM".toLowerCase()+ | |
"Chart".slice(0, 4)+"Code"]((c|=d)+40,c+41) |
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
<?xml version="1.0"?> | |
<s:Image xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> | |
<s:initialize><![CDATA[ | |
addEventListener(DragGestureEvent.GESTURE_DRAG, gestureDragHandler); | |
dragGesture = DragGesture.add(this, {maxTouchPointsCount: 1}); | |
addEventListener(ZoomGestureEvent.GESTURE_ZOOM, gestureZoomHandler); | |
zoomGesture = ZoomGesture.add(this); | |
]]></s:initialize> |
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
Set WshShell = WScript.CreateObject ("WScript.Shell") | |
Set colProcessList = GetObject("Winmgmts:").ExecQuery ("Select * from Win32_Process") | |
'Check if Corona is already running | |
For Each objProcess in colProcessList | |
If objProcess.name = "Corona Simulator.exe" then | |
vFound = True | |
End if | |
Next | |
If vFound = True then |
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
<!doctype html> | |
<html ng-app> | |
<head> | |
<script src="http://code.angularjs.org/angular-1.0.0rc4.min.js"></script> | |
<script src="todo.js"></script> | |
<link rel="stylesheet" href="todo.css"> | |
</head> | |
<body> | |
<h2>Todo</h2> | |
<div ng-controller="TodoCtrl"> |
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
package org.angularjs; | |
import com.intellij.CommonBundle; | |
import com.intellij.codeInspection.InspectionProfile; | |
import com.intellij.codeInspection.ModifiableModel; | |
import com.intellij.codeInspection.ex.LocalInspectionToolWrapper; | |
import com.intellij.codeInspection.htmlInspections.HtmlUnknownAttributeInspection; | |
import com.intellij.openapi.components.AbstractProjectComponent; | |
import com.intellij.openapi.project.Project; | |
import com.intellij.openapi.ui.Messages; |
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
<!doctype html> | |
<html ng-app="jl"> | |
<head> | |
<title></title> | |
<script type="text/javascript" src="lib/angular-1.0.0rc6.js"></script> | |
<script type="text/javascript"> | |
angular.module('jl', []) | |
.directive('jlMyComponent', function () { | |
return { | |
restrict: 'E', |