Skip to content

Instantly share code, notes, and snippets.

<div class="node-add-wrapper clear-block">
<div class="node-column-sidebar">
<?php if($sidebar): ?>
<?php print render($sidebar); ?>
<?php endif; ?>
</div>
<div class="node-column-main">
<?php if($form): ?>
<?php print drupal_render_children($form); ?>
<?php endif; ?>
@mjumbewu
mjumbewu / index.html
Created January 25, 2012 21:59
Isometric Z-Scrolling
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<style>
body {
background-color: SkyBlue;
margin: 0px;
padding: 0px;
}
@mjumbewu
mjumbewu / tropo1.py
Created November 2, 2011 01:09
My first tropo script
#!/usr/bin/python
say('hello')
@mjumbewu
mjumbewu / mapping_notes.py
Created October 8, 2011 16:52
mapping notes
# run 'python manage.py shell'...
from django.contrib.gis.geos import Point
from septa.models import SeptaStops, SeptaRoutes
ONE_MILE = 0.015
# This is around Devnuts HQ
my_location = Point(-75.142257, 39.965165)
nearby = my_location.buffer(ONE_MILE / 2)
@mjumbewu
mjumbewu / intersection.json
Created October 8, 2011 15:56
intersection of the 12 and the 21
{ "type": "MultiLineString", "coordinates": [ [ [ 2689354.393741, 235542.226547 ], [ 2689680
.056343, 235500.585944 ] ], [ [ 2689680.056343, 235500.585944 ], [ 2689906.467823, 235472.771
528 ] ], [ [ 2689906.467823, 235472.771528 ], [ 2690126.450528, 235442.482106 ] ], [ [ 269012
6.450528, 235442.482106 ], [ 2690668.307707, 235371.693559 ] ], [ [ 2690668.307707, 235371.69
3559 ], [ 2690967.117328, 235331.751372 ] ], [ [ 2690967.117328, 235331.751372 ], [ 2691110.1
55178, 235313.934206 ] ], [ [ 2691110.155178, 235313.934206 ], [ 2691553.989137, 235251.74816
8 ] ], [ [ 2691553.989137, 235251.748168 ], [ 2691994.852367, 235195.886479 ] ], [ [ 2691994.
852367, 235195.886479 ], [ 2692441.118122, 235136.569144 ] ], [ [ 2692441.118122, 235136.5691
44 ], [ 2692455.314000, 235134.904336 ] ], [ [ 2692455.314000, 235134.904336 ], [ 2692662.259
111, 235110.639190 ] ], [ [ 2692662.259111, 235110.639190 ], [ 2692885.033700, 235079.974076
@mjumbewu
mjumbewu / index.html
Created January 21, 2011 18:21
An SVG-based map of the United States of America
<!--
Thanks to:
@atogle, @evansml, @maxogden, @chachasikes, @peterfecteau, @mjumbewu
-->
<!doctype html>
<html>
<head>