Skip to content

Instantly share code, notes, and snippets.

View arbaev's full-sized avatar

Timur Arbaev arbaev

View GitHub Profile
@arbaev
arbaev / gist:4ffbf5ab95dc4a7da29edd5d141f3c52
Created March 25, 2026 20:27
Tampermonkey скрипт для Яндекс.Почта убирает попап "может это рассылки и вы хотите их отключить"
// ==UserScript==
// @name Yandex Mail — удаление писем без попапа 'может это рассылки и вы хотите их отключить'
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Автоматически нажимает "Удалить только эти письма" в попапе Яндекс Почты
// @match https://mail.yandex.ru/*
// @match https://mail.yandex.com/*
// @grant none
// @run-at document-idle
// ==/UserScript==
@arbaev
arbaev / semantic-commit-messages.md
Last active August 1, 2022 21:01 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

### Nginx ###
check process nginx
with pidfile /run/nginx.pid
start program = "/usr/sbin/service nginx start"
stop program = "/usr/sbin/service nginx stop"
if cpu > 60% for 2 cycles then alert
if cpu > 80% for 5 cycles then restart
if memory usage > 80% for 5 cycles then restart
if failed host 167.71.65.162 port 80 protocol http then restart
if 3 restarts within 5 cycles then timeout
remote: Bundle completed (177.15s)
remote: Cleaning up the bundler cache.
remote: Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.17.2). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
remote: The latest bundler is 2.0.1, but you are currently running 1.15.2.
remote: To update, run `gem install bundler`
remote: -----> Installing node-v10.14.1-linux-x64
remote: -----> Detecting rake tasks
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: Yarn executable was not detected in the system.