Ron Liu Blog

  • [mac] How to install xcode-select when Xcode is not currently available from the Software Update server

Check this post, basically go to apple site to download.

  • [gatsby] How do I query based on gatsby-source-filesystem name

We can filter fileAbsolutePath by using regular expression, check below or question:

{
  allMarkdownRemark(
    sort: { frontmatter: { date: ASC } }
    filter: { fileAbsolutePath: { regex: "/(type1)/.*\\.md$/" } }
  ) {
    edges {
      node {
        excerpt(pruneLength: 250)
        id
        frontmatter {
          title
          date(formatString: "MMMM DD, YYYY")
          path
        }
      }
    }
  }
}
  • [react] WTF act doing?

secrets of the act… api