Skip to content

Instantly share code, notes, and snippets.

View displayn's full-sized avatar
🐶
this is fine

Tobias displayn

🐶
this is fine
View GitHub Profile
@displayn
displayn / gist:ec006557d18a8d08ab3db33f98c7f4ee
Created August 26, 2018 16:34 — forked from shacker/gist:87908e13c9ee6655ce90
Using the Workday API with Python and the suds client library
import sys
from suds import client
from suds.wsse import Security, UsernameToken
from suds.sax.text import Raw
from suds.sudsobject import asdict
from suds import WebFault
'''
Given a Workday Employee_ID, returns the last name of that employee.
/* Tab style */
#TabsToolbar {
padding-left: 3px !important;
padding-right: 3px !important;
}
@displayn
displayn / web-servers.md
Created April 7, 2016 13:03 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@displayn
displayn / post_tankenapp.html
Created September 15, 2013 12:51
just a form to request fuel prices from tankenapp
<form name="justaqueryform" action="http://fuel-companion-s.chartcloud.net/api/v1/search/" method="post">
<input name="fuels" type="text" value="Diesel" /> fuels: Diesel<br />
<input name="lng" type="text" value="8.801694" />lng: 8.801694<br />
<input name="lat" type="text" value="53.079296" /> lat: 53.079296<br />
<input name="price_age" type="text" value="12" />price_age: 12<br />
<input name="radius" type="text" value="10" />radius: 10.000000<br />
<input type="submit" value="SUBMIT" />
</form>
@displayn
displayn / fuel-prices-in-germany.md
Last active December 23, 2015 02:19
just a note to request fuel prices from popular fuel station in germany.

#Tankstellen "API's"

##TankenApp

###Step 1: Find your current Location (longitude/latitude) Hamburg

###Step 3: Paste the longitude and latitude from the Google-Json in your own post