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
| Compiling sdl2-sys v0.0.26 (https://github.com/AngryLawyer/rust-sdl2#a3f40ed0) | |
| Running `rustc /home/norbert/.cargo/git/checkouts/rust-sdl2-8facfb557b6c1670/master/sdl2-sys/build.rs --crate-name build-script-build --crate-type bin -C prefer-dynamic -g --cfg feature="default" --out-dir /home/norbert/projects/rust/getting-started/target/build/sdl2-sys-d97611229a2ba47f --emit=dep-info,link -L dependency=/home/norbert/projects/rust/getting-started/target/deps -L dependency=/home/norbert/projects/rust/getting-started/target/deps -Awarnings` | |
| Compiling pkg-config v0.2.1 | |
| Running `rustc /home/norbert/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.2.1/src/lib.rs --crate-name pkg-config --crate-type lib -g -C metadata=fa0aaf6e1b26fdfc -C extra-filename=-fa0aaf6e1b26fdfc --out-dir /home/norbert/projects/rust/getting-started/target/deps --emit=dep-info,link -L dependency=/home/norbert/projects/rust/getting-started/target/deps -L dependency=/home/norbert/projects/rust/getting-started/target/dep |
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
| module Main | |
| main : IO () | |
| main = putStrLn (show y) | |
| y : Int | |
| y = 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
| module Main (main) where | |
| import Control.Monad (unless) | |
| import Prelude hiding (Left, Right) | |
| import System.IO (BufferMode (NoBuffering), hSetBuffering, isEOF, | |
| stdout) | |
| type Stone = Int | |
| data Direction = Up |
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 java.io.FileReader; | |
| import java.io.IOException; | |
| import java.io.BufferedReader; | |
| import java.util.concurrent.Callable; | |
| /** | |
| * Solves Problem 8 | |
| * | |
| * Find the greatest product of five consecutive digits in the 1000-digit number. | |
| * |
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
| > module Main | |
| > where | |
| > import Data.List | |
| Entnimmt einer Liste solange ein Element, bis das Quadrat des Elementes über- | |
| geben an die Funktion f False ergibt. | |
| > takeWhileSquare :: Num a => (a -> Bool) -> [a] -> [a] | |
| > takeWhileSquare f (x:xs) | f (x^2) = x:takeWhileSquare f xs | |
| > | otherwise = [] |
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
| $.ajax({ | |
| type: "GET", | |
| url: $(this).attr('href') + "." + $(this).data("format"), | |
| dataType: "html", | |
| beforeSend: function() { | |
| $("#dialog").dialog("open"); | |
| $("#dialog").dialog("option", "title", "Loading…"); | |
| $("#dialog").html("<div id=\"loadingbar\"></div>"); | |
| $("#dialog").dialog("option", "width", "200px"); | |
| return $("#loadingbar").progressbar({ |
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
| protected override void LoadContent () | |
| { | |
| spriteBatch = new SpriteBatch (GraphicsDevice); | |