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
| const gid = (id) => document.getElementById(id); | |
| gid('idtype').value = "1"; // 1=IC | |
| gid('nric').value = "Replace_your_IC"; // e.g. 901231032468 | |
| gid('ic-numbern').value = "Replace_your_IC"; // e.g. 901231032468 | |
| checkic(); | |
| gid('msid').value = "Replace_your_MySejahteraID"; // your phone or email | |
| gid('phone').value = "Replce_your_phone"; | |
| gid('phone-numbern').value = "Replace_your_phone"; | |
| boxclickppv('kl'); // or replace with "selangor" |
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
| <!-- Wherever your head tag is located, add the new partial --> | |
| <head> | |
| {{ partial "google-fonts" . }} | |
| </head> |
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
| DROP TABLE IF EXISTS requests; | |
| CREATE TABLE requests ( | |
| request_date Date, | |
| request_time DateTime, | |
| response_time Int, | |
| request_uri String) | |
| ENGINE = MergeTree(request_date, (request_time, request_uri), 8192); | |
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
| . | |
| ├── books | |
| │ ├── handlers.go | |
| │ └── models.go | |
| ├── config | |
| │ └── db.go | |
| └── main.go |
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 main | |
| import ( | |
| "database/sql" | |
| "encoding/json" | |
| "errors" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "time" |
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
| #! /usr/bin/env python | |
| import fileinput | |
| import argparse | |
| from operator import itemgetter | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('--target-mb', action = 'store', dest = 'target_mb', default = 61000, type = int) | |
| parser.add_argument('vmtouch_output_file', action = 'store', nargs = '+') | |
| args = parser.parse_args() |