GET /patients
GET /patients/1
POST /patients
PUT /patients/1
PATCH /patients/1
DELETE /patients/1
This file contains 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
// Node.js CheatSheet. | |
// Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
// Download: http://nodejs.org/download/ | |
// More: http://nodejs.org/api/all.html | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html |
This file contains 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
/** | |
* An example of ExtJS Model and Store | |
* @author Ninh Pham | |
*/ | |
Ext.define('Patient', { | |
extend: 'Ext.data.Model', | |
idProperty: '_id', | |
requires: ['Ext.data.identifier.Uuid'], |
This file has been truncated, but you can view the full file.
This file contains 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
[ | |
{ | |
"href": "https://www.fshare.vn/file/DHZ8VIL7XU6Z", | |
"title": "00001 Con Bướm Xuân - Hồ Quang Hiếu.mkv", | |
"search": "00001 Con Buom Xuan - Ho Quang Hieu.mkv", | |
"id": "DHZ8VIL7XU6Z" | |
}, | |
{ | |
"href": "https://www.fshare.vn/file/3J9DUS9KU79C", | |
"title": "00002 Em Của Ngày Hôm Qua - MTP Sơn Tùng.mkv", |
This file contains 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(input) { | |
String.prototype.yeah = function(sub) { | |
const r = new RegExp(sub, 'g'); | |
const rs = []; | |
let i = null; | |
while ((i = r.exec(this)) !== null) { | |
rs.push(i.index); | |
} | |
return rs; |
This file contains 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
int []array = {683, 495, 70, 645, 339, 854, 251, 676, 950, 967, 749, 167, 393, 717, 218, 956, 845, 371, 828, 727, 142, 342, 324, 869, 696, 940, 461, 133, 135, 614, 67, 690, 94, 202, 356, 11, 316, 908, 671, 882, 428, 730, 656, 319, 687, 670, 147, 584, 917, 89, 874, 803, 603, 182, 258, 188, 562, 754, 598, 363, 441, 300, 455, 901, 605, 456, 245, 526, 842, 512, 510, 292, 717, 395, 255, 744, 118, 454, 94, 721, 271, 452, 381, 970, 277, 343, 684, 901, 389, 14, 861, 13, 567, 981, 580, 180, 20, 4, 249, 717, 278, 359, 382, 572, 147, 262, 610, 670, 550, 391, 528, 576, 824, 369, 213, 74, 503, 720, 353, 142, 313, 707, 228, 451, 60, 885, 366, 328, 294, 511, 721, 624, 954, 435, 397, 68, 499, 394, 936, 738, 666, 634, 940, 127, 952, 785, 202, 541, 16, 714, 531, 591, 726, 583, 20, 671, 805, 285, 569, 193, 372, 729, 904, 36, 367, 106, 7, 117, 668, 338, 822, 835, 2, 546, 256, 820, 405, 284, 897, 674, 544, 951, 670, 887, 677, 986, 497, 606, 829, 170, 677, 542, 173, 549, 62, 765, 26, 398, 852, 627, 706, 392, 365, 250, 37, 881, 223 |
This file contains 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
var p = Promise.reject('fack'); | |
p.then(() => console.log('then1')).catch(() => console.log('catch1')); | |
p.catch(() => console.log('catch2')); | |
p.catch(() => console.log('catch3')).then(() => console.log('then3')); | |
p = p.then(() => console.log('then4')).catch(() => console.log('catch4')); | |
p = p.then(() => console.log('then5')).catch(() => console.log('catch5')); | |
// What will print? |
This file contains 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
sudo pkill -f nginx | |
sudo systemctl start nginx | |
sudo certbot renew --pre-hook "echo hihi" --post-hook "nginx -s reload" |
This file contains 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
stackoverflow.com##.overflow-hidden.ps-relative.fd-column.grid.p16.bar-sm.bc-black-2.ba | |
||chiasenhac.vn/banner | |
chiasenhac.vn###bgsb_left,#bgsb_right,.acontainer,a[href^="https://clicktrackingv2"] |
OlderNewer