As configured in my dotfiles.
start new:
tmux
start new with session name:
#include <iostream> | |
#include <string> | |
#include <curl/curl.h> | |
static size_t WriteCallback(void *contents, size_t size, size_t nmemb, void *userp) | |
{ | |
((std::string*)userp)->append((char*)contents, size * nmemb); | |
return size * nmemb; | |
} |
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
As configured in my dotfiles.
start new:
tmux
start new with session name:
##This script is subject to conditions under GNU General Public License | |
##Please save this python script in the same folder | |
##as your VLC or Windows Media playlist, you want to convert | |
##Read in the file with format extension | |
with open ("INPUT_VLCplaylist_HERE.m3u", "r") as myfile: | |
data=myfile.read().replace('\n', '') |