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
# Original: | |
# http://stackoverflow.com/a/6078528 | |
# | |
# Call `zipit` with the path to either a directory or a file. | |
# All paths packed into the zip are relative to the directory | |
# or the directory of the file. | |
def zipit(path, archname): | |
archive = zipfile.ZipFile(archname, "w", zipfile.ZIP_DEFLATED) | |
if os.path.isdir(path): |
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 | |
# | |
# Author: Felix Schlitter | |
# Description: | |
# Manage sessions using FZF | |
# | |
# Place this into your .bashrc after installing FZF, | |
# Then update your .tmux.conf and create key-bindings. Example: | |
# | |
# unbind s |
OlderNewer