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
| proxy-real-ip-cidr: 130.211.0.0/22,35.191.0.0/16,35.201.111.115/32,103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,104.16.0.0/13,104.24.0.0/14,108.162.192.0/18,131.0.72.0/22,141.101.64.0/18,162.158.0.0/15,172.64.0.0/13,173.245.48.0/20,188.114.96.0/20,190.93.240.0/20,197.234.240.0/22,198.41.128.0/17,2400:cb00::/32,2606:4700::/32,2803:f800::/32,2405:b500::/32,2405:8100::/32,2a06:98c0::/29,2c0f:f248::/32 |
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
| The application does not collect or transmit any personal, device, interaction or performance information. |
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
| { | |
| "openapi": "3.0.0", | |
| "info": { | |
| "title": "Wise Old Man REST API", | |
| "version": "1.0.0" | |
| }, | |
| "servers": [ | |
| { | |
| "url": "https://api.wiseoldman.net" | |
| } |
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
| Machine({ | |
| id: 'loading', | |
| initial: 'hide', | |
| states: { | |
| hide: { | |
| on: { | |
| SHOW_NOW: 'show', | |
| SHOW: { | |
| actions: send('SHOW_NOW', { delay: 50, id: 'show' }), | |
| }, |
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
| // from this | |
| I18n.t(`business.${domain}.call`) | |
| // to this | |
| switch(domain){ | |
| case Domain.FOOD: | |
| return I18n.t('business.FOOD.call') | |
| case Domain.BEAUTY: | |
| return I18n.t('business.BEAUTY.call') | |
| } |
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
| t.importDeclaration( | |
| [t.importDefaultSpecifier(t.identifier('th'))], | |
| t.stringLiteral('file'), | |
| ) |
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
| path.replaceWith( | |
| t.callExpression(t.identifier('alert'), [ | |
| t.stringLiteral('Hello world') | |
| ]) | |
| ) |
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
| export default function({ types: t }) { | |
| return { | |
| visitor: { | |
| // visitor contents | |
| } | |
| }; | |
| }; |
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 I18n from 'common/I18n' | |
| import TH from 'th/category.gyoza-restaurants' | |
| import EN from 'en/category.gyoza-restaurants' | |
| console.log(I18n.t({ | |
| th: TH, | |
| en: EN, | |
| })) |
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 I18n from 'common/I18n' | |
| console.log(I18n.t('category.gyoza-restaurants')) |
NewerOlder