Authro: @ookangzheng
License: MIT
Modified: 2021/06/13
  
    
      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 zone = route53.HostedZone.fromLookup(this, 'Zone', { | |
| // domainName: api.url | |
| // }) | |
| // const stagingZone = new route53.PublicHostedZone(this, `${environment.ENV}-HostedZone`, { | |
| // zoneName: `${environment.ENV}-api.sygna.io` | |
| // }) | |
| // const customDomain = apigateway.DomainName.fromDomainNameAttributes(this, 'CustomDomain', { | |
| // domainName: environment.apiDomainName, | |
| // domainNameAliasTarget: environment.domainNameAliasTarget, | 
  
    
      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
    
  
  
    
  | // step 1 | |
| const myRegexPatternSet = new wafv2.CfnRegexPatternSet( | |
| this, | |
| 'sygna-api-tokyo-regex', | |
| { | |
| description: 'Sygna Bridge Api Regex', | |
| name: 'sygna-bridge-api-regex', | |
| scope: 'REGIONAL', | |
| regularExpressionList: ['^[a-zA-Z]{64}$', '.w[api_].w[key]w'], | |
| }, | 
  
    
      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
    
  
  
    
  | ``` | |
| // .prettierrc.json | |
| { | |
| "trailingComma": "all", | |
| "tabWidth": 2, | |
| "semi": false, | |
| "singleQuote": true | |
| } | 
https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjx-ublock.txt
https://gitee.com/xinggsf/Adblock-Rule/raw/master/rule.txt
去广告和科学上网hosts源
1.yhosts: https://raw.githubusercontent.com/vokins/yhosts/master/hosts (国内维护者屏蔽国内网站广告)
2.大圣净化:https://raw.githubusercontent.com/jdlingyu/ad-wars/master/hosts (主要针对国内视频网站)
3.1024_hosts:https://raw.githubusercontent.com/Goooler/1024_hosts/master/hosts (1024网站和澳门皇家赌场)
4.neoHosts: https://hosts.nfz.moe/full/hosts (国内屏蔽挖矿统计JS&360&百度&法轮功等)
runtime/cgo
_cgo_export.c:3:10: fatal error: 'stdlib.h' file not found
  
    
      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 React from 'react' | |
| import { useQuery } from '@apollo/react-hooks' | |
| import gql from 'graphql-tag' | |
| import { Grid, Divider } from 'semantic-ui-react' | |
| import PostCard from '../components/PostCard' | |
| function Home() { | |
| let posts = '' | |
| const { loading, data } = useQuery(FETCH_POSTS_QUERY) | 
  
    
      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
    
  
  
    
  | <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Document</title> | |
| </head> |