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
{ | |
"title": "Caps Lock To Ctrl/Escape", | |
"author": "Hadi Aliakbar(mohaalak.com)", | |
"homepage": "https://gist.github.com/mohaalak/c2ae7664d2272a449422b9c935fff8a0", | |
"import_url": "karabiner://karabiner/assets/complex_modifications/import?url=https://gist.githubusercontent.com/mohaalak/c2ae7664d2272a449422b9c935fff8a0/raw/bf99a2bb384089fc8a7308caf733d9362b1e3762/caps_lock_to_ctrl_escape.json", | |
"rules": [ | |
{ | |
"description": "Caps Lock to Ctrl/Escape", | |
"manipulators": [ | |
{ |
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
open System.Net.Sockets | |
type A = System.Net.Sockets.SocketAsyncEventArgs | |
type B = System.ArraySegment<byte> | |
exception SocketIssue of SocketError with | |
override this.ToString() = | |
string this.Data0 | |
/// Wraps the Socket.xxxAsync logic into F# async logic. |
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
module Main where | |
import Prelude | |
import Data.Symbol (class IsSymbol) | |
import Prim.Row (class Cons) | |
import Type.Proxy (Proxy(..)) | |
import Unsafe.Coerce (unsafeCoerce) | |
type PlayerRow |