reference

A Scala cheat sheet in PDF format

I've been working with Scala quite a bit lately, and in an effort to get it all to stick in my brain, I've created a Scala cheat sheet in PDF format, which you can download below.

This PDF is very different from my earlier Scala cheat sheet in HTML format, as I tried to create something that works much better in a print format. (I first tried to get it all in one page, but short of using a one-point font, that wasn't going to happen.)

A printf format reference page (cheat sheet)

Summary: This page is a printf formatting cheat sheet. I originally created this cheat sheet for my own purposes, and then thought I would share it here.

A cool thing about the printf formatting syntax is that the specifiers you can use are very similar, if not identical, between several different languages, including C, C++, Java, Perl, Ruby, and others, so your knowledge is reusable, which is a good thing.

A Scala cheat sheet (reference page)

Summary: This document is a Scala cheat sheet (reference page), in HTML format.

This page is very much a work in progress, but as I've been learning Scala, I've been creating all sorts of little notes, and I'm now trying to organize them into this Scala cheat sheet. These notes are based on the excellent books, Programming in Scala (Odersky, Spoon, and Venners), and Programming Scala (O'Reilly).

A Drupal 7 SQL cheat sheet

I'm currently developing a new Drupal 7 application (technically built as a new Drupal module), and as I'm building the application, I've made notes on database queries I've made.

The approach I'm taking is to use the following Drupal SQL query functions. As you can see from the function names, there are now different Drupal functions for each query type:

A Git cheat sheet (Git command reference)

Summary: This is a Git cheat sheet (Git command summary) I've created, featuring many Git command examples.

As I've begun to set up my own private Git hosting repository (see Private Git hosting services, and My A2 Hosting Git repository using SSH), it's time to cram all these Git commands back into my head again.

Linux yum command reference (examples)

Summary: A CentOS Linux yum command cheat sheet (reference page).

I've been working with the CentOS Linux yum command a lot lately, so I thought I'd create a yum reference page with a lot of examples while it's still fresh in my mind. I've organized the yum commands below by task (i.e., list, install, update, information, remove).

A CakePHP cheat sheet (CakePHP reference page)

Summary: This is a CakePHP cheat sheet. (Note: This reference was initially created in 2011, and may be slightly out of date.)

As I embark on another CakePHP project after a long hiatus, I'm trying to cram CakePHP back into my head. As part of this effort, I'm creating this large CakePHP cheat sheet (reference page), which I hope will be helpful to the CakePHP community. It is based on both the CakePHP cheat sheet on their Trac website and the CakePHP Cookbook (see the links below).

A PHP cheat sheet (reference page)

PHP cheat sheet FAQ: Can you share a PHP cheat sheet?

This page is a PHP cheat sheet, but a different kind of cheat sheet. As I go deeper and deeper down the PHP rabbit hole, I found that instead of an over-simplified PHP cheat sheet, I wanted a "starter" page that will point me in the right direction when I'm looking for a PHP function for a task. For instance, if I can't remember how to add an element to a PHP array, I want to be able to search this page and find that easily.

Free Unix/Linux and vi/vim cheat sheets

I created some "cheat sheets" (reference pages) for a recent Unix and Linux training class. One is a "Unix and Linux commands cheat sheet", and the other is a "vi/vim editor cheat sheet". I'll be sharing the entire "Introduction to Unix" training PDF here shortly, but in the meantime, here are the links to the Unix/Linux and vi/vim cheats:

Ant compiling - How to reference the jar files in your lib directory during your Ant compile process

Here's a quick snippet of code from an Ant build script that demonstrates how to create a classpath variable in an Ant script, where the classpath is built from all of the jar files in your project's lib folder:

Syndicate content