Skip to content

Instantly share code, notes, and snippets.

View mqnoy's full-sized avatar
🏠
Working from home

imza mqnoy

🏠
Working from home
View GitHub Profile
@mqnoy
mqnoy / setup.md
Created August 13, 2024 10:56 — forked from Yatoom/setup.md
Thinkfan configuration

Thinkfan setup

Note: I configured this thinkfan setup for my old Thinkpad w520 on Ubuntu 17.10.

1. Install necessary programs

Install lm-sensors and thinkfan.

sudo apt-get install lm-sensors thinkfan
@mqnoy
mqnoy / whatsapp-web-emoji-keywords.txt
Created June 2, 2024 14:08 — forked from hkan/whatsapp-web-emoji-keywords.txt
Emoji shortcut keywords for Whatsapp Web
0⃣ 0, keycap, zero
1⃣ 1, number, one
🕜 1, 30, clock, time, one, thirty, 1:30, one-thirty
🕐 1, clock, time, one, 00, o’clock, 1:00, one o’clock
2⃣ 2, number, two
🕝 2, 30, clock, time, two, thirty, 2:30, two-thirty
🕑 2, clock, time, two, 00, o’clock, 2:00, two o’clock
3⃣ 3, keycap, three
🕞 3, 30, three, clock, time, thirty, 3:30, three-thirty
🕒 3, three, clock, time, 00, o’clock, 3:00, three o’clock
@mqnoy
mqnoy / websocket_example.go
Created May 30, 2022 04:30 — forked from gspencerfabian/websocket_example.go
Golang WebSocket HTTP Middleware Example
package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"time"
"github.com/gorilla/websocket"