Skip to content

Instantly share code, notes, and snippets.

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

confluencepoint confluencepoint

:octocat:
Focusing
View GitHub Profile
@cclauss
cclauss / listApp.py
Last active December 23, 2015 15:39
Simple app that read in a list from a file and allows the user add to, remove from, and view the list. viewList() is fairly redundant and could be removed.
# Current version at https://gist.github.com/cclauss/6656495
import console
addPrompt = """Item to be added to the list?
or [M] to return to the main menu:"""
removePrompt = """Item to be removed from the list?
or [M] to return to the main menu:"""
def writeListToFile(inFileName, inList):
@Anton-2
Anton-2 / get_location.py
Created September 17, 2013 05:58
get_location
import socket
import webbrowser
import re
html = """
<!DOCTYPE html>
<html>
<head>
<script>
@abackstrom
abackstrom / server.py
Last active December 23, 2015 01:48
Sample Python server to return formatted data for GeekTool.
#!/usr/bin/env python
#
# Run this in the background. Poll using netcat:
#
# $ nc localhost 5005
#
# Made for use with GeekTool. http://projects.tynsoe.org/en/geektool/
#
@fractaledmind
fractaledmind / EXPORT ALL SKIM NOTES TO EVERNOTE WITH HYPERLINKS (Complete)
Last active January 9, 2017 01:36
REQUIRED PROGRAMS: - Skim (pdf viewer and annotator) - Evernote (cloud based note app) This script will (as the title suggests) export all of you Skim notes directly to Evernote with hyperlinks. It integrates the GENERATE TOP 3 NOTES WITH SYSTEM URL script that will put 3 notes at the top of the PDF with linking information. This means your PDF …
Tweetbot for Mac Super Secret Settings
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
defaults write com.tapbots.TweetbotMac TextAutomaticTextReplacement -bool NO
@ttscoff
ttscoff / short_titles.sh
Created August 29, 2013 02:19
Via @pilotmoon, the secret to shortening your popclip bar.
$ defaults write com.pilotmoon.popclip UseShortTitles -bool YES
$ killall PopClip && open -a PopClip
@elentok
elentok / fl
Created August 13, 2013 07:47
Open forklift from terminal
#!/bin/bash
# Open current directory in forklift
echo -n $PWD | pbcopy
(cat<<EOF
tell application "Forklift"
activate
tell application "System Events"
# Launcher
#
# A Simple Launcher in Notification Center
from scene import *
import webbrowser
import notification
class Key (object):
def __init__(self, frame):
@BashedCrab
BashedCrab / HydrogenLayouts.py
Last active July 16, 2025 07:54
HydrogenLayouts
#
# Hydrogen is a lightweight GUI framework for Pythonista
#
# Hydrogen - https://gist.github.com/BashedCrab/5924965
#
# HydrogenLayouts - https://gist.github.com/BashedCrab/6103019
#
# HydrogenDemo - https://gist.github.com/BashedCrab/5953776
#
@nicolasH
nicolasH / apple system status.py
Last active December 8, 2016 19:59
apple system status
import sys
import console
import requests
from bs4 import BeautifulSoup
from datetime import datetime
#
# Check the status of the Apple Dev Center systems.
# Offline systems appear in orange
# Online systems appear in black
#