- Set up the folder
~/.awsenv/
with the folder structure shown below - Create a
credentials.txt
for every environment folder (see an example below) - Ensure no other user than yourself can view those files
- Create the function
set_aws
in~/.config/fish/functions/set_aws.fish
(see an example below) - Now load any environment using
set_aws <environment>
likeset_aws private
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264 | |
if [ "`/usr/bin/whoami`" != "root" ]; then | |
echo "You need to execute this script as root." | |
exit 1 | |
fi | |
cat > /etc/yum.repos.d/centos.repo<<EOF |
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule RomanNumeral do | |
def convert(n) when n >= 1000, do: remove_and_continue(n, "M", 1000) | |
def convert(n) when n >= 900, do: remove_and_continue(n, "CM", 900) | |
def convert(n) when n >= 500, do: remove_and_continue(n, "D", 500) | |
def convert(n) when n >= 400, do: remove_and_continue(n, "CD", 400) | |
def convert(n) when n >= 100, do: remove_and_continue(n, "C", 100) | |
def convert(n) when n >= 90, do: remove_and_continue(n, "XC", 90) | |
def convert(n) when n >= 50, do: remove_and_continue(n, "L", 50) | |
def convert(n) when n >= 40, do: remove_and_continue(n, "XL", 40) | |
def convert(n) when n >= 10, do: remove_and_continue(n, "X", 10) |
I'm doing some research on how companies use GitHub Enterprise (or public GitHub) internally. If you can help out by answering a few questions, I'd greatly appreciate it.
- What is the primary setup? Is there an organization and each official repo is owned by that organization?
- Does every engineer have a fork of each repo they're working on?
- Are engineers allowed to push directly to the official repo? Or must all commits go through a pull request?
- Do engineers work on feature branches on the main repo or on their own forks?
- Do you require engineers to squash commits and rebase before merging?
- Overall, what is the workflow for getting a new commit into the main repository?
- What sort of hooks do you make use of?
- Are there any ops issues you encountered? (Scaling, unforeseen downtime, etc.)
As configured in my dotfiles.
start new:
tmux
start new with session name:
NewerOlder