2of1
half a nibble of another

Home
Projects
About
Nov

23

Making sense of strcmp()

Filed Under (C, Coding, Open source) by 2of1 on 23-11-2010

Peter van der Linden brought up a point regarding strcmp() his book Expert C Programming: Deep C Secrets that I found interesting.
Read the rest of this entry »

(2) Comments
Read More
Nov

22

bash (scripting): check for super user

Filed Under (Bash, Linux, Tips & tricks) by 2of1 on 22-11-2010

error()
{
	echo "$*. Exiting"
	exit
}
 
[ "$UID" != "0" ] && error "You must be root to run this script"
No Comments
Read More
Nov

16

Gnu screen fun

Filed Under (Linux, Open source, Tips & tricks) by 2of1 on 16-11-2010

Recently I’ve taken an interest in console-based utilities with the aim of seeing whether I can intact perhaps be even more productive than just using X-based solutions.
The best thing about this is that it would probably easily run under 100Mhz and can be accessed as-is over a terminal session.
Read the rest of this entry »

(6) Comments
Read More
Nov

14

Pulling “On this day in history” data from Wikipedia

Filed Under (Open source, Python) by 2of1 on 14-11-2010

I’ve been looking around for an easy way to pull event information for a specific day from wikipedia in order to populate an internal database for one of my apps.

Turns out it’s dead simple.
Read the rest of this entry »

(3) Comments
Read More
  • Recent Posts

    • GlitchMeister 1.0 – Simple, Stupid FPGA-based Glitcher
    • Friends; this memcmp() implementation?? Really!!!??
    • Decoding obfuscated strings in What’s App Dalvik Executable bytecode
    • Seculert’s Malware Reverse Engineering Challenge
    • Removal of Themida reverse engineering posts
  • Archives

    • February 2013
    • October 2012
    • July 2012
    • June 2012
    • May 2012
    • April 2012
    • January 2012
    • September 2011
    • August 2011
    • July 2011
    • May 2011
    • March 2011
    • February 2011
    • January 2011
    • November 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
  • GitHub

    2of1 does not have any public repositories.
  • qrcode

  • Site Search

  • Categories

    • Apps (7)
      • Preloader (1)
      • Symbian S60 (1)
      • VLC (4)
      • Wordpress (1)
    • Coding (32)
      • Assembly (1)
        • ARM (1)
      • C (15)
      • Compilers (5)
      • Direct2D API (4)
      • Linux kernel (3)
        • Drivers (1)
      • Networking (4)
      • Python (1)
      • Sqlite (1)
      • Version control (5)
        • Git (5)
      • VHDL (1)
    • Hacking (12)
      • Code injection (1)
      • Reverse engineering (9)
    • Hardware (6)
      • Arduino (1)
      • PCBs (3)
    • Linux (22)
      • Bash (1)
      • Tips & tricks (13)
      • Virtualization (1)
      • VNC (2)
      • Xmonad (1)
    • Open source (39)
    • Other stuffs (4)
    • Social (4)
      • DC9723 (2)
  • OctoFinderProgramming Blogs - Blog Catalog Blog Directory

    Locations of visitors to this page

© 2of1.