Skip to content

Instantly share code, notes, and snippets.

View nonetrix's full-sized avatar
🐕
ワンワン

fuggy nonetrix

🐕
ワンワン
View GitHub Profile
@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active May 14, 2024 20:31
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@Eliastik
Eliastik / update-hosts.sh
Last active January 18, 2024 16:10 — forked from glesica/update-hosts.sh
A quick shell script that will automatically update a Linux HOSTS file to block domains (ads, malwares, ...). Support multiple hosts sources, initial host file and incorrect/malicious entries checking.
#!/bin/bash
# Filename: update-hosts.sh
#
# Author: George Lesica <george@lesica.com>
# Enhanced by Eliastik ( eliastiksofts.com/contact )
# Version 1.3 (22 april 2021) - Eliastik
#
# Description: Replaces the HOSTS file with hosts lists from Internet,
# creating a backup of the old file. Can be used as an update script.
@tabrindle
tabrindle / webp-convert-directory.sh
Last active May 15, 2024 20:57
Convert all files in directory to webp, with default params, or standard cwebp params passed from command
#!/bin/bash
PARAMS=('-m 6 -q 70 -mt -af -progress')
if [ $# -ne 0 ]; then
PARAMS=$@;
fi
cd $(pwd)
@cocuh
cocuh / input.py
Created February 11, 2014 10:00
for minecraft japanese input on linux. linuxのまいんくらふとでもにほんごにゅうりょくしたい!
import sys
import subprocess as sp
if sys.version_info.major == 2:
import Tkinter as tk
stringfy = lambda string: string
else:
import tkinter as tk
stringfy = lambda string: string.encode(encoding='utf-8')
@ghedo
ghedo / sound_playback.c
Last active March 2, 2024 08:47
Simple sound playback using ALSA API and libasound
/*
* Simple sound playback using ALSA API and libasound.
*
* Compile:
* $ cc -o play sound_playback.c -lasound
*
* Usage:
* $ ./play <sample_rate> <channels> <seconds> < <file>
*
* Examples: