This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROMPT='%{$fg[yellow]%}%M:%{$fg[green]%}%/%{$reset_color%}%(!.#.$) ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BLUE='\033[1;34m' | |
NC='\033[0m' | |
total=0 | |
current=0 | |
ext="" | |
read -p "Please enter the extension to convert from [flac]: " ext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright (C) 2000 Daniel Ryde | |
Copyright (C) 2017 deseven <de7@deseven.info> | |
This library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Lesser General Public | |
License as published by the Free Software Foundation; either | |
version 2.1 of the License, or (at your option) any later version. | |
This library is distributed in the hope that it will be useful, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# your mattermost installation url | |
mattermost="https://example.com" | |
# bot token, get it in Integrations > Bot Accounts | |
token=abcdef123456 | |
# set to true for debug output | |
debug=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# === bitbucket_commits_check === | |
# checks whether there are any commits in the provided repo (all branches) since the last working day | |
# written by deseven, 2019 | |
# http://deseven.info | |
# bitbucket base URL | |
bitbucketURL="https://example.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fish_prompt --description 'Write out the prompt' | |
set laststatus $status | |
if not set -q __fish_prompt_hostname | |
set -g __fish_prompt_hostname (hostname) | |
end | |
set_color -b black | |
if test $laststatus -eq 0 | |
#printf "[%s$status%s] " (set_color -o green) (set_color normal) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# === bitbucket_user_commits_check === | |
# checks whether there are any commits for user since the last working day | |
# written by deseven, 2019 | |
# http://deseven.info | |
# bitbucket base URL | |
bitbucketURL="https://example.com" |
OlderNewer