Skip to content

Instantly share code, notes, and snippets.

View amis92's full-sized avatar

Amadeusz Sadowski amis92

View GitHub Profile
@amis92
amis92 / stepLog.vis.log.xml
Last active January 2, 2016 18:29
stepsLog
<?xml version="1.0" encoding="utf-8"?>
<Simulation>
<Map>
<Blocks>
<WorldBlock id="Warszawa" type="Station" length="0"/>
<WorldBlock id="warszawa-kraków" type="Track" length="300"/>
<WorldBlock id="Kraków" type="Station" length="0"/>
<WorldBlock id="warszawa-pcim dolny" type="Track" length="250"/>
<WorldBlock id="Pcim Dolny" type="Junction" length="0"/>
<WorldBlock id="pcim dolny-gdańsk" type="Track" length="100"/>
@amis92
amis92 / usrmng.pl
Last active January 21, 2016 23:04
PERL script using Tk - user manager GUI
#!/usr/bin/perl
#
# Command-Line or GUI User Manager script
use strict;
use Tk;
use Tk::BrowseEntry;
my $mw = new MainWindow;
fill_window($mw, 'User Manager');
@amis92
amis92 / wh40k-flyer-profile-rewrite.xsl
Last active May 7, 2016 15:51
BS-xml-resharper XSLT that rewrites Vehicle profiles of Flyers into new ProfileType with Combat Role, Pursuit and Agility
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bs-gst="http://www.battlescribe.net/schema/gameSystemSchema"
xmlns:cat="http://www.battlescribe.net/schema/catalogueSchema"
xmlns="http://www.battlescribe.net/schema/catalogueSchema">
<xsl:output omit-xml-declaration="no" encoding="UTF-8" standalone="yes" version="1.0" indent="yes" method="xml"/>
<xsl:strip-space elements="*" />
<xsl:variable name="gst-ns" >http://www.battlescribe.net/schema/gameSystemSchema</xsl:variable>
@amis92
amis92 / Dockerfile
Created May 22, 2016 15:50
akcjamis DB Dockerfile
FROM starefossen/pgrouting:latest
RUN apt-get update && \
apt-get install osm2pgrouting
# dane geoprzestrzenne mazowsza http://download.geofabrik.de/europe/poland/mazowieckie.html
RUN curl -s http://download.geofabrik.de/europe/poland/mazowieckie-latest.osm.bz2 \
| bzip2 -dc \
> /tmp/mazowieckie-latest.osm
@amis92
amis92 / xamarin-links.md
Last active July 21, 2016 10:48
Xamarin links
@amis92
amis92 / webapi-links.md
Last active September 21, 2016 12:12
Interesting ASP.NET (and not only) WebAPI links