This file contains hidden or 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 | |
# dbfin - Unload and Delete the Dropbox OS X Kernel Extension (Project inFinite) | |
# (CC0) No Rights Reserved | |
# Artiom Lichtenstein | |
# v1.1, 31/05/2016 | |
set -u | |
fun_ECHOLOR() { | |
echo -e "$(tput setaf $2)$(tput bold)$1$(tput sgr0)" |
This file contains hidden or 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 | |
# sea - Show, Execute Arguments | |
# (CC0) No Rights Reserved | |
# Artiom Lichtenstein | |
# v1.3, 28/04/2016 | |
if [ -z "$1" ]; then | |
echo; echo "Usage: ./sea {COMMAND_1} [COMMAND_2]..[COMMAND_N]"; echo | |
exit 1 | |
fi |
This file contains hidden or 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
# Sublime Text Plugin - Close Project | |
# (CC0) No Rights Reserved | |
# Artiom Lichtenstein | |
# v1.0, 21/12/2014 | |
# | |
# Key Bindings: { "keys": ["ctrl+shift+0"], "command": "close_project_cmd" } | |
# | |
import sublime, sublime_plugin |
This file contains hidden or 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 | |
# cln - Space Cleaner | |
# (CC0) No Rights Reserved | |
# Artiom Lichtenstein | |
# v1.0, 27/01/2014 | |
apt-get clean | |
find /var/log/. -type f -iregex '.*\.\(gz\|[0-9]\|old\)$' -exec rm {} \; | |
find /var/log/. -maxdepth 1 -type f -exec sh -c '>{}' \; |
This file contains hidden or 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 | |
# rp - Command Repeater | |
# (CC0) No Rights Reserved | |
# Artiom Lichtenstein | |
# v1.1, 05/01/2014 | |
shopt -s expand_aliases | |
source ~/.bash_aliases | |
if [ -z "$1" ] |
This file contains hidden or 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 | |
# art-get - Application Repository Tool | |
# (CC0) No Rights Reserved | |
# Artiom Lichtenstein | |
# v1.0, 28/12/2013 | |
url_REP="https://gist.github.com/ArtiomL/4722179a52ea327fb2ad/raw/" | |
tmp_FILE=$(mktemp) | |
trap "rm -f $tmp_FILE" EXIT |
This file contains hidden or 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 | |
# .bash_aliases - Bash Shell Aliases | |
# (CC0) No Rights Reserved | |
# Artiom Lichtenstein | |
# v1.9.2, 08/01/2015 | |
alias lsl='ls -lFh' | |
alias lsa='ls -lAFh' | |
alias bk='cd -' | |
alias ns='netstat -anvp | grep -v "unix"' |
This file contains hidden or 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
@echo off | |
REM IP - TCP/IP Configuration Script | |
REM (CC0) No Rights Reserved | |
REM Artiom Lichtenstein | |
REM v1.6, 24/03/2014 | |
if [%1]==[] goto lbl_HELP | |
set str_NIC=Local Area Connection |
This file contains hidden or 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
#!/usr/bin/python | |
# csgen - Cisco SVI Sequence Configuration Generator | |
# (CC0) No Rights Reserved | |
# Artiom Lichtenstein | |
# v1.2, 29/04/2013 | |
import sys | |
def fun_PRINT_INSTRUCTIONS(): | |
print "\nUsage: ./csgen {First SVI Number} {Base IP Address/CIDR} {IP Address Octet Number to Rotate} {Last SVI Number} [Additional Config Lines devided by '+']" |
This file contains hidden or 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
@echo off | |
REM Reals - Multi-Server Launcher Script | |
REM (CC0) No Rights Reserved | |
REM Artiom Lichtenstein | |
REM v1.3, 03/01/2013 | |
if [%1]==[] goto proghelp | |
if [%2]==[] goto proghelp | |
if [%3]==[] goto proghelp |