Starting on the feature branch:
git checkout main
git pull
git checkout -
git pull --rebase origin main
git push -f
<div class="mt-6 flex gap-6"><a | |
class="group -m-1 p-1" | |
aria-label="Follow on Twitter" | |
href="https://twitter.com" | |
><svg | |
viewBox="0 0 24 24" | |
aria-hidden="true" | |
class=" | |
h-6 | |
w-6 |
const path = require("path") | |
const fsLib = require("fs") | |
const fs = fsLib.promises | |
const { pathToFileURL, fileURLToPath } = require("url") | |
const glob = require("glob") | |
const postcss = require("postcss") | |
const postCssImport = require("postcss-import") | |
const readCache = require("read-cache") | |
// Detect if an NPM package is available |
/* Obsidian CSS Snippets */ | |
/* ============================== | |
Frontmatter | |
============================== */ | |
.cm-hmd-frontmatter { | |
font-size: 10px !important; | |
} | |
/* ============================== |
🔥 = [] | |
#=> [] | |
🔥 << "digging" << "deeper" << "holes!" << "💎" | |
#=> ["digging", "deeper", "holes!", "💎"] | |
🔥.join(" ") | |
#=> "digging deeper holes! 💎" |
#!/usr/bin/env zsh | |
# PG | |
# Start with `switch_pg 13.6` for example | |
function pg_switch { | |
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 |
Starting on the feature branch:
git checkout main
git pull
git checkout -
git pull --rebase origin main
git push -f
ruby -v 2>>&1 | tee -a ~/desktop/ruby_output.txt
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
# Generated with https://github.com/ivantsepp/annotate_gem/ | |
ruby '2.7.1' | |
# Full-stack web application framework. (https://rubyonrails.org) | |
gem 'rails', github: 'rails/rails' | |
# Timezone Data for TZInfo (https://tzinfo.github.io) | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# ==== Action Text ==== |