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 allibilliHTTP | |
{ | |
import mx.rpc.events.ResultEvent; | |
import mx.rpc.http.HTTPService; | |
public class HttpUtil | |
{ | |
public var http:HTTPService=new HTTPService(); | |
//private static var serverURL:String="http://localhost:8080/AlliBilli/"; | |
private static var serverURL:String="http://services.allibilli.com/xml/"; |
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
<s:Application....> | |
<fx:Style> | |
.testCustom { | |
skin: ClassReference("skins.TestCustomSkin"); | |
} | |
</fx:Style> | |
<mx:Button id="accordion" | |
styleName="TestCustomSkin" .../> | |
</s:Applicartion> |
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
<mx:Canvas width="200" height="100%" id="rightCanvas"> | |
<mx:Box width="100%" height="100%" styleName="fseControlBar"> | |
</mx:Box> | |
<mx:Box width="100%" height="100%" styleName="fseControlBar" backgroundAlpha="1"> | |
<mx:filters> <flash.filters:BevelFilter xmlns:flash.filters="flash.filters.*" | |
angle="90" | |
blurX="1" | |
blurY="1" | |
distance="1" |
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
<mx:Resize id="rightShrink" | |
widthTo="25" | |
target="{rightCanvas}" | |
duration="400" | |
effectEnd="rightBoxLbl.visible=false; rightAcc.visible = false; "/> | |
<mx:Resize id="rightGrow" | |
widthTo="180" | |
target="{rightCanvas}" | |
duration="400" | |
effectEnd="rightAcc.visible = true; rightBoxLbl.visible=true;"/> |
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
allXML.addEventListener(AlliBilliEvent.ACC_TREE_BUILD, buildTree_in_acc); | |
allXML.addEventListener(AlliBilliEvent.START_BUILD_UI, startBuildingUI); | |
addEventListener(MyCustomEvent.MyFormSearchEvent, alliBilliSearchResult); | |
addEventListener(AlliBilliEvent.TAB_REFRESH, refreshTab); | |
this.stage.removeEventListener(FullScreenEvent.FULL_SCREEN, this.fullScreenHandler); | |
closeButton.removeEventListener(MouseEvent.MOUSE_DOWN, handleMouseDown); |
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
'use strict'; | |
const Alexa = require('alexa-sdk'); | |
const APP_ID = "amzn1.ask.skill.072d9e35-a053-40c9-ba6c-cf7467cd1825"; | |
const SKILL_NAME = 'Space Facts'; | |
const GET_FACT_MESSAGE = "Here's your fact: "; | |
const HELP_MESSAGE = 'You can say tell me a space fact, or, you can say exit... What can I help you with?'; | |
const HELP_REPROMPT = 'What can I help you with?'; |
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
public Mono getName() { | |
Mono myMoana = Mono.just("Moana"); | |
return myMoana; | |
} |
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
{ | |
scheduler = Schedulers.newElastic("FLUX_DEFER", 10, true); | |
ReceiverOptions<Integer, String> options = receiverOptions.subscription(Collections.singleton(topic)) | |
.addAssignListener(partitions -> log.info("Partitions Assigned {}", printPartitions(partitions))) | |
.addRevokeListener(partitions -> log.info("Partitions Revoked {}", printPartitions(partitions))) | |
//.assignment(Collections.singleton(new TopicPartition(topic, 9))) // <-- ** EASY TEST ONLY ** | |
.commitInterval(Duration.ZERO) | |
.commitBatchSize(0); |