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
public class Main { | |
public static void main(String[] args) { | |
int[][] numbers = {{1,2,3},{4,5,6}}; | |
// A | |
for (int[] row : numbers) { | |
for (int n : row) { | |
System.out.print(n); |
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.Threading.Tasks; | |
using System.Diagnostics; | |
namespace OutputToConsole | |
{ | |
class Program |
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
/* Universal style sheet */ | |
body { | |
font-family: "Segoe UI", "San Francisco", "Verdana", "Helvetica", sans-serif; | |
} | |
h1 { | |
font-size: 2em; | |
color: #18D; | |
border-bottom: 1px solid #18D; | |
} |
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.Threading.Tasks; | |
namespace TextInterpolation | |
{ | |
class Program | |
{ |
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
<Page | |
x:Class="ClipboardSandbox.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:ClipboardSandbox" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d"> | |
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Padding="20"> |
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
<!doctype html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> | |
<title>Test Game</title> | |
<script type="text/javascript" src="js/easel.js"></script> | |
<script type="text/javascript" src="js/shapeData.js"></script> | |
<script type="text/javascript" src="js/game.js"></script> | |
<link rel="stylesheet" type="text/css" href=""> | |
</head> |
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
/* | |
- A MovieClip is instantiated on the stage. In this example it is called removeMe | |
- A Loader class is created that loads a resource. The Loader class instance is added to the display stack within the removeMe MovieClip instance | |
- Another MovieClip is instantiated on the stage. This example names it clickMe. This MovieClip has an event listener attached to it listening for MouseEvent.CLICK, which then executes a callback function removeLoader() | |
- The removeLoader() event callback removes the Loader class instance from the display stack within the removeMe MovieClip instance | |
/* | |
import flash.display.Loader; | |
import flash.net.URLRequest; | |
import flash.events.MouseEvent; |