Skip to content

Instantly share code, notes, and snippets.

View confluencepoint's full-sized avatar
:octocat:
Focusing

confluencepoint confluencepoint

:octocat:
Focusing
View GitHub Profile
@Westacular
Westacular / gistcheck.py
Created November 25, 2012 21:42 — forked from michaeluhl/gistcheck.py
An all-purpose tool for pulling from, committing to, and downloading new gists in Pythonista.
# Source: https://gist.github.com/4145515
#
# All-purpose gist tool for Pythonista.
#
# When run directly, this script sets up four other scripts that call various
# functions within this file. Each of these sub-scripts are meant for use as
# action menu items. They are:
#
# Set Gist ID.py - Set the gist id that the current file should be
# associated with.
@ctaloi
ctaloi / gist:4156185
Created November 27, 2012 18:48 — forked from fcrespo82/gist:4137305
Script to sync Pythonista App to Dropbox
import webbrowser, os, pprint
# Include the Dropbox SDK libraries
#from dropbox import client, rest, session
import dropbox
# Configuration
TOKEN_FILENAME = 'PythonistaDropbox.token'
# Get your app key and secret from the Dropbox developer website
APP_KEY = '<your dropbox app_key>'
APP_SECRET = '<your dropbox app_secret>'
@kejoester
kejoester / FileTransfer.py
Created November 30, 2012 08:43 — forked from omz/FileTransfer.py
File Transfer script for Pythonista (iOS)
# File Transfer for Pythonista
# ============================
# This script allows you to transfer Python files from
# and to Pythonista via local Wifi.
# It starts a basic HTTP server that you can access
# as a web page from your browser.
# When you upload a file that already exists, it is
# renamed automatically.
# From Pythonista's settings, you can add this script
# to the actions menu of the editor for quick access.
@joshearl
joshearl / blank-sublime-text-snippet.xml
Created December 1, 2012 13:21
Sublime Text 2 Recruiter Response Snippet
<snippet>
<content><![CDATA[]]></content>
<tabTrigger></tabTrigger>
<scope></scope>
<description></description>
</snippet>
(?i)ma(y|j)a.?kalender(s)?|weltuntergang|apo(c|k)alypse|nibiru|untergang|maya(n|s)?
@gordonmeyer
gordonmeyer / GetTitle.py
Created January 2, 2013 23:59
This script is for use with Keyboard Maestro, as described at: http://www.gordonmeyer.com/2013/01/keyboard-maestro-make-link-with-title-from-clipboard.html It outputs the title of a webpage. The URL is passed via a Keyboard Maestro variable. This is a rather crude, but reliable, method of getting the title and does not require the installation o…
#! /usr/bin/python
"""
brute force get title of web page
usage: getTitle.py url
Gordon Meyer January 1, 2013
www.gordonmeyer.com
"""
# modules used
import urllib2, urlparse, string, os
@mcsquaredjr
mcsquaredjr / mmd_table.py
Last active June 19, 2016 05:46
Interactive multimarkdown table generator for Pythonista. Please note that multi-column spanning is not supported in this version. I need some time to think how to implement it in a sensible way. To change text alignment press on the alignment button. Generated code will be placed in the clipboard. Dr. Drang's code is used for table 'normalizati…
# Interactive multimarkdown table generator.
# 1/3/13 created
# Copyright (c) by McSquaredJr.
# Normalization code is by Dr. Drang http://goo.gl/DTphm
import cgi
import zlib
import webbrowser
import clipboard
@gamura
gamura / bootstrap-md.css
Last active August 4, 2016 07:28
Bootstrap.css for Markdown Pro ref: http://qiita.com/items/cda556061b6af247b9bc
body {
padding: 10px 15px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #333333;
background: #ffffff;
}
a, a:visited {
@stephenway
stephenway / tweetbot.sh
Created January 24, 2013 16:56
Tweetbot Secret Settings
# Tweetbot for Mac Super Secret Settings
# (updated on Oct 31, 2012)
# You will need to use the Terminal app to change these settings:
# these all affect the text in a DM or new tweet - the default is yes for all of them
defaults write com.tapbots.TweetbotMac TextAutomaticQuoteSubstitution -bool NO
defaults write com.tapbots.TweetbotMac TextAutoCorrect -bool NO
defaults write com.tapbots.TweetbotMac TextContinuousSpellChecking -bool NO
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active October 31, 2025 16:45
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: