Skip to content

Instantly share code, notes, and snippets.

Working from home

Evsyukov Denis juev

Working from home
View GitHub Profile
#!/usr/bin/env bash
# ==========
# One daily text file to rule them all.
# Copyright: 2022 Tyler Cipriani <
# License: GPLv3
set -euo pipefail
juev /
Created Jul 15, 2021 -- bash script for convert postgresdb dump file to sqlite database
if [ -z $1 ]; then
echo " -- convert postgresdb dump to sqlite database."
echo ""
echo "First argument is dump file"
echo "Second argument is sqlite filename (optional, default value is \`sqlite.db')."
juev /
Created Jan 20, 2020 — forked from svetlyak40wt/
Спусковые крючки по Дорофееву в формате для Org Mode

Спусковые крючки для очистки мозга

Как пользоваться картой

  1. Карта помогает выгрузить из головы все задачи
  2. Пройдитесь взглядом по всем разделам карты
  3. Если в голове “сидит” задача, то она обязательно всплывёт при взгляде на соответствующий узел
  4. Выписывайте задачи, пока их количество не достигнет 50
  5. Почувствуйте, как гора упала с ваших плеч :)

При составлении карты использовались материалы Максима Дорофеева,


View vscode.settings.for.golang
"go.useLanguageServer": true,
"go.languageServerExperimentalFeatures": {
"format": true,
"autoComplete": true,
"diagnostics": true,
"goToDefinition": true,
"hover": true,
"signatureHelp": true,
"goToTypeDefinition": true,
"documentSymbols": true,
juev / jenkins-decrypt.groovy
Created Sep 10, 2019 — forked from tuxfight3r/jenkins-decrypt.groovy
Decrypting Jenkins Password
View jenkins-decrypt.groovy
#To Decrypt Jenkins Password from credentials.xml
#go to the jenkins url
#In the console paste the script
juev /
Created Sep 5, 2019 — forked from andreyvit/
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

juev / budget.ledger
Created Mar 12, 2019 — forked from simonmichael/budget.ledger
seeking minimal ledger budget examples
View budget.ledger
; whenever there's a food expense, deduct the same amount from the budget
= /^expenses:food$/
(budget:food) -1
1/1 opening balances
assets:checking 1000
equity:opening balances
1/2 budget allocation ; could also do this with an automated posting on income txns
View envelope-budgeting.journal
; An example of YNAB-ish envelope budgetting with hledger/ledger
; cf
; Using accounts like the following:
; assets
; business
; bank
; wf
; bchecking
juev / match.c
Created Jan 14, 2019 — forked from ianmackinnon/match.c
C Regex multiple matches and groups example
View match.c
# gcc -Wall -o match match.c && ./match
#include <stdio.h>
#include <string.h>
#include <regex.h>