View dbfin.sh
#!/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)"
View sea.sh
#!/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
View close_project.py
# 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
View cln.sh
#!/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 '>{}' \;
View rp.sh
#!/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" ]
View art-get.sh
#!/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
View .bash_aliases.sh
#!/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"'
View ip.bat
@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
View csgen.py
#!/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 '+']"
View hget.sh
#!/bin/bash
# hget - HTTP/S Client Simulator
# (CC0) No Rights Reserved
# Artiom Lichtenstein
# v1.3, 22/12/2013
trap "echo; echo 'Exiting...'; rm -f scr_cURL_HGET.cookies; exit" SIGINT
if [ -z "$1" ]; then
echo; echo "Usage: ./hget http|s://{HOST_NAME | IP_ADDRESS}[:PORT][/URI] [INTERVAL]"; echo