Skip to content

Instantly share code, notes, and snippets.

@idletekz
idletekz / README.md
Last active January 12, 2018 20:22 — forked from dnozay/_Jenkins+Script+Console.md
jenkins groovy scripts collection.
@idletekz
idletekz / disableSSL.groovy
Created February 21, 2018 03:06 — forked from thomastaylor312/disableSSL.groovy
Disable SSL validation in Groovy
import javax.net.ssl.HostnameVerifier
import javax.net.ssl.HttpsURLConnection
import javax.net.ssl.SSLContext
import javax.net.ssl.TrustManager
import javax.net.ssl.X509TrustManager
def nullTrustManager = [
checkClientTrusted: { chain, authType -> },
checkServerTrusted: { chain, authType -> },
@idletekz
idletekz / 01-curl.go
Created May 15, 2019 14:17 — forked from jmoiron/01-curl.go
io.Reader & io.Writer fun
package main
import (
"fmt"
"io"
"net/http"
"os"
)
func init() {
@idletekz
idletekz / smart-caps-lock.md
Created October 30, 2022 13:36 — forked from tanyuan/smart-caps-lock.md
Smart Caps Lock: Remap Caps Lock to Control AND Escape

Smart Caps Lock: Remap to Control AND Escape (Linux, Mac, Windows)

Caps Lock 變成智慧的 Control 以及 Escape

  • 單獨輕按一下就是 Escape
  • 若按下時同時按著其他鍵,就會是 Control

這應該是 Vim 和 Emacs 的最佳解了!(Emacs? Bash 的快捷鍵就是 Emacs 系列的)

  • Send Escape if you tap Caps Lock alone.