Skip to content

Milk, Cookies & SegFaults…

…with Valeriu.

  • Home
  • Loomiere

Category: Command line tools

March 7, 2013 Valeriu Paloş

Visualizing Git diffs in Meld.

Here’s a quick way of configuring your (Linux-based) Git installation to use the excellent Meld program by default for displaying/editing the outputs of the git

Continue reading
May 20, 2011 Valeriu Paloş

Command-line option parser in JavaScript.

Here’s a small but very effective command-line option parser written in JavaScript (uses NodeJs). You can get the up-to-date source code at http://gist.github.com/982499. I wrote

Continue reading
July 22, 2010 Valeriu Paloş

Lua2C, an updated version

I know I have been “missing in action” lately but I am working furiously, and I seem to have too little time for my blog

Continue reading
February 3, 2010 Valeriu Paloş

URI parsing using Bash built-in features

A bit of background A while ago I posted an article describing how one could parse complete URIs in Bash using the sed program. Since

Continue reading
December 16, 2009 Valeriu Paloş

Recursive chmod distinguishing files from folders

Version 3 An even better method is: find “$target” -type f -exec chmod -c “$mode_files” {} \; \ -or -type d -exec chmod -c “$mode_dir”

Continue reading
November 16, 2009 Valeriu Paloş

Bash URI parser using SED

Warning! This version is now obsolete! Check out the new and improved version (using only Bash built-ins) here! Here is a command-line (bash) script that

Continue reading
November 6, 2009 Valeriu Paloş

Recursive file/directory change-detection

Disclaimer This article explores a way in which an approximate “fingerprint” of a file tree can be created! If all you want is to detect

Continue reading
November 6, 2009 Valeriu Paloş

Detect number of CPUs on a machine

UPDATE: Steven pointed out (very nicely) that there’s no need for cat in this picture, grep would do just fine on its own. So, thanks

Continue reading

I'm Valeriu, a software engineer to the core. Just... converting coffee into source code :).

Languages

  • ECMAScript5 Object Properties
  • Understanding "delete" (JS)

Libraries

  • CZMQ: High-level ZeroMQ library
  • LibEIO: Asynchronous I/O
  • LibEV: Low-level event loop
  • LZO: Fast (de)compressor
  • Mini-XML: Light XML library
  • TinyCDB: Constant DB
  • TKRZW: Embeddable DBs
  • TPL: Serialization in C
  • UTHASH: Hash table for C
  • ZeroMQ: Messaging system

My Code Repos

  • Projects on GitHub
  • Snippets on GitHub

Networking

  • Djbdns: Fast & secure DNS
  • Ipsvd: TCP/UDP/SSL servers
  • Runit: A service supervisor

Languages

  • ECMAScript5 Object Properties
  • Understanding "delete" (JS)

Libraries

  • CZMQ: High-level ZeroMQ library
  • LibEIO: Asynchronous I/O
  • LibEV: Low-level event loop
  • LZO: Fast (de)compressor
  • Mini-XML: Light XML library
  • TinyCDB: Constant DB
  • TKRZW: Embeddable DBs
  • TPL: Serialization in C
  • UTHASH: Hash table for C
  • ZeroMQ: Messaging system

My Code Repos

  • Projects on GitHub
  • Snippets on GitHub

Networking

  • Djbdns: Fast & secure DNS
  • Ipsvd: TCP/UDP/SSL servers
  • Runit: A service supervisor

Categories

  • Bash scripting
  • Cloud Infrastructure
  • Command line tools
  • Cryptocurrency
  • Dynamic scripting
  • Events
  • Front-end programming
  • Networking
  • One-liners
  • Other Useful Links
  • Projects
  • Research
  • Scala
  • Security
  • Servers
  • Techniques and algorithms
  • Tutorials
  • Uncategorized
  • Web-development

Archives

  • September 2021
  • January 2021
  • March 2020
  • February 2020
  • April 2016
  • October 2014
  • April 2013
  • March 2013
  • February 2013
  • December 2012
  • July 2012
  • February 2012
  • June 2011
  • May 2011
  • January 2011
  • November 2010
  • September 2010
  • July 2010
  • May 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
WordPress Theme: Wellington by ThemeZee.