Magic words:
psql -U postgresIf run with -E flag, it will describe the underlaying queries of the \ commands (cool for learning!).
Most \d commands support additional param of __schema__.name__ and accept wildcards like *.*
| package main | |
| import ( | |
| "net/http" | |
| "io/ioutil" | |
| "time" | |
| "log" | |
| "os" | |
| ) |
| #!/usr/bin/env ruby | |
| # | |
| # Usage: git-up | |
| # git-reup | |
| # | |
| # Like git-pull but show a short and sexy log of changes | |
| # immediately after merging (git-up) or rebasing (git-reup). | |
| # | |
| # Inspired by Kyle Neath's `git up' alias: | |
| # http://gist.github.com/249223 |
| #!/bin/sh | |
| # Called by "git push" after it has checked the remote status, | |
| # but before anything has been pushed. | |
| # | |
| # If this script exits with a non-zero status nothing will be pushed. | |
| # | |
| # Steps to install, from the root directory of your repo... | |
| # 1. Copy the file into your repo at `.git/hooks/pre-push` | |
| # 2. Set executable permissions, run `chmod +x .git/hooks/pre-push` |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
require 'csv'
require 'open-uri'
csv_text = open('http://www.vvv.hh.yyy.ggg/~hhhh/uuuu.csv')
csv = CSV.parse(csv_text, :headers=>true)
csv.each do |row|
puts row
end
Last updated June 23, 2022
There are now two ways to approach this:
This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions