Skip to content

Instantly share code, notes, and snippets.

@KevinT
KevinT / deployer.rake
Created March 15, 2012 14:57 — forked from morgoth/deployer.rake
Rake task to copy local files to remote server via FTP
# Rake task to copy local files to remote server via FTP
# required credentials.yml file, that contains keys:
# server, username, password
require "net/ftp"
require "yaml"
class FTPClient
attr_reader :remote_path
@KevinT
KevinT / fullnames.csx
Created April 25, 2013 13:53
Talking to ActiveDirectory using ScriptCS. Purpose: Iterates over a file listing DOMAIN\USER credentials and spits out a file that includes their full names.
#r "System.DirectoryServices"
using System.DirectoryServices;
using System.IO;
var fullNames = new List<string>();
foreach (var credential in File.ReadAllLines("credentials.txt"))
{
if (credential.IndexOf('\\') > 0)

Question posted on Twitter

For someone with technical leadership responsibilities in a rapidly scaling product company that’s distributed across multiple time zones, what are the top 3 books you think they should read?

My Three

  1. Flow (Donald G. Reinertsen)
  2. Flow (Mihaly Csikszentmihalyi)
  3. Flow (Nonaka, Toyama, Hirata)

Twitterverse