Skip to content

Instantly share code, notes, and snippets.

View lifthrasiir's full-sized avatar

Kang Seonghoon lifthrasiir

View GitHub Profile
// This file is part of rgtk.
//
// rgtk is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// rgtk is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@lifthrasiir
lifthrasiir / irc.sh
Created December 13, 2012 03:48 — forked from anonymous/irc.sh
#!/bin/bash
exec 3<>/dev/tcp/irc.uriirc.org/16667
echo USER yurumechan yurumechan yurumechan \* >&3
echo NICK yurumechan >&3
while read T C F; do
echo $T $C $F
case $(echo $C | tr a-z A-Z) in
PING)
echo PONG $F >&3;;
001)