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
| alias --save lstcp="sudo lsof -iTCP -sTCP:LISTEN -n -P" |
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
| AllCops: | |
| DisabledByDefault: true | |
| Style/TopLevelMethodDefinition: | |
| Enabled: true |
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
| # 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 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
| # 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 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
| #424242,#00776D,#49A8D5,#FFFFFF,#8D8E8E,#FFFFFF,#71FFDA,#EB3D46 |
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
| export function generateFactory<T>(defaultObject: T): (input?: Partial<T>) => T { | |
| return (input?: Partial<T>) => Object.assign({}, defaultObject, input); | |
| } |
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
| declare module "url-parse" { | |
| interface Query { | |
| [index: string]: string; | |
| } | |
| interface QueryParser { | |
| (query: string): any; | |
| } | |
| interface ParsedUrl { |
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 | |
| DIR=`dirname "${BASH_SOURCE[0]}"` | |
| pushd "$DIR" | |
| ssh-add -t 9h ./id_rsa |
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
| require 'jruby/profiler' | |
| require 'jruby/profiler/callgrind_printer' | |
| module CallgrindProfiler | |
| def callgrind | |
| unless JRuby.runtime.instance_config.is_profiling? | |
| STDERR.puts 'Profiling not enabled, re-run with `ruby --profile.api`' | |
| return | |
| end |
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
| Β± gh |master β| β bundle --verbose | |
| HTTP GET https://rails-assets.org/api/v1/dependencies | |
| βββ ERROR REPORT TEMPLATE βββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| - What did you do? | |
| - What did you expect to happen? | |
| - What happened instead? | |
| Error details | |
| Java::JavaLang::RuntimeException: Could not generate DH keypair |
NewerOlder