Skip to content

Instantly share code, notes, and snippets.

View obervinov's full-sized avatar
📟
Working from home

obervinov obervinov

📟
Working from home
View GitHub Profile
@kksudo
kksudo / vpn-instructions.md
Last active July 1, 2025 13:08
Настраиваем подключение к впн Устанавливайте только Stable версии приложений!

Настраиваем подключение к впн Устанавливайте только Stable версии приложений!

Подробнее про клиенты и настройку можно почитать по этой ссылке

Android

  1. NekoBox for Android
  • Скачать и установить приложение на смартфон.

Гайд заполнения анкеты на загранпаспорт РФ 10 лет (биометрический) в Ереване/Гюмри в 2022 году

При помощи этих подсказок уже осуществлялись подачи на загранпаспорт в Гюмри и Ереване - все прошло успешно, работники консульства не задавали никаких вопросов.

Для подачи на загран алгоритм такой:

  • Ловим слот и записываемся в Ереван/Гюмри. Слоты появляются в начале каждого месяца (примерно 31-1ое число) для записи на следующий (в Гюмри более случайно, бывает и в середине месяца). Кроме того иногда люди отказываются от своих записей и они тоже становятся доступны.
  • За 2 рабочих дня звоним в консульство (после записи в слот придет письмо с телефоном) и подтверждаем визит.
@ryan-blunden
ryan-blunden / Setting Terraform Cloud and Environment Variables using the Workspace Variables API.md
Created March 18, 2021 23:27
Setting Terraform Cloud and Environment Variables using the Workspace Variables API

Setting Terraform Cloud and Environment Variables using the Workspace Variables API

This presumes you've already signed up for Terraform Cloud and went through the onboarding flow which uses the tfc-getting-started repository.

The commands below use the first organization and workspace and presumes no Terraform variables (apart from provider_token) and environment variables exist.

It also only shows how to create a Terraform or environment variable.

NOTE: Before continuing, make sure you've created a user access token and exported it as TERRAFORM_TOKEN.

@troyfontaine
troyfontaine / 1-setup.md
Last active July 10, 2025 12:57
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

@luciddreamz
luciddreamz / keycloak.sh
Last active July 24, 2024 08:58 — forked from paoloantinori/keycloak.sh
Keycloak Admin API Rest Example: Get User
#!/bin/bash
# requires https://stedolan.github.io/jq/download/
# config
KEYCLOAK_URL=http://localhost:8080/auth
KEYCLOAK_REALM=realm
KEYCLOAK_CLIENT_ID=clientId
KEYCLOAK_CLIENT_SECRET=clientSecret
USER_ID=userId
@hartfordfive
hartfordfive / reindex.sh
Last active June 24, 2025 23:53
Bash script to re-index all indices matching apattern from a remote Elasticsearch cluster to a local one
#!/bin/bash
if [ "$1" == "" ] || [ "$2" == "" ]; then
echo "Usage: ./reindex.sh [REMOTE_HOST:REMOTE_PORT] [INDEX_PATTERN] [LOCAL_HOST:LOCAL_PORT]"
exit 1
fi
REMOTE_HOST=$1
PATTERN=$2
if [ "$3" == "" ]; then
@shmup
shmup / torrents.md
Last active July 5, 2025 22:03
transmission blocklist guide

Transmission Blocklist

The Transmission torrent client has an option to set a Blocklist, which helps protect you from getting caught and having the DMCA send a letter/email.

It's as simple as downloading and installing the latest client:

@stephenhardy
stephenhardy / git-clearHistory
Created April 26, 2013 22:14
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git