I hereby claim:
- I am gkexpert on github.
- I am gourav (https://keybase.io/gourav) on keybase.
- I have a public key ASBZUGcuoHO2mD5Oh7Or_SNO2Q8rcLtd0Z2tqQtyI-JR7wo
To claim this, I am signing this object:
| { | |
| "title": "Stories by Gourav Kumar on Medium", | |
| "home_page_url": "https://medium.com/@gkumarau", | |
| "stories": [ | |
| { | |
| "guid": "https://medium.com/p/77d90374fdae", | |
| "url": "https://blog.usejournal.com/3-practical-ways-to-grow-your-money-revealed-by-a-software-engineer-77d90374fdae?source=gouravkumar.dev", | |
| "title": "3 Practical Ways to Grow your Money: Revealed by a Software Engineer.", | |
| "image": "https://cdn-images-1.medium.com/max/2600/1*LmBUQtv7TiLyQPtOW6_7uQ.jpeg", | |
| "summary": "In this post, I'll present real actions that I've taken to grow my money and give insights about what worked and what didn't work for me.", |
I hereby claim:
To claim this, I am signing this object:
| local environments = [ 'prod', 'test', 'dev' ]; | |
| local services = [ 'service1', 'service2', 'service3', 'service4' ]; | |
| { | |
| environments: [ | |
| { | |
| name: env, | |
| services: [ | |
| 'https://%s.%s.example.com' % [service, env] | |
| for service in services |
| local host = '10.0.0.120'; // Standard local variable ends with semicolon(;). | |
| local http_port = 8080; | |
| { | |
| local db_port = 3128, // A local variable next to JSON fields ends with comma(,). | |
| app_protocol:: 'http', // A special hidden variable next to fields use (::) instead of (=) or (:). | |
| environment_config: { | |
| app: { | |
| name: 'Sample app', | |
| url: $.app_protocol + '://' + host + ':' + http_port + 'app/' |
| { | |
| "data": "value" | |
| // This is a comment. | |
| /* Another comment. C-style */ | |
| # One more comment. Python-style | |
| } |
| { | |
| "environments": [{ | |
| "name": "prod", | |
| "services": [ | |
| "https://service1.prod.example.com", | |
| "https://service2.prod.example.com", | |
| "https://service3.prod.example.com", | |
| "https://service4.prod.example.com" | |
| ] | |
| }, |
| { | |
| "environment_config": { | |
| "app": { | |
| "name": "Sample App", | |
| "url": "http://10.0.0.120:8080/app/", | |
| }, | |
| "database": { | |
| "name": "mysql database", | |
| "host": "10.0.0.120", | |
| "port": 3128, |
| { | |
| "data": "value", | |
| "_comment": "comment for above line" | |
| } |