Skip to content

Instantly share code, notes, and snippets.

@silarsis
silarsis / Image Effects.py
Created November 8, 2012 02:28
Pythonista Scripts
# Image Effects
# Demonstrates some effects using different modules
# from the Python Imaging Library (PIL).
#
# Tip: You can touch and hold an image in the output
# to copy it to the clipboard or save it to your
# camera roll.
import Image, ImageOps, ImageFilter
from Image import BILINEAR
@silarsis
silarsis / getGist.py
Created November 8, 2012 02:32
getGist
# This script downloads and opens a Gist from a URL in the clipboard.
# It's meant to be put in the editor's actions menu.
#
# It works with "raw" and "web" gist URLs, but not with non-Python files.
#
# If a file already exists, a dialog is shown that asks whether the
# new file should be renamed automatically.
import clipboard
import editor
### Keybase proof
I hereby claim:
* I am silarsis on github.
* I am silarsis (https://keybase.io/silarsis) on keybase.
* I have a public key whose fingerprint is 82AE DEE7 33A3 21A9 822E 0E2D E46F 96D3 7117 0571
To claim this, I am signing this object:
@silarsis
silarsis / desktop.boxstarter
Last active December 15, 2015 03:22
Boxstarter for my desktop
Set-WindowsExplorerOptions -EnableShowFileExtensions -EnableShowFullPathInTitleBar
#Enable-MicrosoftUpdate
#Install-WindowsUpdate
# Desktop apps
cinst google-chrome-x64 atom lastpass steam slack visualstudiocode -y
# AWS Powershell Tools
Invoke-WebRequest -uri http://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi -OutFile .\AWSToolsAndSDKForNet.msi