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
| ; Enter your code here. Read input from STDIN. Print output to STDOUT | |
| ; | |
| (require '[clojure.string :as str]) | |
| ;; (defn ) | |
| (defn read_split [] (map #(Long/parseLong %) (-> (read-line) | |
| (str/split #" ")))) | |
| (defn calc [coefs pows f x] |
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
| last=git log --tags --simplify-by-decoration --pretty="format:%d" | grep '(tag:' | awk 'END{print substr($2, 0, length($2)-1)}' | |
| git --no-pager log v0.0.1..$(git describe) --pretty=format:'* %s' --reflog --no-merges --tags | sort -ui |
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 nya.js | |
| var nya = require('nya'); | |
| //Create your first stream | |
| app = new nya.RequestStream(); | |
| //Bind listener to all urls begins from "/" | |
| app.get('/', function(request) { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| [{"Square":{"id":45,"user_id":2,"message":"testName LatLng(66.51326, 82.61719)","area":"010300000001000000050000006666666666665440000000000080504066666666666654406666666666C650403333333333D354406666666666C650403333333333D35440000000000080504066666666666654400000000000805040","area_geo_json":{"type":"Polygon","coordinates":[[[81.6,66],[81.6,67.1],[83.3,67.1],[83.3,66],[81.6,66]]]}}},{"Square":{"id":46,"user_id":2,"message":"testName LatLng(65.65827, 83.67188)","area":"010300000001000000050000003333333333D354409A999999993950403333333333D3544000000000008050400000000000405540000000000080504000000000004055409A999999993950403333333333D354409A99999999395040","area_geo_json":{"type":"Polygon","coordinates":[[[83.3,64.9],[83.3,66],[85,66],[85,64.9],[83.3,64.9]]]}}},{"Square":{"id":47,"user_id":2,"message":"testName LatLng(64.77413, 85.07813)","area":"0103000000010000000500000000000000004055406666666666E64F4000000000004055409A99999999395040CDCCCCCCCCAC55409A99999999395040CDCCCCCCCCAC55406666666666E64F400000000000405540 |
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
| SELECT * FROM %table_name% | |
| INNER JOIN (SELECT %field_name% FROM %table_name% | |
| GROUP BY %field_name% HAVING count(%id%) > 1) duplication ON %table_name%.%field_name% = duplication.%field_name% |