This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# | |
# bytes - prints the input number as byte, KiB, MiB and GiB unit | |
# | |
# Prints the input number as byte, KiB, MiB and GiB unit. | |
# | |
# Seungwon Jeong <[email protected]> | |
# | |
# Copyright (C) 2016 by Seungwon Jeong | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# | |
# 한글.pl - 한글 초성, 중성, 종성 분해 및 결합 | |
# | |
# 초성, 중성, 종성을 결하여 글자를 만들거나, 글자를 초성, 중성, | |
# 종성으로 분해합니다. | |
# | |
# Seungwon Jeong <[email protected]> | |
# | |
# Copyright (C) 2015 by Seungwon Jeong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 <[email protected]> | |
# | |
# Copyright (C) 2014 by Seungwon Jeong | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* garp.c - Send IPv4 Gratuitous ARP Packet | |
Usage Example: sudo ./garp eth0 | |
Copyright (C) 2011-2013 P.D. Buchan ([email protected]) | |
Copyright (C) 2013 Seungwon Jeong ([email protected]) | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# | |
# makefile-graphviz.pl - draws a building flowchart from makefile | |
# | |
# Draws a buildidng flowchart from makefile using Makefile::GraphViz. | |
# | |
# Usage Example: | |
# % ./makefile-graphviz.pl Makefile Makefile.png | |
# | |
# Seungwon Jeong <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# | |
# facebook-feed.pl - shows facebook feed URL | |
# | |
# Shows facebook feed URL. | |
# | |
# Usage examples: | |
# % ./facebook-feed.pl girlsgeneration | |
# http://www.facebook.com/feeds/page.php?format=atom10&id=216732611680045 | |
# % ./facebook-feed.pl http://www.facebook.com/trycatchpage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# | |
# get-input-output.pl - downloads sample input/output data from acmicpc.net | |
# | |
# Downloads sample input/output data from Baekjoon Online Judge (acmicpc.net). | |
# | |
# Seungwon Jeong <[email protected]> | |
# | |
# Copyright (C) 2013 by Seungwon Jeong | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# circle.py - draws circle using ASCII characters | |
# | |
# http://kldp.org/node/135436 | |
# | |
# Seungwon Jeong <[email protected]> | |
# | |
# Copyright (C) 2012 by Seungwon Jeong | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(void) | |
{ | |
const int data = 1; | |
const char *const ptr = (char *)&data; | |
if (*ptr == 1) | |
puts("Little Endian"); | |
else if (*ptr == 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use Android; | |
my $android = Android->new; | |
my $scan_results_ref = $android->wifiGetScanResults; |
NewerOlder