curl -L https://bit.ly/poejp4 | bash
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
; configuration | |
GroupAdd("NoEmacs", "ahk_exe WindowsTerminal.exe") | |
GroupAdd("NoEmacs", "ahk_class SunAwtFrame") ; JetBrains IDE | |
;;; macOS-like Emacsキーバインド | |
;;; https://jblevins.org/log/kbd#:~:text=Although%20they%20are%20hidden%20in%20plain%20sight%2C%20it,the%20current%20line%20after%20the%20cursor%20use%20%E2%8C%83K. | |
emacsEnabled := true | |
emacsCallback(hook, vk, sc) { | |
global emacsEnabled |
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
InstallKeybdHook | |
;;; キーが単独で押されたときコールバックを実行する | |
StandaloneHotKey(key, callback) { | |
static enabled := false | |
down() { | |
enabled := true | |
; https://github.com/karakaram/alt-ime-ahk/issues/2 | |
Send("{Blind}{vk07}") |
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
import $cp.`terminal-2.68.jar` | |
import $ivy.`com.googlecode.lanterna:lanterna:3.1.1` | |
import com.jediterm.terminal.TerminalColor | |
import com.jediterm.terminal.model.TerminalModelListener | |
import scala.util.Using | |
import com.jediterm.terminal.model.CharBuffer | |
import com.jediterm.terminal.util.CharUtils | |
import com.jediterm.terminal.{StyledTextConsumer, TerminalMode, TextStyle} | |
import com.googlecode.lanterna |
I hereby claim:
- I am atty303 on github.
- I am atty303 (https://keybase.io/atty303) on keybase.
- I have a public key whose fingerprint is 1D6A D7CA 1500 4605 8A4D BC16 ABB1 431F ED97 453A
To claim this, I am signing this object:
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
# JMH version: 1.21 | |
# VM version: JDK 11.0.8, OpenJDK 64-Bit Server VM, 11.0.8+10-LTS | |
# VM invoker: /usr/lib/jvm/java-11-amazon-corretto.x86_64/bin/java | |
# VM options: -Xss128m -Xmx2g | |
# Warmup: 3 iterations, 10 s each | |
# Measurement: 3 iterations, 10 s each | |
# Timeout: 10 min per iteration | |
# Threads: 1 thread, will synchronize iterations | |
# Benchmark mode: Throughput, ops/time | |
# Benchmark: zio.ArrayFillBenchmark.catsArrayFill |
Run below at Elevated PowerShell console.
Set-ExecutionPolicy RemoteSigned
. { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/atty303/c643eb0d0efddfc754deed74c2d211de/raw/8ca40b5d5ecd73a42d71a4e44a658368bd57eeda/base.ps1 -DisableReboots
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
package example.finagle.consul | |
/** | |
* @see https://github.com/kachayev/finagle-consul/blob/master/src/main/scala/com/twitter/finagle/consul/ConsulQuery.scala | |
*/ | |
case class ConsulQuery(hosts: String, | |
name: String, | |
tags: Set[String], | |
dc: Option[String], | |
near: Option[String]) |
NewerOlder