- 2008-12-24: Unifying filesystems with union mounts
- 2009-03-18: Unioning file systems: Architecture, features, and design choices
- 2009-03-25: Union file systems: Implementations, part I
- 2009-04-07: Unioning file systems: Implementations, part 2
- 2010-07-14: A brief history of union mounts
- 2010-09-01: Another union filesystem approach
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
import json | |
import urllib.request | |
import argparse | |
def by_class(all_fields_to_depth): | |
url = "https://raw.githubusercontent.com/ocsf/ocsf-lib-py/main/schema_cache/schema-1.3.0.json" | |
schema = json.loads(urllib.request.urlopen(url).read().decode('utf-8')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git aliases - taken from oh-my-zsh's git plugin and translated to bash | |
# https://github.com/robbyrussell/oh-my-zsh/wiki/Cheatsheet#helpful-aliases-for-common-git-tasks | |
# https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh | |
function git_current_branch() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || \ | |
ref=$(git rev-parse --short HEAD 2> /dev/null) || return | |
echo ${ref#refs/heads/} | |
} | |
function git_current_repository() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PURPOSE ###################################################################### | |
# This exercise aims not to practice or build skills, but to quickly identify | |
# topics and details of the Ruby language for further review. It intentionally | |
# ranges from easy to things that are probably hard or unknown. | |
# INSTRUCTIONS ################################################################# | |
# There are 70 small tasks. Aim to spend one hour on them. If you don't know the | |
# answer just move on. If you are unsure of the syntax just guess. Answer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LC_ALL=C exec sort "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$1" ] || [ "$1" = "--help" ]; then | |
echo "extralf: Extra Line Feed - select files with EOL-EOL-EOF" | |
echo "Usage: extralf FILE [FILE] [FILE]..." | |
echo "Example: find . -name '*.rb' | xargs extralf" | |
else |
- CampJS III in Melbourne on May 23-26, tickets on sale now
- JSConf (& CSSConf, & hackathon) in April, Melbourne
- Event: RubyConfAU 2014, coming up in Sydney
- Meetup: MelbJS meetup in Melbourne happens monthly, and is quite big, usually front end
- Newsletter: Node Weekly, also check out Axel Rauschmeyer @rauschma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- show table and index bloat in your database ordered by most wasteful | |
-- https://github.com/heroku/heroku-pg-extras/blob/master/init.rb | |
WITH constants AS ( | |
SELECT current_setting('block_size')::numeric AS bs, 23 AS hdr, 4 AS ma | |
), bloat_info AS ( | |
SELECT | |
ma,bs,schemaname,tablename, | |
(datawidth+(hdr+ma-(case when hdr%ma=0 THEN ma ELSE hdr%ma END)))::numeric AS datahdr, | |
(maxfracsum*(nullhdr+ma-(case when nullhdr%ma=0 THEN ma ELSE nullhdr%ma END))) AS nullhdr2 | |
FROM ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "json" | |
JSON.parse(`. /etc/credentials.sh; ruby -rjson -e'puts ENV.to_hash.to_json'`).each_pair { |k,v| ENV[k] = v } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
repo_host="apt.opengeo.org" | |
repo_dir="suite/v3/ubuntu" | |
repo_release="lucid" | |
echo -n "===> Please enter a bucket name: " | |
read -e bucket | |
echo "===> Confirming you have s3cmd configured..." |
NewerOlder