This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"IssuedUtc":"2017-04-05T10:43:17+02:00", | |
"BillId":"99e177d5-121c-4d86-8693-fa1d8656ceae", | |
"RegisterId":"99e177d5-552d-121c-8693-fa1b8656c32a", | |
"BillNumber":"RP20170000001", | |
"TaxIdentfier": "SK123465798", | |
"Payments":[ | |
{ | |
"Type":"PaymentType.Cash", | |
"Value":109.00, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PHP verze zde: https://phpfashion.com/jak-overit-platne-ic-a-rodne-cislo | |
function checkDate(m, d, y) { | |
// discuss at: http://phpjs.org/functions/checkdate/ | |
// original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) | |
// improved by: Pyerre | |
// improved by: Theriault | |
// example 1: checkdate(12, 31, 2000); | |
// returns 1: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function checkDate(m, d, y) { | |
// discuss at: http://phpjs.org/functions/checkdate/ | |
// original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) | |
// improved by: Pyerre | |
// improved by: Theriault | |
// example 1: checkdate(12, 31, 2000); | |
// returns 1: true | |
// example 2: checkdate(2, 29, 2001); | |
// returns 2: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "MewsCommander", | |
"version": "0.0.1", | |
"description": "Mews commander", | |
"main": "index.js", | |
"dependencies": {}, | |
"devDependencies": { | |
"bower": "^1.3.3", | |
"grunt": "^0.4.5", | |
"load-grunt-tasks": "^3.2.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"SpaceTypeOccupancies":[{"RoomCategoryOccupancies":[{"Occupancies":[{"Available":16,"Reserved":16,"Value":1},{"Available":16,"Reserved":12,"Value":0.75},{"Available":16,"Reserved":16,"Value":1},{"Available":16,"Reserved":16,"Value":1},{"Available":16,"Reserved":15,"Value":0.9375},{"Available":16,"Reserved":11,"Value":0.6875},{"Available":16,"Reserved":14,"Value":0.875},{"Available":16,"Reserved":14,"Value":0.875},{"Available":16,"Reserved":10,"Value":0.625},{"Available":16,"Reserved":12,"Value":0.75},{"Available":16,"Reserved":12,"Value":0.75},{"Available":16,"Reserved":16,"Value":1},{"Available":16,"Reserved":13,"Value":0.8125},{"Available":16,"Reserved":15,"Value":0.9375}],"RoomCategoryId":"e89f2afa-6346-425b-b0fd-685a1263b97a"},{"Occupancies":[{"Available":25,"Reserved":22,"Value":0.88},{"Available":25,"Reserved":19,"Value":0.76},{"Available":25,"Reserved":16,"Value":0.64},{"Available":25,"Reserved":20,"Value":0.8},{"Available":25,"Reserved":24,"Value":0.96},{"Available":25,"Reserved":25,"Value":1},{"Avai |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am jirihelmich on github. | |
* I am jirihelmich (https://keybase.io/jirihelmich) on keybase. | |
* I have a public key whose fingerprint is 8C83 987C 4A69 3B03 55F4 D45E 5BA7 8062 36F4 B4DE | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdad |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package payola | |
// AUTO-GENERATED Slick data model | |
/** Stand-alone Slick data model for immediate use */ | |
object Tables extends { | |
val profile = scala.slick.driver.H2Driver | |
} with Tables | |
/** Slick data model trait for extension, choice of backend or usage in the cake pattern. (Make sure to initialize this late.) */ | |
trait Tables { | |
val profile: scala.slick.driver.JdbcProfile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def storeGraphGraphProtocol(graphURI: String, graph: Graph){ | |
val httpSuffix = if(endpointUsesSSL){"s"}else{""} | |
val requestUri = String.format("http%s://%s:%s/sparql-graph-crud-auth?graph-uri=%s", httpSuffix, server, endpointPort.toString, graphURI) | |
val creds = new UsernamePasswordCredentials(sqlUsername, sqlPassword) | |
val httpclient = new DefaultHttpClient() | |
val post = new HttpPost(requestUri) | |
post.addHeader("X-Requested-Auth", "Digest") | |
post.addHeader("Content-Type", "application/xml") | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private def buildDistinctValuesQuery(property: String): String = { | |
String.format( | |
""" | |
| PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
| | |
| SELECT DISTINCT ?o ?l WHERE { | |
| [] <%s> ?o . | |
| | |
| OPTIONAL { ?o rdfs:label ?l . FILTER (LANG(?l) = 'en') } | |
| |
NewerOlder