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 | |
# | |
# This script is really useful when you have malware in your phone and you want to remove it. | |
# | |
# Before you begin, you need to install adb tools (look for instructions for your platform) and | |
# you need to enable developer mode in your phone. | |
# | |
# After it, connect your phone to your computer, enable ADB debug, enable the connection between | |
# phone and computer, and then you are able to start. | |
# |
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
gitmeld() { | |
FILENAME=$1 | |
HASH_1=$2 | |
HASH_2={3:HEAD} | |
meld --label="$HASH_2 $(basename $FILENAME)" --label="$HASH_1 $(basename $FILENAME)" <(git show $HASH_2:$FILENAME) <(git show $HASH_1:$FILENAME) | |
} |
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 | |
# Usage: | |
# ./audio_pomodoro_macos.sh <first_pomodoro_time> <number of pomodoros> | |
# Example: | |
# ./audio_pomodoro_macos.sh 20m 10 | |
# It will create 10 pomodoros; first one is 20 minutes long, subsequent are 25 minutes long. | |
# Both arguments are optional. If none are given, it will create 16 pomodoros, 25 minutes long each. | |
# 16 pomodoros equals 8 hours: |
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
# GNU Screen - main configuration file | |
# All other .screenrc files will source this file to inherit settings. | |
# Author: Christian Wills - [email protected] | |
# Allow bold colors - necessary for some reason | |
attrcolor b ".I" | |
# Tell screen how to set colors. AB = background, AF=foreground | |
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' |