This file contains 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 | |
DIR=`dirname "${BASH_SOURCE[0]}"` | |
pushd "$DIR" | |
ssh-add -t 9h ./id_rsa |
This file contains 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
declare module "url-parse" { | |
interface Query { | |
[index: string]: string; | |
} | |
interface QueryParser { | |
(query: string): any; | |
} | |
interface ParsedUrl { |
This file contains 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
export function generateFactory<T>(defaultObject: T): (input?: Partial<T>) => T { | |
return (input?: Partial<T>) => Object.assign({}, defaultObject, input); | |
} |
This file contains 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
#424242,#00776D,#49A8D5,#FFFFFF,#8D8E8E,#FFFFFF,#71FFDA,#EB3D46 |
This file contains 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
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-cpu' | |
set -g @plugin 'tmux-plugins/tmux-prefix-highlight' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
set -g @plugin 'tmux-plugins/tmux-continuum' | |
set -g @plugin 'tmux-plugins/tmux-pain-control' | |
# Other examples: |
This file contains 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
# frozen_string_literal: true | |
require "sidekiq-ent/unique" | |
# In order to prevent duplicate unique jobs, Sidekiq Enterprise generates a | |
# hash of the job arguments. Because we are using Active Job, the arguments | |
# that Sidekiq receives include the job id and a timestamp of when the job was | |
# enqueued, both of which are virtually guaranteed to be unique. | |
# | |
# To work around this, we intercept and filter these arguments out around |
This file contains 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
AllCops: | |
DisabledByDefault: true | |
Style/TopLevelMethodDefinition: | |
Enabled: true |
This file contains 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
alias --save lstcp="sudo lsof -iTCP -sTCP:LISTEN -n -P" |
OlderNewer