title | created | tags | ||
---|---|---|---|---|
|
|
travel |
{{tp_title_picture}}
function switch_pg { | |
local version_to_run=$1 | |
local currently_running_version=$(psql --no-psqlrc -t -c 'show server_version;' postgres | xargs) | |
# check if you're erroneously switching to the same version | |
if [ "$version_to_run" = "$currently_running_version" ]; then | |
echo "Postgres $version_to_run is already running." | |
return 1 | |
fi |
-- stolen from: https://gist.github.com/gabeanzelini/1931128eb233b0da8f51a8d165b418fa | |
if (count of theSelectionFromBrave()) is greater than 0 then | |
set str to "tags: #link | |
" & theTitleFromBrave() & " | |
> " & theSelectionFromBrave() & " | |
[" & theTitleFromBrave() & "](" & theCurrentUrlInBrave() & ")" |
;; File has moved over to https://github.com/kaushikgopal/dotfiles/blob/master/.karabiner.edn | |
;; Feel free to raise github issues in that repo, if you have questions/comments/edits |
Since first starting to use a mac I knew that I wanted to keep a single place where I could keep my notes of delightful programs, shortcuts, and other things I might want to remember.
This is made for my own memory only. But I thougt I might as well keep is public, so that others could find it, like I myself often find tips in other peoples Gists.
I do not setup all my settings when I get a new mac. THis is only for my own memory. Most of my settings and programs are either in my .dotfiles or automatically synced though mackup (as part of my .dotfile setup).
I also keep a time machine backup on an SSD connected to the dock in my office, so that if I need to change setups beacuse of an emergency, I do not need to use 3 days to setup all of this stuff.
[ | |
"swapping space and time", | |
"downloading golf balls", | |
"warming up reactor", | |
"reticulating splines", | |
"searching for the answer to life, the universe, and everything", | |
"counting backwards from infinity", | |
"pay no attention to the man behind the curtain", | |
"Calculating gravitational constant in your bay", | |
"following the white rabbit", |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
# Ruby CircleCI 2.0 configuration file | |
# | |
# Check https://circleci.com/docs/2.0/language-ruby/ for more details | |
defaults: &defaults | |
working_directory: ~/split_app | |
parallelism: 2 | |
docker: | |
- image: circleci/ruby:2.5.0-node-browsers |