The script itself has most of the documentation. Just know that there are two scripts here:
- A plain-text version (
.applescript
) - A compiled version (
.scpt
)
#!/bin/bash | |
# Script to update Mac Chromium to the latest build. | |
# Personally, I drop this in my ~/Library/Scripts dir and run in from the | |
# Script menu item in the menu bar. | |
# NOTE: Chromium must not be running when this is run. | |
export APP_DIR="$HOME/Applications/Browsers" | |
export LATEST_BUILD=`curl --silent "http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/LATEST"` |
if (window.location !== window.top.location) | |
window.top.location = window.location; |
# znc - irc bouncer | |
description "IRC bouncer." | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
exec znc |
{{ foobar }}{# <- Nothing #} | |
{% if foobar %} | |
{% load wowzers %}{# <- Still throws an error #} | |
{% endif %} | |
<!DOCTYPE html> | |
<html lang="en"> | |
<meta charset="utf-8"> | |
<title>Logic block test</title> | |
<h1>Logic block test</h1> | |
<p>It appears to me that template tags within “skipped” logic blocks are | |
actually evaluated. The code below throws an error when the either of the | |
<code>load</code> or <code>firstof</code> statements is uncommented. |
Environment: | |
Request Method: GET | |
Request URL: http://localhost:8000/ | |
Django Version: 1.1.3 pre-alpha | |
Python Version: 2.6.1 | |
Installed Applications: | |
['django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', |
from django.db.models import signals | |
from haystack import indexes | |
class RealTimeSearchIndex(indexes.RealTimeSearchIndex): | |
""" | |
A variant of the stock ``RealTimeSearchIndex`` that constantly keeps the | |
index fresh, including removing an object when it is saved to a state such | |
that it should no longer be in the index. (The latter is not done by the |
(* | |
File: | |
Application.applicationWillSwitchOut.scpt | |
Abstract: | |
This script will automatically save all on-disk text documents with unsaved | |
changes when BBEdit loses focus. | |
Version: |