This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| tell application "Evernote" | |
| set _selectedNote to false | |
| set _notes to get every note of every notebook where its title contains "TARGETNOTE" | |
| repeat with _note in _notes | |
| if length of _note is not 0 then | |
| set _selectedNote to _note | |
| end if | |
| end repeat | |
| tell item 1 of _selectedNote to append text return & return & date string of (current date) & time string of (current date) & return | |
| tell item 1 of _selectedNote to append attachment theFile |
| #!/usr/bin/env python | |
| #version 2.13 | |
| #author tobyrosen@gmail.com | |
| #Copyright (c) 2011-2015 Toby Rosen | |
| #Distributed under the New BSD License. | |
| #All rights reserved. | |
| #Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: |
| import sys; from PIL import Image; import numpy as np | |
| chars = np.asarray(list(' .,:;irsXA253hMHGS#9B&@')) | |
| if len(sys.argv) != 4: print( 'Usage: ./asciinator.py image scale factor' ); sys.exit() | |
| f, SC, GCF, WCF = sys.argv[1], float(sys.argv[2]), float(sys.argv[3]), 7/4 | |
| img = Image.open(f) | |
| S = ( round(img.size[0]*SC*WCF), round(img.size[1]*SC) ) | |
| img = np.sum( np.asarray( img.resize(S) ), axis=2) |
| import notification | |
| from random import randint | |
| import sys | |
| import urllib | |
| import webbrowser | |
| reminders = ["Reminder A", ["Reminder B", "url://"], "Reminder C"] | |
| n = randint(0, len(reminders)-1) | |
| URL = "pythonista://random_reminders.py?action=run" |
| # FontInstaller (by @olemoritz) | |
| # This script installs a custom TTF font on iOS (system-wide). | |
| # It can be used in one of two ways: | |
| # 1. Simply run it in Pythonista, you'll be prompted for the URL of the font | |
| # you'd like to install (if there's a URL in the clipboard, it'll be used by default) | |
| # 2. Use it as an 'Open in...' handler, i.e. select this file in Pythonista's 'Open in... | |
| # menu' setting. This way, you can simply download a ttf file in Safari and open it in |
| javascript: | |
| window.location = 'launchpro://?url=' + encodeURIComponent('launchpro://?url='+ encodeURIComponent('pushpin://add?url={{' + location.href + '}}&title={{' + document.title + '}}&tags=[list:📌'+ location.href +'|without tag= |!to_check_out|ios app url-scheme=ios app url-scheme|ebook=reading ebook]')); |
| # -*- coding: utf-8 -*- | |
| # Check and change redirection status of a telefon number via the | |
| # website of my telephone network service provider TNG.de | |
| # Python Script for iOS Pythonista App (Vers. 1.4) | |
| from bs4 import BeautifulSoup | |
| import requests, console, re, sys, time, exceptions | |
| try: |
| javascript:(function(){window.location="launch://x-callback-url/dropbox/append?text="+encodeURIComponent(document.title+" - "+location.href)+"&path=%2FPublic&name=Websites.txt&linebreak=YES&x-success="+encodeURIComponent(location.href);})(); |