TL;DR
Install Postgres 9.5, and then:
sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main| # launch: docker-compose up -d | |
| version: "3.7" | |
| services: | |
| validator: | |
| image: quay.io/team-helium/validator:latest-validator-amd64 | |
| container_name: validator | |
| init: true | |
| restart: always | |
| ports: | |
| - "2154:2154" |
| -- Create a group | |
| CREATE ROLE readaccess; | |
| -- Grant access to existing tables | |
| GRANT USAGE ON SCHEMA public TO readaccess; | |
| GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
| -- Grant access to future tables | |
| ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
| // paths and constants | |
| var path = require('path') | |
| var SRC_PATH = path.resolve('./src') | |
| var DIST_PATH = path.resolve('./build') | |
| var OUTPUT_FILENAME = '[name].[chunkhash].js' | |
| var DEV_REGEXP = (/(^babel-?.*|.*-plugin$|.*-loader)/) | |
| var DOT_ENV_SAMPLE_PATH = path.resolve('./.env.default') | |
| var DOT_ENV_PATH = path.resolve('./.env') | |
| var pkg = require('./package.json') |
| var Hapi = require('hapi'); | |
| // Keep track of the server's init state | |
| var internals = { | |
| initialized: false | |
| }; | |
| var server = new Hapi.Server(); | |
| server.connection(); |
TL;DR
Install Postgres 9.5, and then:
sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 mainThis font is manually patched with Fontforge. It includes the glyphs from DejaVu Sans Mono for Powerline.
I recommend DirectWrite-patched VIM builds. I'm using KaoriYa's build (http://www.kaoriya.net/software/vim/)
Add the following lines to your .vimrc/_vimrc:
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
This configuration is no longer updated
| import os | |
| import subprocess | |
| import atexit | |
| import signal | |
| from optparse import make_option | |
| from django.conf import settings | |
| from django.core.management.base import BaseCommand | |
| from django.core.management.commands.runserver import Command as RunserverCommand |
| %w(rubygems sequel fileutils yaml active_support/inflector).each{|g| require g} | |
| require File.join(File.dirname(__FILE__), "downmark_it") | |
| module WordPress | |
| def self.import(database, user, password, table_prefix = "wp", host = 'localhost') | |
| db = Sequel.mysql(database, :user => user, :password => password, :host => host, :encoding => 'utf8') | |
| %w(_posts _drafts images/posts/featured).each{|folder| FileUtils.mkdir_p folder} |