Skip to content

Instantly share code, notes, and snippets.

View deseven's full-sized avatar

Ivan Novokhatski deseven

View GitHub Profile
@deseven
deseven / jira_issues_check
Last active December 8, 2017 10:39
checks whether the defined JIRA user resolved some issues after previous check and sends a notification to Slack if he did not
#!/bin/bash
# === jira_issues_check ===
# checks whether the defined JIRA user resolved some issues after previous check and sends a notification to Slack if he did not
# depends on jq and curl
# written by deseven, 2017
# http://deseven.info
# notifications language (ru/en)
notificationLang=ru
@deseven
deseven / 2mp3
Last active January 12, 2025 13:26
Simple script to convert all audio files in current directory to mp3
#!/bin/bash
BLUE='\033[1;34m'
NC='\033[0m'
RED='\033[1;31m'
GREEN='\033[1;32m'
total_files=0
current_file=0
ext="flac"
@deseven
deseven / phpbb-external-statistics.py
Last active July 28, 2017 22:15
phpbb-external-statistics
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
import urllib2
from retry import retry
try:
from BeautifulSoup import BeautifulSoup
except ImportError:
from bs4 import BeautifulSoup
@deseven
deseven / capsSwitch.sh
Created July 22, 2016 10:34
Simple script to change keyboard layout with indication
# capsSwitch
# depends on keyboardSwitcher and maclight
# to get the list of possible layouts, check `keyboardSwitcher list` output
# to check what layouts you use, check `keyboardSwitcher get` while switching layouts
layout1="U.S."
layout2="Russian - PC"
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
@deseven
deseven / is.zsh-theme
Created September 28, 2015 00:03
zsh theme used in interService
PROMPT='%{$fg[yellow]%}%M:%{$fg[green]%}%/%{$reset_color%}%(!.#.$) '