Skip to content

Instantly share code, notes, and snippets.

View meaganewaller's full-sized avatar

Meagan Waller meaganewaller

View GitHub Profile
@jbranchaud
jbranchaud / switch_pg_server_client_versions.bash
Last active July 6, 2022 17:37
Bash function for switching asdf postgres versions and stopping/starting servers
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
@emisjerry
emisjerry / travel-template.md
Created November 26, 2020 13:34
Obsidian旅遊紀錄樣板 (for Templater Plugin)
title created tags
{"tp_title"=>nil}
{"tp_today:f=\"YYYY-MM-DD HH:mm\""=>nil}
travel

{{tp_today:f=YYYY-MM-DD_ddd}} 旅遊紀錄

{{tp_title_picture}}

本日天氣

-- 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() & ")"
@Abdeboskey
Abdeboskey / career_development_journal.md
Last active July 8, 2023 20:12
Journal for Career Development Cirriculum @ Turing

Mod 1 Week 1: Understanding your strengths

1. Describe one of your strengths

What is something you have learned to do well (list a skill)?

  • Play Balinese Gamelan music.

What is something you know about (list some knowledge/expertise you have)?

  • Balinese Music.
  • Guitar.
  • Music Composition.
@kaushikgopal
kaushikgopal / karabiner.edn
Last active May 16, 2024 00:57
My source Karabiner file in Goku's edn format - Now lives @ https://github.com/kaushikgopal/dotfiles/blob/master/.karabiner.edn
;; 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
@Graunephar
Graunephar / 0 Mac tips and tricks (README).md
Last active May 27, 2024 15:06
List of the various apps, setup tips and tricks i have found useful over the years with mac. This is the stuff I will need to remember and probably install when I switch to a new machine. Apart from that I also sync my dotfiles (https://github.com/Graunephar/.dotfiles) to every new machine.

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.

@rex
rex / loading_messages.json
Created January 2, 2019 17:56
Funny loading messages
[
"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",
@qoomon
qoomon / conventional_commit_messages.md
Last active June 9, 2024 09:45
Conventional Commit Messages

Conventional Commit Messages

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

Commit Message Formats

Default

@trev
trev / config.yml
Created May 25, 2018 01:23
CircleCI 2.0 with parallelism & simplecov for Rails
# 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
@RebeccaWhit3
RebeccaWhit3 / bookmark-taxonomy.md
Last active February 26, 2024 07:12
Bookmark Taxonomy

Bookmark Taxonomy 📚

Personal taxonomy for organizing bookmarks by category.

Organizational scheme

A-Z Character Sequence

  • ⭐ Bookmarks