Skip to content

Instantly share code, notes, and snippets.

View HersonHN's full-sized avatar

Herson HersonHN

View GitHub Profile
@HersonHN
HersonHN / readme.md
Last active October 14, 2026 19:42
How to enable altcodes for windows on a 75% keyboard using Alt + the numeric key row

How to enable altcodes for Windows on a 75% keyboard using Alt + the numeric key row

  • Step 1: Install [keymapper][keymapper] and run it.
  • Step 2: Create a file named keymapper.conf in your [%AppData%][appdata] folder.
  • Step 3: Paste the attached configuration and save, it should be loaded automatically.
  • Step 4: Enjoy.
[modifier = "Alt"]
0 >> Numpad0
# source:
# https://discussions.apple.com/message/32354266#message32354266
sudo mdutil -Ea
sudo mdutil -ai off
sudo mdutil -ai on
@HersonHN
HersonHN / nginx.conf
Created April 11, 2020 07:31
nginx configuration
events {
worker_connections 1024; # increase if you have lots of clients
accept_mutex on; # "on" if nginx worker_processes > 1
use epoll; # enable for Linux 2.6+
}
http {
map $sent_http_content_type $cacheable_types {
"text/css" "60d";
@HersonHN
HersonHN / GlobalSearch.vim
Last active February 8, 2019 07:59
Global Search in VIM
function! GlobalSearch()
let text = escape(input("what do you want to search?: "), '\\/')
if text == ""
echo "" | return
endif
let extension = escape(input("Wich extension? (* for all): "), '\\/')
if extension == ""
echo "" | return
endif