Skip to content

Instantly share code, notes, and snippets.

View ccloli's full-sized avatar
💩
Shitty shit shitting shits shittily

864907600cc ccloli

💩
Shitty shit shitting shits shittily
View GitHub Profile
@memoz
memoz / sjis-emoticons.txt
Created March 7, 2016 05:23
Randomly collected Shift-JIS emoticons
_(:」∠)_
_(:_」∠)_
_(:з」∠)_
_(:зゝ∠)_
╮( ̄▽ ̄)╭
╮( ̄▽ ̄")╭
╮(╯▽╰)╭
(*・ω・)✄╰ひ╯
╮(╯_╰)╭
(ˉ﹃ˉ)
@krrr
krrr / brightness.ahk
Last active November 12, 2024 21:47
Windows screen brightness fine tune (autohotkey)
#,::
AdjustScreenBrightness(-3)
Return
#.::
AdjustScreenBrightness(3)
Return
AdjustScreenBrightness(step) {
service := "winmgmts:{impersonationLevel=impersonate}!\\.\root\WMI"
@lackofdream
lackofdream / pmspi.py
Last active July 10, 2018 06:51
Raspberry Pi and PMS5003
import serial
import datetime
from pymongo import MongoClient
port = serial.Serial('/dev/ttyAMA0', baudrate=9600, timeout=2.0)
client = MongoClient('172.31.150.230')
def read_pm_line(_port):
rv = b''