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
<?php | |
/* PHP script to bulk import issues in json format from a file to a GitHub repository | |
* | |
* The json in the uploaded file should contain an array of issues at the top level. | |
* Fields in the json mapped to the issue title and body (nothing else is supported) | |
* are specified in the submission form. | |
* | |
* Depends on the php-github-api from here: https://github.com/ornicar/php-github-api | |
*/ |
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
function evalTest(val1, val2, val3) | |
{ | |
print("val1: "+val1+", val2: "+val2+", val3: "+val3); | |
} | |
int val = 0; | |
int arr = { ++val, ++val, ++val }; | |
print("arr: ["+arr[0]+", "+arr[1]+", "+arr[2]+"]"); |
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
function evaluationTest(val1:Number, val2:Number, val3:Number) { | |
trace("val1: "+val1+", val2: "+val2+", val3: "+val3); | |
} | |
var val:Number = 0; | |
var arr:Array = [++val, ++val, ++val]; | |
trace("arr: ["+arr[0]+", "+arr[1]+", "+arr[2]+"]"); | |
val = 0; | |
evaluationTest(++val, ++val, ++val); |
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
int val = 0; | |
int[] arr = {++val, ++val, ++val}; | |
System.out.println("arr: ["+arr[0]+", "+arr[1]+", "+arr[2]+"]"); | |
val = 0; | |
evaluationTest(++val, ++val, ++val); | |
void evaluationTest(int val1, int val2, int val3) { | |
System.out.println("val1: "+val1+", val2: "+val2+", val3: "+val3); | |
} |
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
$this->pdo = new PDO("mysql:host=".$this->host."; dbname=".$this->databaseName, | |
$this->user, $this->password, | |
array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8")); |
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
/** | |
* Play the game. | |
*/ | |
public function playGame():Void | |
{ | |
gotoAndStop("Level"); | |
} |
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 us.benic.matt.App; | |
/** | |
* Menu for the Flash Workflow demonstration. | |
* @author Matt Benic | |
*/ | |
class us.benic.matt.Menu extends MovieClip | |
{ | |
/** | |
* Play button. |
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
/** | |
* Handles an onRelease event. | |
* @param source The MovieClip that triggered the onRelease event. | |
*/ | |
public function onButtonReleaseHandler(source:MovieClip):Void | |
{ | |
switch(source) { | |
case playBtn: | |
App.getInstance().playGame(); | |
break; |
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 us.benic.matt.App; |