mvn clean compile exec:java -D"exec.mainClass"="org.apache.camel.karavan.generator.KaravanGenerator" -f karavan-generator
cd karavan-core
npm i
cd karavan-designer
npm i
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._free(arrayPointer);emcc C:\00_projects\wasm-experiment\main.c -o C:\00_projects\wasm-experiment\www\sort.html -s NO_EXIT_RUNTIME=1 -s "EXPORTED_RUNTIME_METHODS=['ccall','cwrap']" -s "EXPORTED_FUNCTIONS=['_malloc','_free']" |
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
| 5656921987125678979998760234965456789998768789239876323457896545467894567987232345679209876567998656 | |
| 4349899876234599568987654345894345999987656678945965212348965434356943459876101956798912987459876541 | |
| 5498789854345689467898765456789297898999736567899874323489654321248932398765219897987893498598765432 | |
| 6989598765459789356989878767896345987432125456789985434578965432357953499954398789376789569679876543 | |
| 9875459876569893249876989898965476976521012345699876645689876543456894689875679643234598998789987656 | |
| 8764345987678989139765393959796567965432543457789987887792987654569965678976798432123467899899998867 | |
| 9773239898789678999878212345697679876543656598999999998901298767678976789598987621012345943978929998 | |
| 9652198789894567989992101556789799989854567679659898999992399899789987893459996532136756964569919999 | |
| 8543999674923469879989232345899899998765678789798787899989989929896798932345987643245697897679897899 | |
| 7659896543212359768978943456789997889876789896987656789878679210945679651267898789976789989998786789 |
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.File | |
| fun main(args: Array<String>) { | |
| day1puzzle2() | |
| } | |
| fun countHigher(lines:List<String>) { | |
| var predecessor = Int.MAX_VALUE | |
| var countHigher = 0 |
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 subprocess | |
| def start_instrumentation(package, classname, background=True): | |
| if background: | |
| subprocess.call("adb shell nohup am instrument -w -e debug false -e class '{package}.{classname}' {package}/androidx.test.runner.AndroidJUnitRunner > /dev/null 2>&1".format(package=package, classname=classname)) | |
| else: | |
| subprocess.call("adb shell am instrument -w -e debug false -e class '{package}.{classname}' {package}/androidx.test.runner.AndroidJUnitRunner".format(package=package, classname=classname)) | |
| def clear_batterystats(): |
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
| export class GameOfLife { | |
| // number[][] == Array<Array<number>> | |
| protected game:number[][]; | |
| constructor(game:Array<Array<number>>) { | |
| this.game = game; | |
| } | |
| countLivingNeighbours(row:number, column:number) : number { | |
| let count = 0; |
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 at.stefanhuber.tictactoe; | |
| import android.animation.ObjectAnimator; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.widget.TextView; |
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
| graph = { | |
| "Frankfurt": { | |
| "Würzburg": 111, | |
| "Mannheim": 85 | |
| }, | |
| "Mannheim": { | |
| "Nürnberg": 230, | |
| "Frankfurt": 85, | |
| "Karlsruhe": 67 | |
| }, |
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 | |
| $input = @file_get_contents("php://input"); | |
| $event_json = json_decode($input); |
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
| var client = net.connect(50001, 'electrum.no-ip.org', function() { | |
| var message = JSON.stringify({ | |
| id : 234 , | |
| method : 'blockchain.address.get_balance' , | |
| params : ["1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L"] | |
| }); | |
| client.write(message+"\n"); |
NewerOlder