CLICK ME
yes, even hidden code blocks!
print("hello world!")
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
# Note: Must be added to the bottom of your ~/.bash_proile or a | |
# dedicated ~/.aliases file sourced in ~/.bash/~/.bash_profile. | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# Used to hide all icons on the desktop user-interface. | |
alias restart-dns='sudo killall -HUP mDNSResponder' | |
alias hide-desktop=' | |
defaults write com.apple.finder CreateDesktop -bool false | |
killall Finder | |
echo "🙈" |
defmodule RFlatten do | |
@moduledoc """ | |
RFlatten will take an list of Integers of an arbitrary length and depth of | |
nesting and produce a single list containing only those Integers found. | |
""" | |
@doc """ | |
The main recursion call allows for us to split the list into it's first | |
element (i.e., head) and the remainder of the problem (i.e., tail). We then | |
recurse through until we hit an element (i.e., call(element)) or the end of |
#!/usr/bin/env bash | |
#:https://stackoverflow.com/a/10929511 | |
# | |
# Use: Stashing all branches listed in `to_stash.txt` in remote `timimsms` | |
# | |
# > ./git-fork-stash.sh to_stash.txt timimsms | |
# | |
[ -z "$1" ] && echo "Warning: No file provided. Exiting" && exit 1 | |
[ -z "$2" ] && echo "Warning: No fork provided. Exiting" && exit 1 |