Skip to content

Instantly share code, notes, and snippets.

View zuchmanski's full-sized avatar

Sebastian Zuchmanski zuchmanski

  • Paladin Software
View GitHub Profile
amenity - fuel, theatre, pub, fast_food, cinema, nightclub, place_of_worship, atm, bank, bureau_de_change, restaurant, townhall, fountain, post_office, police, cafe, pharmacy, library, toilets, parking, recycling, university, vending_machine, post_box, telephone, fire_station, public_building, college, red_cross, school, bicycle_parking, drinking_water, taxi, bench, bicycle_rental, car_wash, dentist, courthouse, wine, casino, kindergarten, gym, bar, clinic, arts_centre, veterinary, embassy, shelter, airport, baby_hatch, waste_basket, bus_station, hospital, jobcentre, marketplace, grave_yard, doctors, car_service
historic - monument, memorial, castle, ruins
cuisine - traditional, chicken, pizza, fish, vegetarian;chinese, burger, sandwich, chinese, tea, mexican, kebab, ice_cream, vegetarian, sushi, greek, polish, regional
shop - kiosk, books, supermarket, outdoor, bicycle, convenience, beverages, chemist, bakery, market, florist, car, mall, erotic, gift, alcohol, hairdresser, skateshop, clothes, car_parts, hi
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Action Controller: Exception caught</title>
<style>
body { background-color: #fff; color: #333; }
body, p, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
#include <cstdio>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#include <cmath>
#include <set>
#define INF 1000000009
#define MAX 1000009
#define MAX2 100009
<?
$a='chr(60).chr(63).chr(10).chr(36).chr(97).chr(61).chr(39).$a.chr(39).chr(59).chr(10)."echo $a;".chr(10).chr(63).chr(62)';
echo chr(60).chr(63).chr(10).chr(36).chr(97).chr(61).chr(39).$a.chr(39).chr(59).chr(10)."echo $a;".chr(10).chr(63).chr(62);
?>
<?php
$u='$';
$q="'";
$qq='"';
$s='<?php';
$e='?>';
$w='eval($p);';
$p='echo"$s\r\n{$u}u=$q$u$q;\r\n{$u}q=$qq$q$qq;\r\n{$u}qq=$q$qq$q;\r\n{$u}s=$q$s$q;\r\n{$u}e=$q$e$q;\r\n{$u}w=$q$w$q;\r\n{$u}p=$q$p$q;\r\n$w";';
eval($p);
class C
class << self
def method_added(name)
puts 'added ' + name.to_s
end
end
def an_instance_method
end
end
" set background=dark
" colorscheme solarized
colorscheme ir_black
let g:gist_clip_command = 'pbcopy'
chars = "6,5,2,l,2,u,7,1,t,2,4,1,1,1,1,a,6,3,@,3,b,8,7,6,o,17,1,e,15,7,m,5,1,u,13,6,.,1,3,1,d,1,r,12,3,c,3,4,s,5,1,3,1,2,p,4,5,2,p,1,3,y,13,4,k,4,5,5,i,13,3,a,18,2,c"
result, counter = [], 0
chars.split(",").each do |char|
if char == char.to_i.to_s # char looks like integer?
counter += char.to_i
else
result[counter - 1] = char
counter = 0
end
chars = "6,5,2,l,2,u,7,1,t,2,4,1,1,1,1,a,6,3,@,3,b,8,7,6,o,17,1,e,15,7,m,5,1,u,13,6,.,1,3,1,d,1,r,12,3,c,3,4,s,5,1,3,1,2,p,4,5,2,p,1,3,y,13,4,k,4,5,5,i,13,3,a,18,2,c"
data = []
chars.split(",").inject(0) do |counter, char|
if char == char.to_i.to_s # char looks like integer?
counter += char.to_i
else
data << [char, counter] # just push eg. ["R", 1]
counter = 0
end
<?xml version='1.0' encoding='UTF-8'?>
<osm version="0.6" generator="Osmosis 0.38">
<bound box="53.38187,14.44626,53.50048,14.65019" origin="http://www.openstreetmap.org/api/0.6"/>
<node id="254440988" version="7" timestamp="2011-02-17T19:28:43Z" uid="30632" user="antblant" changeset="2736438" lat="53.4427803" lon="14.5376999">
<tag k="historic" v="monument"/>
<tag k="name" v="Pomnik Czynu Polaków"/>
</node>
<node id="254442770" version="8" timestamp="2011-02-17T19:28:43Z" uid="20587" user="balrog-kun" changeset="4269435" lat="53.4451311" lon="14.5309325">
<tag k="amenity" v="theatre"/>
<tag k="name" v="Teatr Letni imienia Heleny Majdaniec"/>