I hereby claim:
- I am macarthy on github.
- I am macarthy (https://keybase.io/macarthy) on keybase.
- I have a public key ASD9J_ZsFkrkNtOq0AZnA5UHpICwUxh6uWsbGOqKuN2k-Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
subject,count | |
node.js,11 | |
mobile web,8 | |
java,8 | |
python,5 | |
web development,5 | |
mobile apps,5 | |
networking,4 | |
android,4 | |
etc.,4 |
#!/bin/ruby | |
# Usage: ruby find_pdf_field myfile.pdf searchstring | |
require 'pdf_forms' | |
require 'pp' | |
pdftk = PdfForms.new("/usr/local/bin/pdftk") | |
pdf = ARGV[0] |
#!/bin/bash | |
# herein we backup our indexes! this script should run at like 6pm or something, after logstash | |
# rotates to a new ES index and theres no new data coming in to the old one. we grab metadatas, | |
# compress the data files, create a restore script, and push it all up to S3. | |
TODAY=`date +"%Y.%m.%d"` | |
INDEXNAME="logstash-$TODAY" # this had better match the index name in ES | |
INDEXDIR="/usr/local/elasticsearch/data/logstash/nodes/0/indices/" | |
BACKUPCMD="/usr/local/backupTools/s3cmd --config=/usr/local/backupTools/s3cfg put" | |
BACKUPDIR="/mnt/es-backups/" | |
YEARMONTH=`date +"%Y-%m"` |
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
url 'https://vim.googlecode.com/hg/', :revision => '6c318419e331' | |
version '7.3.515' | |
def features; %w(tiny small normal big huge) end | |
def interp; %w(lua mzscheme perl python python3 tcl ruby lua) end |
#!/usr/bin/env ruby | |
require 'pivotal-tracker' | |
require 'yaml' | |
TEMP_DIR = "#{ENV['HOME']}/.pivotal/" | |
TEMP_FILE = TEMP_DIR + "temp.yml" | |
CONFIG_FILE = TEMP_DIR + "config.yml" | |
unless File.directory? TEMP_DIR |
Age: | |
The Tech Industry’s Darkest Secret: It’s All About Age | |
http://www.linkedin.com/today/post/article/20130422020049-8451-the-tech-industry-s-darkest-secret-it-s-all-about-age | |
Older Is Wiser: Study Shows Software Developers’ Skills Improve Over Time | |
http://news.ncsu.edu/releases/wms-murphyhill-age-2013/ | |
http://www.codingninja.co.uk/like-fine-wine-developers-can-become-better-with-age/ |
require 'prawn' | |
def header | |
grid([0,0],[1,3]).bounding_box do | |
bounding_box([0,cursor], :width => 200, :height => 30) do | |
fill_color "d7800f" | |
fill_rectangle [bounds.left,bounds.top],bounds.width,bounds.height | |
stroke_bounds | |
end |
Column | Type | Modifiers | Storage | Stats target | Description | |
------------------------+-----------------------------+---------------------------------------------------+----------+--------------+------------- | |
id | integer | not null default nextval('tags_id_seq'::regclass) | plain | | | |
type | character varying(255) | | extended | | | |
label | character varying(255) | | extended | | | |
created_at | timestamp without time zone | not null | plain | | | |
updated_at | timestamp without time zone | not null | plain | | | |
Indexes: | |
"tags_pkey" PRIMARY KEY, btree (id) | |
"add_uni |
//todo |