Skip to content

Instantly share code, notes, and snippets.

View jialeicui's full-sized avatar
🧩
Focusing

Jialei jialeicui

🧩
Focusing
  • Beijing, China
  • 02:10 (UTC +08:00)
View GitHub Profile
SendMode Input
SetWorkingDir %A_ScriptDir%
SetTitleMatchMode, 2
show_class()
{
bbb := WinActive("WeTERM")
MsgBox, "%bbb%"
WinGetClass, class, A
hs.hotkey.bind({"cmd", "alt", "shift"}, "M", function()
local win = hs.window.focusedWindow()
local f = win:frame()
local screen = win:screen()
local max = screen:frame()
f.x = max.x
f.y = max.y
f.w = max.w
f.h = max.h
@jialeicui
jialeicui / hammerspoon.lua
Last active February 3, 2021 05:21
hammerspoon.lua
hs.hotkey.bind({"cmd", "alt", "shift"}, "M", function()
local win = hs.window.focusedWindow()
local f = win:frame()
local screen = win:screen()
local max = screen:frame()
f.x = max.x
f.y = max.y
f.w = max.w
f.h = max.h
From 83f0062d385fd4f111b31c1f26b571cabd7e0e4c Mon Sep 17 00:00:00 2001
From: Vincent Bernat <vincent.bernat@dailymotion.com>
Date: Thu, 5 Sep 2013 16:52:45 +0200
Subject: [PATCH] EDNS0 client subnet support.
---
bin/named/client.c | 227 +++++++++++++++++++++++++++++++--------
bin/named/include/named/client.h | 4 +
bin/named/include/named/server.h | 81 +++++++-------
bin/named/sortlist.c | 4 +-