Skip to content

Instantly share code, notes, and snippets.

View philippbosch's full-sized avatar

Philipp Bosch philippbosch

View GitHub Profile
@philippbosch
philippbosch / chars.html
Created January 12, 2012 10:41
Hello world
<h1>Hello world</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et 'dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
@philippbosch
philippbosch / dabblet.css
Created January 4, 2012 20:34
iOS Native App Default Style implemented in CSS
/* iOS Native App Default Style implemented in CSS */
/* Bootstrapping … */
* {
margin: 0;
padding: 0;
font-size: inherit;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
@philippbosch
philippbosch / dabblet.css
Created December 26, 2011 11:15
iOS Native App Default Style implemented in CSS
/* iOS Native App Default Style implemented in CSS */
/* Bootstrapping … */
* {
margin: 0;
padding: 0;
font-size: inherit;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
@philippbosch
philippbosch / mauer.json
Created November 4, 2011 17:50
Mauerverlauf GeoJSON
{
"type": "Polygon",
"coordinates": [
[
[13.36792052,52.62417051],
[13.3672,52.62558],
[13.36604,52.62674],
[13.36025,52.62672],
[13.359,52.62674],
[13.35514,52.62738],
@philippbosch
philippbosch / innerstaedtischer-verlauf.kml
Created November 4, 2011 15:55
innerstädtischer Mauerverlauf
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<Folder>
<Placemark>
<name>Westside</name>
<Polygon>
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>
<outerBoundaryIs>
@philippbosch
philippbosch / mauerverlauf.kml
Created November 4, 2011 14:43
Mauerverlauf komplett
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<Folder>
<Placemark>
<name>Grenzmauer 1c</name>
<Polygon>
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>
<outerBoundaryIs>
@philippbosch
philippbosch / poly.kml
Created November 4, 2011 10:43
KML Polygon Test
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<Folder>
<Placemark>
<name>politische Grenze</name>
<Polygon>
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>
<outerBoundaryIs>

Welcome to Drift!

Drift is an always-already versioned, cloud-backed text editor. You can use it to take notes, and save them in the GitHub cloud.

Your gists are always saved locally, and any changes you make will get pushed to GitHub's servers.

To name a gist, touch its name in the toolbar.

You can use the share button at the top-right to copy a link to one of your gists, or view it on the web in Safari.

@philippbosch
philippbosch / workon.scpt
Created August 11, 2011 10:22
«Work On» Alfred extension
on alfred_script(q)
tell application "iTerm"
activate
try
set _term to last terminal
on error
set _term to (make new terminal)
end try
@philippbosch
philippbosch / raw_post_data_file_field.py
Created August 9, 2011 10:41
Saving raw POST data to a file field in Django
from django.core.files.base import ContentFile
uploaded_file = ContentFile(request.raw_post_data)
uploaded_file.name = "filename.txt"
my_object.file = uploaded_file
my_object.save()