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
#!/bin/bash | |
# Author Kaveen Rodrigo | |
# Dependecies ImageMagick % Xidel | |
band="snd" | |
frames="10" | |
outFile="wgif.gif" | |
baseUrl="http://www.data.jma.go.jp/mscweb/data/himawari/" |
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
- job_name: node_exporter_metrics | |
scrape_interval: 5s | |
static_configs: | |
- targets: ['172.16.155.60:9100'] | |
- job_name: node_exporter_metrics | |
scrape_interval: 5s | |
static_configs: | |
- targets: ['172.16.155.60:9100'] |
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
// ==UserScript== | |
// @name Github Issue QuickKey | |
// @namespace http://kaveenrodrigo.com/ | |
// @version 0.1 | |
// @description Quickly cycle through issues using Ctrl + NumPad plus/minus | Ctrl + Enter to jump to issue | |
// @author Kaveen Rodrigo | |
// @match https://github.com/*/*/issues/* | |
// @match https://github.com/*/*/pull/* | |
// @grant unsafeWindow | |
// ==/UserScript== |
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 9 columns, instead of 8 in line 9.
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
,Conversation ID,Number Of Messeges,Did Initiate,First Messege Date,Last Messege Date,Messege Count By Initater,Messege Count By Reciever,Gender | |
0,791510-2837780509,71,True,2015-02-11T17:36:24.958Z,2016-01-22T18:26:24.881Z,30,41,Male | |
1,8121102-2837780509,10,False,2019-01-16T03:42:34.202Z,2019-01-16T04:04:51.331Z,6,4,Male | |
2,21703489-2837780509,20,False,2015-01-16T14:09:05.693Z,2015-01-18T14:38:26.238Z,9,11,Male | |
3,2837780509-861575610019205121,2,False,2019-03-17T14:32:35.422Z,2019-03-17T14:32:46.312Z,2,0,Male | |
4,2837780509-903464779586584577,1000,False,2018-02-07T14:02:52.632Z,2018-03-22T06:22:19.743Z,619,381,Female | |
5,2837780509-903464779586584577,1000,False,2018-01-25T13:53:26.107Z,2018-02-07T14:02:04.255Z,553,447,Female | |
6,2837780509-903464779586584577,181,True,2018-01-23T16:28:57.707Z,2018-01-25T13:53:18.270Z,83,98,Female | |
7,2837780509-952964008985870341,1,False,2019-08-06T02:28:59.702Z,2019-08-06T02:28:59.702Z,1,0,Male | |
8,2837780509-971229951012859904,4,False,2019-08-25T17:13:57.605Z,2019-08-25T17:14:52.666Z,3, |
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
participant User | |
participant Application | |
participant Network Gateway | |
participant Server | |
User->+Application: Make Payment for $20 | |
# Request 1 | |
note left of Application | |
Client sends | |
payment request | |
end note |
We can't make this file beautiful and searchable because it's too large.
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
Area,Location,URL,Title,Memeber,Promoted,Listing Days,Perch,Per Perch Price | |
Vavuniya,Vavuniya,https://ikman.lk/en/ad/bare-land-for-sale-in-rambaikulam-for-sale-vavuniya,Bare Land for Sale in Rambaikulam,False,False,2.0,40.0,160000.0 | |
Vavuniya,Vavuniya,https://ikman.lk/en/ad/land-for-sale-in-vavuniya-for-sale-vavuniya-66,Land for Sale in Vavuniya,False,False,26.0,160.0,17500.0 | |
Vavuniya,Vavuniya,https://ikman.lk/en/ad/land-sales-with-house-and-shop-vavuniya-for-sale-vavuniya,Land sales with House & shop Vavuniya,False,False,32.0,10.0,350000.0 | |
Vavuniya,Vavuniya,https://ikman.lk/en/ad/3-arces-bare-land-facing-to-a29-vavuniya-for-sale-vavuniya-1,3 Arces Bare Land Facing to A29 - Vavuniya,False,False,51.0,480.0,666666.6666666666 | |
Vavuniya,Vavuniya,https://ikman.lk/en/ad/land-for-sale-in-vavuniya-omega-line-opposite-land-for-sale-vavuniya,Land for Sale in Vavuniya (OMEGA LINE OPPOSITE LAND),False,False,54.0,80.0,12500.0 | |
Mullativu,Mullativu,https://ikman.lk/en/ad/land-sale-in-mullativu-for-sale-mullativu,Land sale in M |
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": "Dinner On Demand WSO2", | |
"CreationDate": "2019-2-22", | |
"Commands": [ | |
{ | |
"Command": "store", | |
"Target": "Release Work", | |
"Value": "reasonForStaying" | |
}, | |
{ |
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
{ | |
"keys": [{ | |
"kty": "RSA", | |
"d": "MrkjYrDDdqXs49PlzMUpuemEFIsg_AKJsB-I0yQz6dFsHskoLnHTZKey_kPOWdqLT8H5nPbxkiCNnXXU5RNY9VRdrBwwsJVQWA8Q79OaNoRuI1ODfWodFecOC5GN2yzsnePyBTo3vRewWPIetImBLZCaBYt_kDBW4xYvRR7VPYpucbHfgOazHw4ZJuNaxax8Qi8U0J9v9jBwdH-DdULqX8_-5aDm15eRdqmjkvMIr5h7d0VPvxSp2VAMnbYxRvmgzSSMK8Zgb8gtwTWb_a3XPbELxTYLc-yIn71mLr2L-45LOpTMqV0tgskMFXdO8cs9wXqrSmph1yOPwwQFaVNAUQ", | |
"e": "AQAB", | |
"use": "tls", | |
"kid": "sadsadsa", | |
"alg": "RS256", | |
"n": "qXCtBZmLapX5a5iFGqu5yV5oBiYLIdrVbl4lERgP8hTgfYtBBA7mPD8ZK5RiJZ4f8mTiJOHuFdGfO2B5BjoydGJs6Nzy7CCHdk3Bo7OP3LLuPNqgYQzVUX18yqpNcJSK0kWm8hs7YARZ1a0wbozeY0VLq6yA6nSduUO9ZBjStpqb9YAEA1l_O1vrxo0Y6ym1iiMp5Jj2TkNDRWd4nVc6KOY3c2h5o2ZBVI6zDW1LKM8QYQpH10gmGhA8r6SE1F8RnQZJsvG9Yy2LJgq2VpLeR7QnR_bNLPQcIm9R5PzOiOn2JCQHhZ3ehwHFe5m3KpAj6JJygFpAO3JiVqC3CBqSXw" | |
}, |
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 jwt | |
import base64 | |
public_key = "...." | |
def base64url_encode(input): | |
return base64.urlsafe_b64encode(input).replace(b'=', b'') | |
def validateDetatchedJWS(payload, signature, key): | |
splittedJWS = encoded.split(".") |
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
$ mvn clean package | |
$ docker-compose-up | |
$ curl -i -X POST "http://localhost:8080/petstore/v1/pets/" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"name\": \"Ktitikatu\", \"tag\": \"cat\"}" | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 36 0 0 100 36 0 85 --:--:-- --:--:-- --:--:-- 85HTTP/1.1 200 | |
Date: Sun, 13 Jan 2019 04:11:44 GMT | |
Content-Length: 0 |