看了《學徒模式》一書後,凍仁試著用 Gist 管理自己的待讀書單,並不時修改其閱讀順序。您可以在 revisions 找到編修記錄。
目錄:
server { | |
listen 80; | |
server_name your_host_name; | |
location / { | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
// simple example | |
const isFruitOrVegetable = switch( | |
case('apple', 'isFruit'), | |
case('orange', 'isFruit'), | |
case('eggplant', 'isVegetable'), | |
default('isFruit') | |
); | |
isFruitOrVegetable('apple') // isFruit |
Setter/Tester tips are shared here -> https://gist.github.com/shashank21j/64830e7e3dab96a2ccb8
Creating a Contest on HackerRank is an easy process which is divided in 2 steps.
#1. Create a Challenge