Categories
Command Line Scripting Tutorial

Batch Convert Images to PDF from Command Line

A friend asked me for a way to batch-convert images into PDFs. Instead of using online converters, here's a command-line solution using ImageMagick that works on both Mac and Linux. It converts all images in a folder to individual PDFs and optionally merges them into one file.

Categories
Development Tools Productivity Text Editors

Learning Vim: A Powerful Text Editor for Developers

Introduction

Every developer needs a good text editor. TextMate on Mac, Notepad++ on Windows, gedit on Linux – there are plenty of choices. But there's one editor that stands out: Vim.

Vim (Vi IMproved) is everywhere. It's on every Unix system, every Linux server, every Mac. SSH into a server and Vim is there. It's fast, powerful, and once you learn it, incredibly productive.

Categories
Development Tools Version Control

Introduction to Git Version Control

Introduction

Version control is essential for any development project, and for years SVN (Subversion) and CVS have been the standard choices. But there's a new player gaining serious traction: Git.

Created by Linus Torvalds in 2005 for Linux kernel development, Git takes a fundamentally different approach to version control. Instead of a central repository, Git is distributed – every developer has a complete copy of the repository. This might sound complicated, but it offers significant advantages.