As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
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.
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) |
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: |
~/.awsenv/
with the folder structure shown belowcredentials.txt
for every environment folder (see an example below)set_aws
in ~/.config/fish/functions/set_aws.fish
(see an example below)set_aws <environment>
like set_aws private
#!/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 |
// API return format is as so: | |
// { | |
// data: [ | |
// { | |
// name: 'foo' | |
// }, | |
// { | |
// name: 'bar' | |
// } | |
// ] |
import Foundation | |
struct Regex { | |
var pattern: String { | |
didSet { | |
updateRegex() | |
} | |
} | |
var expressionOptions: NSRegularExpressionOptions { | |
didSet { |
func mapParallel <A, B> (values: [A], task: ( (A, (B) -> () ) -> () ), callback:([B]) -> ()) { | |
let tasks: [((B) -> ()) -> ()] = values.map({ | |
v in | |
return { | |
cb in | |
task(v, cb) | |
} | |
}) | |