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
## Install base packages using dnf | |
sudo dnf install gcc autoconf ncurses-devel openssl-devel | |
## https://github.com/jdx/mise | |
## Install erlang | |
mise use erlang@27 | |
## Install elixir | |
mise use [email protected] |
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
require: rubocop-rspec | |
AllCops: | |
DisplayCopNames: true | |
TargetRubyVersion: 2.6.1 | |
Exclude: | |
- "db/*" | |
- "vendor/**/*" | |
Documentation: |
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
# Example Systemd-boot entry | |
efibootmgr --create --disk /dev/sda --part 1 --loader /EFI/systemd/systemd-bootx64.efi --label "Systemd Boot Manager" --verbose | |
# Example Windows Boot Loader entry | |
efibootmgr --create --disk /dev/sda --part 1 --loader /EFI/Microsoft/Boot/bootmgfw.efi --label "Windows Boot Manager" --verbose |
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
# Control Sidekiq mode in specs | |
before do | |
Sidekiq::Testing.disable! # will now actually persist to redis | |
end | |
after do | |
Sidekiq::Testing.fake! # will push to fake jobs array | |
end | |
# Retrieve fake jobs |
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
// Packages installed: | |
// "eslint": "^4.19.1", | |
// "eslint-config-google": "^0.9.1", | |
// "eslint-plugin-react": "^7.8.2", | |
module.exports = { | |
"extends": [ | |
"google", // Use google styleguide | |
"plugin:react/recommended" // Fix "Unused import" when using JSX and extend eslint with more options | |
], |
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
"editor.detectIndentation": false, | |
"editor.insertSpaces": false, | |
"editor.tabSize": 2, | |
"editor.trimAutoWhitespace": true, | |
"editor.formatOnSave": true, | |
"files.autoSave": "off", | |
"files.insertFinalNewline": true, | |
"files.trimTrailingWhitespace": true, | |
"editor.acceptSuggestionOnEnter": "off", | |
"editor.acceptSuggestionOnCommitCharacter": false, |
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
import React from 'react'; | |
import { ActivityIndicator, Animated, View } from 'react-native'; | |
/** | |
* <Blocker active={this.state.loading}> | |
* Content goes here... | |
* </Blocker> | |
* | |
*/ | |
export class Blocker extends React.Component { |
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
# Default PS1 | |
# PS1='[\u@\h \W]\$ ' | |
# PS1 that includes git branch name | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
PS1="\u@\h \[\033[32m\]\W\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ " |