- 2018-02-23: Tilleke & Gibbins: New Contract Controls Introduced for Residential Property Leasing Businesses in Thailand
- Tilleke & Gibbins: New Contract Controls Introduced for Residential - Property Leasing Businesses in Thailand
- Residential lease agreements must not contain:
-
- Any advance rental fee equivalent to more than one-month’s rent;
-
- Any security deposit of more than one-month’s rental fee;
-
- Residential lease agreements must not contain:
- Tilleke & Gibbins: New Contract Controls Introduced for Residential - Property Leasing Businesses in Thailand
- 2019-11-21: Conventus Law: New Contract Controls Introduced For Residential Property Leasing Businesses In Thailand.
- 2019-11-30: [Conventus Law: Thailand – Updates On Residential Lease Contracts – What You Need To Know.](https://conventuslaw.com/report/thailand-up
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
# Summary: | |
# Distances between a single beacon and two different gateways are sometimes identical. | |
# This makes no sense, since the beacon is slightly different distances from the gateway. | |
# | |
# This occurs when I subscribe to `/presence/stream/{GATEWAY_UNIQUE_ID}` for each gateway. | |
# It recurs as frequently as every 20 seconds, and infrequently as every 2 minutes, but it | |
# is easily reproducible. | |
# | |
# I suspect there is a bug in the Kontakt's server side of the API. | |
# |
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 sign#find_current_signs() | |
Called 72 times | |
Total time: 0.073710 | |
Self time: 0.073710 | |
count total (s) self (s) | |
72 0.000987 let gitgutter_signs = {} " <line_number>: {'id': <id>, 'name': <name>} | |
72 0.000401 let other_signs = [] | |
72 0.000545 redir => signs |
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 sign#find_current_signs() | |
Called 95 times | |
Total time: 0.057338 | |
Self time: 0.057338 | |
count total (s) self (s) | |
95 0.001016 let gitgutter_signs = {} " <line_number>: {'id': <id>, 'name': <name>} | |
95 0.000441 let other_signs = [] | |
95 0.000631 redir => signs |
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
import sys | |
# Using OAuth1Session | |
from requests_oauthlib import OAuth1Session | |
if len(sys.argv) != 3: | |
print "Usage: %s <CLIENT_KEY> <CLIENT_SECRET>" % sys.argv[0] | |
sys.exit(1) | |
client_key = sys.argv[1] |
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 com.shutterstock.searchservice | |
import org.scalatra.test.scalatest._ | |
import scala.Predef._ | |
import org.scalatest._ | |
import org.json4s.native.JsonMethods._ | |
import org.json4s.native.Serialization.write | |
import org.json4s.{ DefaultFormats, Formats, ParserUtil } | |
import org.json4s.JsonDSL._ |
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 com.thing; | |
import org.apache.solr.search.QParser; | |
import org.apache.solr.search.SolrQueryParser; | |
import org.apache.solr.search.QueryParsing; | |
import org.apache.solr.request.SolrQueryRequest; | |
import org.apache.solr.common.params.SolrParams; | |
import org.apache.solr.common.params.CommonParams; | |
import org.apache.lucene.queryParser.ParseException; | |
import org.apache.lucene.search.Query; |
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
$ curl http://dev:8983/solr/update/json -H 'Content-type:application/json' -d '{ "add": { | |
> "doc": { "uid": "monkey_1" }, | |
> "doc": { "uid": "monkey_2" } | |
> } }' | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> | |
<title>Error 500 multiple docs in same add command | |
java.io.IOException: multiple docs in same add command |