I hereby claim:
- I am thom-nic on github.
- I am thom_nic (https://keybase.io/thom_nic) on keybase.
- I have a public key whose fingerprint is 66D4 6F49 8A5A CF50 61DD 028A F60F F0BE 93E2 E646
To claim this, I am signing this object:
### | |
# Node.js app Docker file | |
# | |
# Some basic build instructions: | |
# ``` | |
# # you should delete node_modules b/c you don't want that copied during 'ADD' | |
# docker build -t thom-nic/node-bootstrap . | |
# # run a shell in the container to inspect the environment (as root): | |
# docker run --rm -itu root thom-nic/node-bootstrap /bin/bash | |
# ``` |
# Node.js app Docker file | |
FROM ubuntu:14.04 | |
MAINTAINER Thom Nichols "[email protected]" | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update | |
RUN apt-get -qq update | |
RUN apt-get install -y nodejs npm |
/** | |
* Find the longest class names in Spring. | |
* Also find FactoryFactory classes. | |
* a goof-off project by @thom_nic | |
*/ | |
import java.util.jar.* | |
defaultTasks 'longest', 'factoryfactory' |
/** | |
* Scroll to the given element on the page | |
*/ | |
function scrollTo(elem) { | |
$('html').animate({ | |
scrollTop: $(elem).offset().top | |
}, 600); | |
} |
set nocompatible | |
source $VIMRUNTIME/vimrc_example.vim | |
source $VIMRUNTIME/mswin.vim | |
source ~/.vimrc | |
behave mswin | |
set diffexpr=MyDiff() | |
function MyDiff() | |
let opt = '' | |
if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.facebook</groupId> | |
<artifactId>facebook-android-sdk</artifactId> | |
<packaging>apklib</packaging> | |
<name>Facebook Android SDK</name> | |
<version>3.0.1</version> |
import sys | |
def Record(name, required, **defaults): | |
required = tuple(required.split()) | |
class RecordBase(object): | |
__slots__ = required + tuple(defaults.keys()) | |
def __init__(self, *args, **kwargs): | |
all_args = set() |
$ BERKSHELF_DEBUG=1 berks install | |
Using git (2.3.0) | |
Using zsh (1.0.0) | |
Using node (1.0.1) | |
Using nginx (2.0.4) | |
Using redisio (1.4.1) | |
Using mongodb (0.13.7) | |
The file at '/var/folders/57/7kc43km1357fb9lrdgc15jn00000gn/T/community-rest-stream20131127-47587-nwjl66' is not a known compression type | |
/Users/tnichols/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/berkshelf-2.0.10/lib/berkshelf/community_rest.rb:22:in `unpack' | |
/Users/tnichols/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/berkshelf-2.0.10/lib/berkshelf/community_rest.rb:100:in `download' |
site :opscode | |
cookbook 'git', '~> 2.3.0' | |
cookbook 'zsh', '~> 1.0.0' | |
cookbook 'node', '~> 1.0.1' | |
cookbook 'nginx', '~> 2.0.4' | |
cookbook 'redisio', '~> 1.4.1' | |
cookbook 'mongodb', '~> 0.13.7' | |
cookbook 'cloudwatch-monitoring', '~> 1.1.0' |