Skip to content

Instantly share code, notes, and snippets.

View jakubkalicki's full-sized avatar
Open for new opportunities

Jakub Kalicki jakubkalicki

Open for new opportunities
View GitHub Profile
jakubkalicki / .cVimrc
Last active April 27, 2020 12:35
cVim config for Google Chrome
set noautofocus " The opposite of autofocus; this setting stops
" sites from focusing on an input box when they load
map d closeTab
jakubkalicki / .bashrc
Last active June 24, 2021 20:00
[Config files] Personal configuration files
# Setup SSH
eval $(ssh-agent -s)
ssh-add ~/.ssh/github
# Tool allowing to clean git repository history
alias bfg='java -jar C:/bfg-repo-cleaner/bfg-1.13.0.jar'
jakubkalicki /
Last active October 12, 2019 21:03
[Bash scripts for AWS] Bash scripts using AWS CLI #aws #bash
# Purpose: Update AWS security group using IP of machine where script is executed
# Usage: ./ <security group id> <protocol> <port> <rule description>
# Standardised error process, prints errors to STDERR
function exit_with_error() {
echo -e "[ERROR] ${1}" >&2;
exit 1;
jakubkalicki /
Last active May 24, 2022 12:46
[SQL queries/scripts] Useful SQL queries and scripts
import subprocess
import re
import time
def delete():
stm = [
'-u', 'test',
'-e', "DELETE FROM mcm.test ORDER BY id LIMIT 1000",