Portions taken from http://www.cs.utexas.edu/~mitra/csSpring2011/cs327/cx_mac.html (in case that link ever dies.)
Assume you've got homebrew installed.
Download the following files from Oracle
Gist title: "Open Selected Finder Folder in iTerm" | |
Summary: Use the selected folder in Finder to open a shell in iTerm and go to its directory. | |
See also: https://gitlab.com/gnachman/iterm2/issues/3552 |
---------- Forwarded message ---------- | |
From: Mark S. Miller <[email protected]> | |
Date: Tue, Nov 16, 2010 at 3:44 PM | |
Subject: "Future of Javascript" doc from our internal "JavaScript Summit" | |
last week | |
To: [email protected] | |
On November 10th and 11th, a number of Google teams representing a variety | |
of viewpoints on client-side languages met to agree on a common vision for | |
the future of Javascript. |
Gist title: "Convert video subtitles from YouTube XML format to SubRip (.srt)" | |
Summary: A Ruby program to convert video subtitles from YouTube's XML format to the SubRip format. |
Gist title: "Komodo: Run Current File or Selection with PHP" | |
Summary: Save this small JavaScript program to the Toolbox in Komodo Edit (or IDE), assign a key binding to it, and use it to execute the current file (or the selected code if there is any) in a PHP interpreter. |
# Simple demo of playing a looping sound using the (currently undocumented) sound.Player class | |
import sound | |
import os | |
from scene import * | |
class MyScene (Scene): | |
def setup(self): | |
self.player = sound.Player(os.path.expanduser('~/Pythonista.app/Beep.caf')) | |
self.player.number_of_loops = -1 #repeat forever |
# sounder.py | |
# play each of the .caf sounds inside the Pythonista.app | |
import os, os.path, scene, sound | |
framesPerSound = 60 | |
pythonistaDir = os.path.expanduser('~/Pythonista.app') | |
soundFileExtension = '.caf' | |
wallpaperAppIcon = ('/AppIcon76x76@2x~ipad.png', '/[email protected]') |
# Very simple class just to represent some business logic implementation | |
# which has nothing to do with the UI or any caller that uses this class. | |
class HelloWorldImpl(): | |
def __init__(self): | |
pass | |
def sayHelloWorld(self): | |
print 'Hello World from Sheldon Wosnick' | |
def sayGoodbyeWorld(self): |
'''pipista.py''' | |
import os, os.path, sys, urllib2, requests | |
class PyPiError(Exception): | |
def __init__(self, value): | |
self.value = value | |
def __str__(self): | |
return repr(self.value) |
Portions taken from http://www.cs.utexas.edu/~mitra/csSpring2011/cs327/cx_mac.html (in case that link ever dies.)
Assume you've got homebrew installed.
Download the following files from Oracle
See the entry point in file "blti-launch.html". |