pg_dump dbname > outfile
psql dbname < infile
pg_dump dbname > outfile
psql dbname < infile
spotify:user:
| ``` | |
| println "main.java.files = ${sourceSets.main.java.files.name}" | |
| println "test.java.files = ${sourceSets.test.java.files.name}" | |
| println "main.output.classesDir = ${sourceSets.main.output.classesDir}" | |
| println "test.output.classesDir = ${sourceSets.test.output.classesDir}" | |
| println "main.java.srcDirs = ${sourceSets.main.java.srcDirs}" | |
| println "test.java.srcDirs = ${sourceSets.test.java.srcDirs}" | |
| println "main.resources.srcDirs = ${sourceSets.main.resources.srcDirs}" | |
| println "test.resources.srcDirs = ${sourceSets.test.resources.srcDirs}" | |
| println "main.allSource.files = ${sourceSets.main.allSource.files}" |
| git submodule update --init |
| #!/bin/bash | |
| # Extact issue tag (e.g. feature/TAG-123 -> TAG-123, ANOTHERTAG-123-description -> ANOTHERTAG-123) | |
| fetch_issue_tag() { | |
| git rev-parse --abbrev-ref HEAD | grep -e '[A-Z]\+-[0-9]\+' -o | |
| } | |
| BRANCH_NAME=$( git branch | grep '*' | sed 's/* //' ) | |
| ISSUE_TAG=$( fetch_issue_tag ) | |
| FIRSTLINE="$( head -n 1 "$1" )" |
| https://open.spotify.com/album/<id> | |
| in spotify desktop app: | |
| spotify:album:<id> |
| https://coderwall.com/p/h6yfda/use-and-to-jump-forwards-backwards-words-in-iterm-2-on-os-x | |
| Here's how you can configure iTerm 2 on OSX to allow you to use ⌥ ← and ⌥→ to do just that. | |
| First you need to set your left ⌥ key to act as an escape character. | |
| Second you need to either locate the current shortcut for ⌥ ← or create a new one, in the Profile Shortcut Keys, with the following settings: | |
| Keyboard Shortcut: ⌥← | |
| Action: Send Escape Sequence | |
| Esc+: b |