sudo pacman -Sy --needed git base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
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/bash | |
# Production Docker Host Hardening Script v2 | |
# For Ubuntu Server 24.04 LTS (Noble) | |
# Suitable for both Kamal deployment and builder hosts | |
set -euo pipefail | |
IFS=$'\n\t' | |
# --- Constants --- |
npm i prettier eslint eslint-config-prettier eslint-config-standard eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-tailwindcss @typescript-eslint/eslint-plugin @typescript-eslint/parser -D
.eslintrc.js
:
https://docs.microsoft.com/en-us/windows/wsl/install
$ wsl --set-default-version 2
$ wsl --install -d ubuntu
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
// adminjs default theme | |
export default { | |
colors: { | |
// Primary | |
primary100: '#ff9800', | |
primary80: '#ffa726', | |
primary60: '#ffb74d', | |
primary40: '#ffcc80', | |
primary20: '#ffe0b2', |
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
// AdminJS locales https://github.com/SoftwareBrothers/adminjs | |
const commonProps = { | |
status: "Situação", | |
createdAt: "Criação", | |
updatedAt: "Atualização", | |
}; | |
const translations = { | |
actions: { |
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
// AdminJS locales https://github.com/SoftwareBrothers/adminjs | |
const commonProps = { | |
status: "Situação", | |
createdAt: "Criação", | |
updatedAt: "Atualização", | |
}; | |
const translations = { | |
actions: { |
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
deploy: | |
steps: | |
- bundle-install | |
- add-to-known_hosts: | |
hostname: myserver.example.com | |
- create-file: | |
name: write key | |
filename: $HOME/.ssh/id_rsa | |
content: $DEPLOYMENT_SSH_KEY_PRIVATE | |
overwrite: true |
- Solarized Color Scheme
- SidebarEnhancements
- Sass
- Ruby Slim
- Rspec
- RailsGotoSpec
- ColorPicker
- MarkdownEditing
- EditorConfig