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
{ | |
"final_space": true, | |
"console_title": true, | |
"console_title_style": "folder", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"horizontal_offset": 0, | |
"vertical_offset": 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
[ | |
{ | |
"name": "Quefrency Matrix Mapping", | |
"css": "@import url(http://fonts.googleapis.com/css?family=Work+Sans);\n.keylabel { font-family: 'Work Sans';}" | |
}, | |
[ | |
"Enc 1\n\n\n\n\n\n\n\n\nA9", | |
"M9\n\n\n\n\n\n\n\n\nA2", | |
{ | |
"x": 0.5 |
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
{"version":1,"notes":"","documentation":"\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n","keyboard":"crkbd/rev1","keymap":"crkbd_rev1_layout_mine","layout":"LAYOUT","layers":[["KC_TAB","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_BSPC","KC_LSFT","LT(2,KC_A)","LSFT_T(KC_S)","LT(3,KC_D)","LCTL_T(KC_F)","KC_G","KC_H","RCTL_T(KC_J)","LT(5,KC_K)","RSFT_T(KC_L)","KC_SCLN","KC_QUOT","KC_LCTL","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","KC_BSLS","KC_LGUI","KC_LALT","KC_SPC","KC_ENT","LT(1,KC_DEL)","LT(4,KC_APP)"],["KC_ESC","KC_EXLM","KC_EQL","KC_LPRN","KC_RPRN","KC_PIPE","KC_UNDS","KC_P7","KC_P8","KC_P9","KC_PPLS", |
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
// | |
// GifSequenceWriter.java | |
// | |
// Created by Elliot Kroo on 2009-04-25. | |
// | |
// This work is licensed under the Creative Commons Attribution 3.0 Unported | |
// License. To view a copy of this license, visit | |
// http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative | |
// Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. |
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
ForkJoinPool forkJoinPool = new ForkJoinPool(2); | |
forkJoinPool.submit(() -> | |
range(1, 1_000_000).parallel().filter(PrimesPrint::isPrime) | |
.collect(toList()) | |
).get(); |
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.*; | |
import java.net.URL; | |
import java.util.concurrent.*; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import javafx.application.Application; | |
import javafx.beans.property.*; | |
import javafx.concurrent.*; | |
import javafx.event.EventHandler; | |
import javafx.scene.*; | |
import javafx.scene.control.*; |
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 javafx.animation.*; | |
import javafx.application.Application; | |
import javafx.beans.property.SimpleDoubleProperty; | |
import javafx.beans.value.ChangeListener; | |
import javafx.beans.value.ObservableValue; | |
import javafx.collections.*; | |
import javafx.concurrent.*; | |
import javafx.event.*; | |
import javafx.geometry.*; | |
import javafx.scene.Scene; |
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 javafx.animation.FadeTransition; | |
import javafx.application.Application; | |
import javafx.beans.property.ReadOnlyObjectProperty; | |
import javafx.beans.value.ChangeListener; | |
import javafx.beans.value.ObservableValue; | |
import javafx.collections.FXCollections; | |
import javafx.collections.ObservableList; | |
import javafx.concurrent.Task; | |
import javafx.concurrent.Worker; | |
import javafx.event.ActionEvent; |
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
ProcessBuilder builder = new ProcessBuilder("cmd.exe", "/c", "\"C:\\Program Files\\Common Files\\microsoft shared\\ink\\TabTip.exe"); | |
builder.redirectErrorStream(true); | |
Process p; | |
try | |
{ | |
p = builder.start(); | |
BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream())); | |
String line; | |
while (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
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
public class StringToFile { | |
public static void main(String[] args) throws IOException { | |
String msg = "hello"; | |
Files.write(Paths.get("./duke.txt"), msg.getBytes()); | |
} | |
} |
NewerOlder