Skip to content

Instantly share code, notes, and snippets.

View cdl's full-sized avatar
💭
I may be slow to respond.

Colby Ludwig cdl

💭
I may be slow to respond.
View GitHub Profile
-- Section for example.com
VirtualHost "example.com"
enabled = false -- Remove this line to enable this host
-- Assign this host a certificate for TLS, otherwise it would use the one
-- set in the global section (if any).
-- Note that old-style SSL on port 5223 only supports one certificate, and will always
-- use the global one.
ssl = {
# Edit zshrc
alias zshrc='subl ~/.zshrc'
# Edit this file
alias aliases='subl ~/.aliases'
# Copy public SSH key
alias sshkey='cat ~/.ssh/id_rsa.pub | pbcopy && echo Your SSH key has been copied to the clipboard.'
# fuck
body {
font-family: "Raleway";
margin: 0px;
color: #222222;
width: 100%;
height: 100%;
background-color: #eee9e2;
background-image: url("bg.png")
[19:48:37] <+ELLIOTTCABLE> Spend a weekend on reading about Objective-C's internals. (Suggest mikeash's archives, NSHipster, maybe furbo's writing too), and build something *exclusively* in ISO C.
[19:49:19] <+ELLIOTTCABLE> something difficult, or mind-bending, too. Something that's not necessarily familiar territory for you. (Scheme implementation! Or Paws! Or perhaps a simple database. I'm sure you can come up with something.)
[19:49:44] <+ELLIOTTCABLE> if that drags on into a second weekend (idk your schedule, but, you get my point), then that's okay. let it, that's important foundation.
[19:50:33] <+ELLIOTTCABLE> Then, a second weekend, thoroughly learning Scheme or Common Lisp. IMO, you don't really need to write anything complex in it to grok the parts you need to, at this point; it's more learning to “speak the language,” especially if you want to start reading more meaty CS stuff.
[19:51:16] <+ELLIOTTCABLE> Finally, dive into Ruby and JavaScript. You'll have a different perspective on things
" cdl/dotfiles --- vimrc
" Took a bunch of this from imkmf/dotfiles (thanks, @imkmf!)
" Set up Pathogen + bundles
runtime bundle/vim-pathogen/autoload/pathogen.vim
" Bundle: tpope/vim-pathogen
" Bundle: bling/vim-airline
" Bundle: tpope/vim-sensible
" Bundle: jtratner/vim-flavored-markdown
" Bundle: cakebaker/scss-syntax.vim
@cdl
cdl / music.txt
Last active January 31, 2019 02:04
Obelisk Film Festival music list
# Obelisk Film Festival
### Music for the Obelisk Film Festival to play during interludes/breaks/entrance.
Title
Artist - Album
* * * * * * * *
You've Got Something
The Jungle Giants - She's a Riot
@cdl
cdl / concat.php
Last active August 29, 2015 14:02
// this...
$email .= "($fields['r_phoneareacode']) $fields['r_phone']\n";
// becomes this...
$email .= "({$fields['r_phoneareacode']}) {$fields['r_phone']}\n";
# Git aliases
alias ga="git add"
alias gs="git status"
alias gc="git commit"
alias gcm="git commit -m $1"
alias gca="git commit -a"
alias gcam="git commit -am $1"

This started as a few thoughts but turned into a humongous critique.

  • In general.. there's a whole hell of a lot of solid colours in here for something that should be so dead-simple for clients to understand. Cutting them down might be an idea, becasue right now it's really hard to digest with all the colours. Try cutting it down to two.

  • You should make the "Pay Invoice" button, as well as the due date, a very prominent call-to-action in two areas: beginning of the invoice (near the price), and the end of the invoice. Right now, you have it at the end of the invoice yeah, but it's pretty subtle and doesn't draw my eye's attention immediately. Will probably lead to longer wait times for the freelancer to get paid. Also, perhaps make the "due on X" copy a bit more serious.

  • Your attachment layout is really confusing - I read the "4 Products & 13 Attachments" headline and immediately tried to figure out where the attachments were, and got even more confused that they weren't laid out for me to see gro

General CLI Tools

  • Homebrew - excellent package manager for CLI stuff.
  • oh-my-zsh - My favourite bash replacement. Some hate it, some love it.
  • git log is so 2005 - Specific to Git, but great nonetheless.

Development Tools

  • Sublime Text (3) - The go-to code editor, if you don't like or don't have time for Vim. Paired with the below package, it's unstoppable. Free to try, $80 or something to purchase a license. Tryout has no limitations, but a nag screen to purchase comes up every so often.