Skip to content

Instantly share code, notes, and snippets.

View graybill's full-sized avatar

Linus Graybill graybill

  • Philadelphia, PA
View GitHub Profile
var poo = $$('#channels li')[4];
console.log(poo);
poo.classNames;
poo.addClassName('selected');
Buildfile: build.xml
[setup] Project Target: Android 1.5
[setup] API level: 3
dirs:
[echo] Creating output directories if needed...
resource-src:
[echo] Generating R.java / Manifest.java from the resources...
<?xml version="1.0" encoding="UTF-8"?>
<project name="IRB" default="help">
<!-- The local.properties file is created and updated by the 'android' tool.
It contain the path to the SDK. It should *NOT* be checked in in Version
Control Systems. -->
<property file="local.properties"/>
<!-- The build.properties file can be created by you and is never touched
by the 'android' tool. This is the place to change some of the default property values
<SCRIPT LANGUAGE=JavaScript1.1>
<!--
OAS_version = 11;
if (navigator.userAgent.indexOf('Mozilla/3') != -1 || navigator.userAgent.indexOf('Mozilla/4.0 WebTV') != -1)
OAS_version = 10;
if (OAS_version >= 11)
document.write('<SCR' + 'IPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '?' + OAS_query + '"><\/SCRIPT>');//-->
</SCRIPT>
var ttmessage = document.getElementById("ttmessage");
var span = document.createElement("span");
var text = "test message here!";
span.appendChild(text);
ttmessage.appendChild(span);
ttmessage.setAttribute("style", "display:block");
console.log(ttmessage);
{% begin header %}
{% template _header.cft %}
{% end %}
{% begin contents %}
poooooo
<div id="content">
<!-- <p>CONTENT GOES HERE</p> -->
<img src="{% asset version?src=images/cube.jpg %}" alt="Cube" id="samplecube" />
</div>
{% begin contents %}
{% template _header.cft %}
poooooo
<div id="content">
<!-- <p>CONTENT GOES HERE</p> -->
<img src="{% asset version?src=images/cube.jpg %}" alt="Cube" id="samplecube" />
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule . - [L]
# pass thru files from the domain-specific design/public/ directory
RewriteCond %{HTTP_COOKIE} DESIGN=([^;]+) [NC]
function makeSomeRows () {
var columns, i, tmpCols;
tmpCols = new Array();
columns = $(".column"); // jQuery collection of all the columns
i = 0; // counter
columns.each(function(){
tmpCols.push(this); // wrap four columns in a row
i++;
if (i > 3) { // reset loop
$(tmpCols).wrapAll("<div class=\"row\" />");
{% set DataSource %}node-single{% end %}
{% set Elements.in %}@artist{% end %}
{% set Slugs.in %}%INPUT_SLUG%{% end %}
{% set Meta.select %}all{% end %}
{% set OutTags.select %}#media-library.#original.#url,#primary-media.#thumbnails.#url,#collaborator-category{% end %}
{% set Category %}%INPUT_CATEGORY%{% end %}
{% begin contents %}
<div id="icons">