Skip to content

Instantly share code, notes, and snippets.

View Felix-Kyun's full-sized avatar
💭
¯\_(ツ)_/¯

0×FELIX Felix-Kyun

💭
¯\_(ツ)_/¯
View GitHub Profile
@Felix-Kyun
Felix-Kyun / dl.sh
Last active May 4, 2022 12:51
simple script to downlad music using yt-dl
#!/bin/bash
# usage
# dl.sh link sub-directory(optional)
# by default it uses yt-dlp change the $BIN to change it.
# script stores cache in .cache dir
# and keeps a archive just to prevent duplicate downloads
# archive is located in Music directory named ".download.txt"
# it also downloads thumbnails by default
@joaquinicolas
joaquinicolas / gist:b7d0a0869485bca5156d0d4be87820f4
Created December 15, 2021 02:59
Setup flutter environment in arch linux
pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay -S flutter
java -version
sudo pacman -S jre8-openjdk
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active March 13, 2025 14:04
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@denizssch
denizssch / XpSerials.txt
Created July 21, 2019 00:13
Windows XP ALL Serial Keys :) (For testing purpose [Ex: VM or PenTest])
FCKGW-RHQQ2-YXRKT-8TG6W-2B7Q8
Windows XP PRO Corporate serial number S/N: Key: MQPWW-PGVKX-YPMKG-8DH3G-KC8PW
windows xp home edition serial number S/N: 034634-262024-171505-828316-729010-413531-800424-400442
Windows XP 64 serial number S/N: B2RBK-7KPT9-4JP6X-QQFWM-PJD6G
Windows XP serial number S/N: K6C2K-KY62K-DQR84-RD4QV-QB74Q
Windows XP Professional 64-bit Corporate Edition 5.2.3790.1830 serial number S/N: VCFQD-V9FX9-46WVH-K3CD4-4J3JM
Microsoft Windows XP Professional SP2 serial number S/N: YY8F2-3CKVQ-RKTRG-6JMDR-9DTG6
Windows XP Professional Service Pack 1 sp1 serial number S/N: F46YY - 2R8VQ - R8GMY - 926VK - 6BQ73
Windows XP Pro serial number S/N: KBWR7-76BD8-J7MDQ-KKG&C-V9Q2J

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@w1k1n9cc
w1k1n9cc / microtime.c
Created June 7, 2016 15:48
Get the current time in microseconds in C.
#include <sys/time.h>
/**
* Returns the current time in microseconds.
*/
long getMicrotime(){
struct timeval currentTime;
gettimeofday(&currentTime, NULL);
return currentTime.tv_sec * (int)1e6 + currentTime.tv_usec;
}
@xfguo
xfguo / udp_client.lua
Created April 12, 2014 16:06
Added UDP server example powered by luaevent.
-- udp-client test
-- based on code from http://blog.chinaunix.net/uid-27194309-id-3499261.htmlEF
local socket = require "socket"
local address = "127.0.0.1"
local port = 8080
local udp = socket.udp()
udp:settimeout(0)
udp:setpeername(address, port)