Skip to content

Instantly share code, notes, and snippets.

View khustochka's full-sized avatar
🇺🇦
Stand with Ukraine!

Vitalii Khustochka khustochka

🇺🇦
Stand with Ukraine!
View GitHub Profile
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem "rails", github: "rails/rails"
@khustochka
khustochka / main-user.sh
Last active January 2, 2022 00:57
Create you own user on AWS Ubuntu or Raspberry Pi
#!/bin/bash
set -e
username=$1
new_uid=$2
new_groups=$3
while [ -z "$username" ]
do