
I love monospaced fonts (such as Terminus or Consolas / Inconsolata), but they can be harder to read when it comes to documentation or simple conversation.

Cloud, Security, Digital Forensics, UNIX

I love monospaced fonts (such as Terminus or Consolas / Inconsolata), but they can be harder to read when it comes to documentation or simple conversation.

Posted by
cmihai
at
1:44 AM
0
comments
Posted by
cmihai
at
10:56 PM
0
comments
Labels: Revision Control, UNIX
If you're familiar with ArtMoney, MemEdit or Cheat Engine on Windows, then you know what it's used for :-).
Posted by
cmihai
at
7:26 AM
1 comments
Gnome keeps getting dumber and dumber all the time. First the "Open in Terminal" right click option was gone, now the address bar.
Posted by
cmihai
at
8:46 PM
1 comments
Labels: Linux
Posted by
cmihai
at
10:50 PM
1 comments
Labels: Vim
Here's something cool you can do with screen. Share a screen session with multiple terminals. "screen -x". Of course, this only works if you're using the same user.
Posted by
cmihai
at
1:27 PM
3
comments
Labels: Open Source, UNIX
A colored unpack script using bar:
A little KSH93 function for your .profile. Now you can augomatically unpack most archives while watching the pretty progress bar.
You need bsdprogress (Solaris and Linux port of NetBSD's progress). With a bit work it also works on AIX.
I just re-wrote this for progress, so I didn't check the cpio and such yet.
# Mihai Criveti - Unpack function:
# Progress Unpack - unpack using GNU tar and bsdprogress.
function up {
for archive in $*; do
print $archive;
case $archive in
(*.tar) progress -f $archive gtar xpif - ;;
(*.tar.gz) progress -f $archive gtar -zpixf - ;;
(*.tgz) progress -zf $archive gtar -ipxf - ;;
(*.tar.bz2) progress -f $archive gtar -jipxf - ;;
(*.tbz) progress -f $archive gtar -jipxf - ;;
(*.gz) progress -f $archive gunzip -;;
(*.bz2) progress -f $archive bunzip -;;
(*.tar.Z) uncompress -c $archive | tar gxvf - ;;
(*.cpio) cpio -icd < $archive ;;
(*.Z) uncompress $archive ;;
(*.rar) unrar x $archive ;;
(*.zip) unzip $archive ;;
esac
done
}
Let's say we want to unpack files that end in *bz2 (it will automagically detect .tar.bz2 or tbz2), *gz and a specific tar archive:
cmihai@phobos:/home/cmihai/build$ up g*bz2 c*gz Python\-3.0.1.tar
gnupg-1.4.10.tar.bz2
100% |**********************************************************************| 3330 KB 296.95 KB/s 00:00 ETA
gnupg-2.0.14.tar.bz2
100% |**********************************************************************| 3888 KB 340.20 KB/s 00:00 ETA
ccache-2.4.tar.gz
100% |**********************************************************************| 86363 201.51 KB/s 00:00 ETA
Python-3.0.1.tar
91% |******************************************************** | 43320 KB 787.63 KB/s 05:00 ETA
See: http://netbsd.gw.com/cgi-bin/man-cgi?progress++NetBSD-currenthttp://mac.freshmeat.net/projects/bsdprogress/It builds fine on AIX (Makefile tweaks), Solaris and Linux. Native on NetBSD.
Other versions:
http://clpbar.sourceforge.net/
http://freshmeat.net/projects/progress
Posted by
cmihai
at
4:09 AM
0
comments

Posted by
cmihai
at
2:28 PM
0
comments
Labels: Scripting
Posted by
cmihai
at
5:27 AM
0
comments
Sure, you can do a lot more than a simple !analyze -v with WinDbg, but if you're doing tech support and keep getting spammed by minidumps or just want to solve something quick and easy, you can use BlueScreenView.

Posted by
cmihai
at
11:34 PM
2
comments