- Download the script locally (button above)
- Copy names into a .txt file called input.txt in the same directory as the script
cd
into the dir with terminal- run
ruby titlecase_lines.rb
- Copy from input.txt back into excel
Hope this works for you.
cd
into the dir with terminalruby titlecase_lines.rb
Hope this works for you.
#!/bin/sh | |
# | |
# Originally by Gordon Fontenot | |
# [email protected] | |
# | |
# Log all commit messages to Day One | |
msg=`cat $PWD/.git/COMMIT_EDITMSG` | |
_pwd=`echo $PWD | sed -e "s/.*\///"` | |
_commit=`git rev-parse --short HEAD` |
#!/usr/bin/env ruby | |
# | |
# qc_reminder | |
# | |
# Created by Gordon Fontenot for WheelsTV | |
# | |
# Scans a set of folders used for Quality Control, | |
# and if it finds scripts or videos, emails the employee responsible | |
# for that stage of the QC process to let them know they | |
# have scripts or videos ready to QC. |
class MatrixNumericError < StandardError; end | |
class MatrixLengthError < StandardError; end | |
class MatrixSizeError < StandardError; end | |
class Sum | |
attr_accessor :value, :location | |
def to_s | |
"#{value} starting at location #{location.join(', ')}" | |
end |
on alfred_script(q) | |
set {the_path, file_name} to parse_path(first item of q) | |
tell application "iTerm" | |
set _terminal to make new terminal | |
tell _terminal | |
launch session "Vim" | |
tell the last session | |
write text "cd \"" & the_path & "\"" | |
# Replace e with your vim command |
// | |
// UISwitchCell.h | |
// Hops | |
// | |
// Created by Gordon on 9/10/10. | |
// Copyright 2010 Gordon Fontenot. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
- (BOOL)writeToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError | |
{ | |
BOOL status = NO; | |
CGImageDestinationRef dest = nil; | |
/* Create a new CFStringRef containing a uniform type identifier (UTI) that is the equivalent | |
of the passed file extension. */ | |
CFStringRef utiRef = UTTypeCreatePreferredIdentifierForTag( | |
kUTTagClassFilenameExtension, | |
(CFStringRef) typeName, |
CGColorRef darkColor = [[UIColor colorWithRed:0.0 | |
green:0.0 | |
blue:0.0 | |
alpha: inverse ? (SHADOW_INVERSE_HEIGHT / SHADOW_HEIGHT) * 0.5 : 0.5 | |
] CGColor]; | |
CGColorRef lightColor = [[self.backgroundColor colorWithAlphaComponent:0.0] CGColor]; | |
newShadow.colors = [NSArray arrayWithObjects:(__bridge id)(inverse ? lightColor : darkColor), | |
(__bridge id)(inverse ? darkColor : lightColor), |
Pod::Spec.new do |s| | |
s.name = "OctoKit" | |
s.version = "0.1.1" | |
s.summary = "GitHub API client for Objective-C." | |
s.homepage = "https://github.com/octokit/octokit.objc" | |
s.license = 'MIT' | |
s.author = { "GitHub" => "[email protected]" } | |
s.source = { :git => "[email protected]:octokit/octokit.objc.git", :tag => s.version } |
code/game/AI_RocketTrooper.cpp:133: {//Hmm, have to get around this bastard | |
code/game/AI_Sniper.cpp:789: {//Hmm, have to get around this bastard... FIXME: this NPCInfo->enemyLastSeenTime builds up when ducked seems to make them want to run when they uncrouch | |
code/game/AI_Stormtrooper.cpp:2419: {//Hmm, have to get around this bastard | |
code/game/AnimalNPC.cpp:263: // FIXME! Why do you keep repeating over and over!!?!?!? Bastard! | |
code/game/AnimalNPC.c:607: // FIXME! Why do you keep repeating over and over!!?!?!? Bastard! | |
code/game/g_vehicles.c:1400: { //if we've still got people in us, just kill the bastards | |
code/game/WalkerNPC.c:369: // FIXME! Why do you keep repeating over and over!!?!?!? Bastard! | |
codemp/cgame/cg_main.c:3662: { //we'll just stricmp this bastard, since there aren't all that many cgame-only things, and they all have special handling | |
codemp/game/AnimalNPC.c:501: // FIXME! Why do you keep repeating over and over!!?!?!? Bastard! | |
codemp/game/g_vehicles.c:1213: { //if we've still g |