Skip to content

Instantly share code, notes, and snippets.

@seungwon0
seungwon0 / garp.c
Last active February 8, 2024 05:10
Send IPv4 Gratuitous ARP Packet
/* garp.c - Send IPv4 Gratuitous ARP Packet
Usage Example: sudo ./garp eth0
Copyright (C) 2011-2013 P.D. Buchan (pdbuchan@yahoo.com)
Copyright (C) 2013 Seungwon Jeong (seungwon0@gmail.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
@seungwon0
seungwon0 / commandlinefu
Created January 20, 2011 14:59
Simple shell script using commandlinefu.com API
#!/bin/sh
#
# commandlinefu - Simple shell script using commandlinefu.com API
#
# All commands sorted by date:
# % commandlinefu
#
# All commands sorted by votes:
# % commandlinefu -v
#
@seungwon0
seungwon0 / mp3tag.pl
Created July 21, 2012 16:41
changes MP3 tag encoding (CP949 -> UTF-8)
#!/usr/bin/env perl
#
# mp3tag.pl - changes MP3 tag encoding (CP949 -> UTF-8)
#
# Changes MP3 tag encoding from CP949 to UTF-8.
#
# Copyright (C) 2012 by Seungwon Jeong
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@seungwon0
seungwon0 / Whatthecommit
Created January 30, 2011 02:56
Random commit message generator
#! /bin/sh
#
# whatthecommit - Random commit message generator
#
# Show random commit message from http://whatthecommit.com/.
#
# Seungwon Jeong <seungwon0@gmail.com>
#
# Copyright 2011 by Seungwon Jeong
@seungwon0
seungwon0 / slf-viewer.pl
Created June 3, 2012 15:09
Melon lyrics file viewer
#!/usr/bin/env perl
#
# slf-viewer.pl - Melon lyrics file viewer
#
# Show lyrics from Melon lyrics file (*.slf).
#
# Example Usage:
# ./slf-viewer.pl 소녀시대_태티서-01-Twinkle-320.slf | less
#
# Seungwon Jeong <seungwon0@gmail.com>
@seungwon0
seungwon0 / symlink.py
Created March 14, 2011 05:07
Nautilus Extension for Symbolic Link
@seungwon0
seungwon0 / 한글.pl
Last active February 10, 2018 19:35
한글 초성, 중성, 종성 분해 및 결합
#!/usr/bin/env perl
#
# 한글.pl - 한글 초성, 중성, 종성 분해 및 결합
#
# 초성, 중성, 종성을 결하여 글자를 만들거나, 글자를 초성, 중성,
# 종성으로 분해합니다.
#
# Seungwon Jeong <seungwon0@gmail.com>
#
# Copyright (C) 2015 by Seungwon Jeong
@seungwon0
seungwon0 / ubuntu-wallpaper-slideshow.sh
Created June 3, 2012 10:33
creates a XML file for wallpaper slideshow
#!/bin/sh
#
# ubuntu-wallpaper-slideshow.sh - creates a XML file for wallpaper slideshow
#
# Creates a XML file like /usr/share/backgrounds/contest/precise.xml
# in Ubuntu 12.04.
#
# Usage example:
# ./ubuntu-wallpaper-slideshow.sh ~/Pictures/LOOK/*.jpg > LOOK.xml
#
@seungwon0
seungwon0 / srt2txt.pl
Created February 4, 2012 15:19
Convert SRT into Text
#!/usr/bin/env perl
#
# srt2txt - Convert SRT into Text
#
# Seungwon Jeong <seungwon0@gmail.com>
#
# Copyright (C) 2012 by Seungwon Jeong
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@seungwon0
seungwon0 / usb-lookup.pl
Last active January 27, 2016 07:51
looks up USB ID information
#!/usr/bin/env perl
#
# usb-lookup.pl - looks up USB ID information
#
# Looks up USB ID information from http://www.linux-usb.org/usb.ids.
#
# Seungwon Jeong <seungwon0@gmail.com>
#
# Copyright (C) 2014 by Seungwon Jeong
#