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 pokemiku; | |
import javax.sound.midi.MidiDevice; | |
import javax.sound.midi.MidiSystem; | |
import javax.sound.midi.Receiver; | |
import javax.sound.midi.ShortMessage; | |
import javax.sound.midi.SysexMessage; | |
import javax.xml.bind.DatatypeConverter; | |
public class PokeMikuSample { |
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
(ns pokemiku.core | |
(:import [javax.sound.midi MidiSystem ShortMessage SysexMessage MidiDevice Receiver] | |
[javax.xml.bind DatatypeConverter])) | |
(defn ^MidiDevice get-device [] | |
(some->> (seq (MidiSystem/getMidiDeviceInfo)) | |
(filter #(re-find #"NSX-39" (:name (bean %)))) | |
(filter #(re-find #"External" (:description (bean %)))) | |
first | |
(MidiSystem/getMidiDevice))) |
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 neta; | |
public class MethodInner { | |
public static void main(String[] args) { | |
new MethodInner().proc(); | |
class ThreadB extends Thread{ | |
public void run(){ | |
System.out.println("runB1:"+ getClass()); | |
} | |
} |
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
{:+ {:app {"ctrl-q" [:workspace.show] | |
"alt-c" [:toggle-console :clear-console]} | |
:editor {"ctrl-w" [:editor.watch.watch-selection] | |
"ctrl-shift-w" [:editor.watch.remove-all] | |
"ctrl-alt-w" [:editor.watch.unwatch] | |
"ctrl-/" [:toggle-comment-selection] | |
"ctrl-i" [:smart-indent-selection] | |
"alt-left" [:editor.line-start-smart] | |
"alt-right" [:editor.line-end] |
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
{:+ {:app {"ctrl-q" [:workspace.show] | |
"alt-c" [:toggle-console :clear-console]} | |
:editor {"ctrl-w" [:editor.watch.watch-selection] | |
"ctrl-shift-w" [:editor.watch.remove-all] | |
"ctrl-alt-w" [:editor.watch.unwatch] | |
"ctrl-/" [:toggle-comment-selection] | |
"ctrl-i" [:smart-indent-selection] | |
"alt-left" [:editor.line-start-smart] | |
"alt-right" [:editor.line-end] |
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
{:+ {:app [(:lt.objs.style/provide-theme "rabbit-house-dark" "theme.css")]}} |
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
{:+ { | |
;; The app tag is kind of like global scope. You assign behaviors that affect | |
;; all of Light Table here | |
:app [(:lt.objs.style/set-skin "dark") | |
:lt.objs.sidebar.workspace/workspace.open-on-start | |
:lt.objs.intro/show-new-file] | |
;; The editor tag is applied to all editors | |
:editor [(:lt.objs.style/set-theme "rabbit-house-dark") | |
:lt.objs.editor/line-numbers |
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
{:+ {:app {"ctrl-q" [:workspace.show] | |
"alt-c" [:toggle-console :clear-console]} | |
:editor {"ctrl-w" [:editor.watch.watch-selection] | |
"ctrl-shift-w" [:editor.watch.remove-all] | |
"ctrl-alt-w" [:editor.watch.unwatch] | |
"ctrl-/" [:toggle-comment-selection] | |
"ctrl-i" [:smart-indent-selection] | |
"alt-left" [:editor.line-start-smart] | |
"alt-right" [:editor.line-end] |
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
(cmd/command {:command :コマンド名 | |
:hidden true ; trueだとCommandsに現れない | |
:desc "ポップアップで現れる説明" | |
:exec #(do ...)}) |
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
"ctrl-e" [(:eval.custom "(macroexpand-1 '__SELECTION__)")] |