Skip to content

Instantly share code, notes, and snippets.

pslobo pslobo

Block or report user

Report or block pslobo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pslobo / .tmux.conf
Created May 30, 2017 — forked from BretFisher/.tmux.conf
My ugly tmux config, much copied from others and tweaked
View .tmux.conf
# tmux config for ultimate winning
# make tmux display things in 256 colors
#set -g default-terminal "screen-256color"
# use this if italic enabled in term profile
set -g default-terminal "tmux-256color"
# set just true color without custom term
#set -ga terminal-overrides ",xterm-256color:Tc"
# fixes bug:
#set -ga terminal-overrides ',xterm*:sitm=\E[3m'
docker-machine create -d virtualbox swarm-keystore
eval "$(docker-machine env swarm-keystore)"
docker run -d \
-p "8500:8500" \
-h "consul" \
progrium/consul -server -bootstrap
docker-machine create \
-d virtualbox \
pslobo / ThingsReminders
Created Dec 10, 2013
A quick first run at solving the problem posed by Rick Stawarz here:
View ThingsReminders
tell application "Things"
repeat with todayToDo in to dos of list "Today"
set todoName to name of todayToDo
set todoBody to notes of todayToDo
tell application "Reminders"
set todayList to list named "Today"
tell todayList
make new reminder with properties {name:todoName, body:todoBody}
end tell
end tell
t = '''Inbox:
Project 01:
- Task 01
this is a comment
this is still a comment associate with task 01
- sub 01
- sub 02
- sub 05
- Task 02
pslobo / gist:24443fa7fe36ff26a103
Created Oct 22, 2015 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan
View gist:24443fa7fe36ff26a103

OS X Preferences

most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
pslobo / RPMpackages.rb
Last active Sep 3, 2015 — forked from KartikTalwar/RPMpackages.rb
Create puppet facts for RPM packages
View RPMpackages.rb
package_data = Facter::Util::Resolution.exec('rpm --query --all --qf "%{NAME}||%{VERSION}\n"')
package_data.split("\n").each do |line|
rpm_detail = line.split("||")
package_name = 'package_' + rpm_detail[0]
package_version = rpm_detail[1]
Facter.add(package_name) do
setcode do
pslobo / GoToMailbox.scpt
Created Jun 7, 2015
Jump to Specific Mailbox in
View GoToMailbox.scpt
tell application "Mail"
set selected mailboxes of message viewer 1 to {mailbox "App Testing" of account "iCloud"}
end tell
on error errmsg
return errmsg
end try
pslobo / Move_Messages.scpt
Created Jun 6, 2015
Let's Talk Tech How To
View Move_Messages.scpt
tell application "Mail"
set msgs to selection
if length of msgs is not 0 then
repeat with msg in msgs
move msg to mailbox "App Testing" of account "iCloud"
on error errmsg
return errmsg
end try
from xml.etree.ElementTree import Element, SubElement, tostring
from os import path
from Foundation import (
You can’t perform that action at this time.