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
View NextActions.py
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
pslobo / ThingsReminders
Created Dec 10, 2013
A quick first run at solving the problem posed by Rick Stawarz here: https://alpha.app.net/stwrz/post/17003173
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
View views.py
# views.py
# Aleksandr Pasechnik
#
# A Django views.py function which bridges Piwik and StatusBoard
#
# Django: https://www.djangoproject.com
# Piwik: http://piwik.org
# StatusBoard: http://panic.com/statusboard/
# PiwikAPI: https://github.com/piwik/piwik-python-api
#
View DispatchComposeURLScheme.md

Dispatch registers the x-dispatch:// URL scheme and provides one public action: compose.

/compose overview

Launches Dispatch with the composer screen prefilled using information provided in the parameters below.

from

Optional. Specifies the email address of the account to compose the new mail from. If there are more than one account configured in Dispatch, and no valid from account is provided, Dispatch will default to using the first account configured in Dispatch to compose the mail.

View gist:0f444a7aca5538fe2a88
### Keybase proof
I hereby claim:
* I am pslobo on github.
* I am plobo (https://keybase.io/plobo) on keybase.
* I have a public key whose fingerprint is 2BCD 3E93 0F09 964C D19B 90DC 3A32 B274 A954 6347
To claim this, I am signing this object:
View dropbox_events.py
import feedparser
import time
import datetime
from dateutil import tz
import re
import httplib
import urllib
DROPBOX_PERSONAL_FEED = ''
DROPBOX_WORK_FEED = ''
View htmltable_to_table.py
from BeautifulSoup import BeautifulSoup as Soup
import urllib
raw_page = urllib.urlopen('http://www.sfrandonneurs.org/home.htm')
soup = Soup(raw_page)
class MarkdownTable:
@staticmethod
View vnc_favorites.py
from xml.etree.ElementTree import Element, SubElement, tostring
from os import path
from Foundation import (
CFPreferencesAppSynchronize,
CFPreferencesCopyAppValue,
CFPreferencesCopyKeyList,
CFPreferencesSetValue,
kCFPreferencesAnyUser,
kCFPreferencesCurrentHost
@pslobo
pslobo / Move_Messages.scpt
Created Jun 6, 2015
Let's Talk Tech How To
View Move_Messages.scpt
try
tell application "Mail"
set msgs to selection
if length of msgs is not 0 then
repeat with msg in msgs
try
move msg to mailbox "App Testing" of account "iCloud"
on error errmsg
return errmsg
end try
@pslobo
pslobo / GoToMailbox.scpt
Created Jun 7, 2015
Jump to Specific Mailbox in Mail.app
View GoToMailbox.scpt
try
tell application "Mail"
activate
set selected mailboxes of message viewer 1 to {mailbox "App Testing" of account "iCloud"}
end tell
on error errmsg
return errmsg
end try
You can’t perform that action at this time.