Type: Restaurant
Cuisine: Fish menu
Based on: https://github.com/awesomeWM/awesome?tab=readme-ov-file#arch-linux-aur
First install the required packages:
sudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/awesome-git.git
cd awesome-git| #! /usr/bin/env bash | |
| # Create file or directory with parent directories | |
| # For a more detalied description please take a look at: | |
| # https://zinovyev.net/blog/create-files-and-directories-with-parent-directories | |
| HELP_MESSAGE=$(cat <<EOM | |
| Create files or directories with underlying path | |
| Usage Examples: |
| # Create a topic | |
| kafka-topics --create --bootstrap-server localhost:9092 --topic test --partitions 1 --replication-factor 1 | |
| # List existend topics | |
| kafka-topics --list --bootstrap-server localhost:9092 | |
| # Start a consumer | |
| kafka-console-consumer --bootstrap-server localhost:9092 --topic test --from-beginning | |
| # Start a producer |
| Section "Device" | |
| Identifier "Intel Graphics" | |
| Driver "intel" | |
| Option "TearFree" "true" | |
| Option "AccelMethod" "uxa" | |
| EndSection |
| #! /usr/bin/env ruby | |
| def format_time_zone(tz) | |
| format('%06.2f', tz.gsub(/:/, '.')).gsub(/^0/, '+').gsub(/\./, ':') | |
| end | |
| TIMEZONES = ARGV.map { |tz| format_time_zone(tz) }.freeze | |
| WORKING_HOURS = (7..19).freeze |
| bundle exec rake secret | \ | |
| awk '{ print "development:\n secret_key_base: "$1"\nstaging:\n secret_key_base: "$1"\nproduction:\n secret_key_base: "$1 }' | \ | |
| cat > config/secrets.yml |
| module WebpackerHelper | |
| def page_pack_tags | |
| join_paths(application_pack_tags, | |
| controller_pack_tags) | |
| end | |
| def application_pack_tags | |
| join_paths(attempt_to_find(:stylesheet, 'application'), | |
| attempt_to_find(:javascript, 'application')) | |
| end |
| #!/usr/bin/env ruby | |
| require "fileutils" | |
| class Package | |
| FILTERED_PARTS = %w[rpm x86_64] | |
| INSTALL_SECTIONS = %w[pre_install post_install pre_upgrade | |
| post_upgrade pre_remove post_remove].freeze |
| RAILS_ENV := "development" | |
| PUBLISHED_PORT := "8080" | |
| DOCKER_CMD := "bundle exec rails s -b 0.0.0.0 -p 3000" | |
| PROJECT := $(shell basename ${PWD}) | |
| COMMAND_ENV := "RAILS_ENV=${RAILS_ENV}" | |
| TIMESTAMP := $(shell /bin/date +%Y%m%d%H%M%S) | |
| #IMAGE_NAME := "${PROJECT}:${TIMESTAMP}" | |
| IMAGE_NAME := "${PROJECT}:latest" | |
| APP_PATH := "/opt/apps/${PROJECT}" |