diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml deleted file mode 100644 index c419caf27f..0000000000 --- a/.github/workflows/makefile.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Makefile CI - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - runs-on: googleworkspace - build:BGOONZ_BLOG_2.0/.github/workflows/makefile.yml - - - steps: - - uses: actions/checkout@v2 - - - name: configure - run: ./configure - - - name: Install dependencies - run: make - - - name: Run check - run: make check - - - name: Run distcheck - run: make distcheck diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml deleted file mode 100644 index 0ed2a8c58d..0000000000 --- a/.github/workflows/webpack.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: NodeJS with Webpack - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [12.x, 14.x, 16.x] - - steps: - - uses: actions/checkout@v2 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - - name: Build - run: | - npm install - npx webpack diff --git a/src/pages/blog/300-react-questions.md b/src/pages/blog/300-react-questions.md index 5e16ecf56c..1ebf61be27 100644 --- a/src/pages/blog/300-react-questions.md +++ b/src/pages/blog/300-react-questions.md @@ -27,12 +27,9 @@ thumb_image: images/es6.jpg - -
- Questions Table - + Questions Table #### Table of Contents @@ -2426,11 +2423,4 @@ thumb_image: images/es6.jpg - - -
- - - - diff --git a/src/pages/blog/awesome-graphql.md b/src/pages/blog/awesome-graphql.md index 8b1cc67e3b..3b165c68c7 100644 --- a/src/pages/blog/awesome-graphql.md +++ b/src/pages/blog/awesome-graphql.md @@ -3,10 +3,10 @@ title: Awesome GraphQL subtitle: The Death Of REST date: '2021-09-30' thumb_image_alt: lorem-ipsum -excerpt: lorem-ipsum +excerpt: Working Draft of the Specification for GraphQL created by Facebook seo: - title: '' - description: '' + title: 'Awesome GraphQL' + description: 'Awesome GraphQL' robots: [] extra: [] template: post diff --git a/src/pages/blog/big-o-complexity.md b/src/pages/blog/big-o-complexity.md index 23f678c714..dae2b2cc3f 100644 --- a/src/pages/blog/big-o-complexity.md +++ b/src/pages/blog/big-o-complexity.md @@ -7,8 +7,8 @@ excerpt: >- Bubble sort, sorts an array of integers by bubbling the largest integer to the top. seo: - title: '' - description: '' + title: 'Big O' + description: 'Big O Computational Complexity' robots: [] extra: [] template: post diff --git a/src/pages/blog/blogwcomments.md b/src/pages/blog/blogwcomments.md index 998d2fdc23..687f573a4f 100644 --- a/src/pages/blog/blogwcomments.md +++ b/src/pages/blog/blogwcomments.md @@ -1,6 +1,6 @@ --- title: ExpressJS Apis -subtitle: lorem-ipsum +subtitle: node & expressjs Overview date: '2021-07-26' thumb_image_alt: node and express js excerpt: "## **Overview** A\_**database schema**\_is the shape of our database. It defines what tables we'll have, which columns should exist within the tables and any restrictions on each column. A well-designed database schema keeps the data well organized and can help ensure high-quality data. Note that while schema design is usually left to Database Administrators (DBAs), understanding schema helps when designing APIs and database logic. And in a smaller team, this step may fall on the developer." diff --git a/src/pages/blog/flow-control-in-python.md b/src/pages/blog/flow-control-in-python.md index ee3447b1bd..2644894912 100644 --- a/src/pages/blog/flow-control-in-python.md +++ b/src/pages/blog/flow-control-in-python.md @@ -3,7 +3,7 @@ title: flow-control-in-python subtitle: flow-control-in-python date: '2021-10-14' thumb_image_alt: lorem-ipsum -excerpt: lorem-ipsum +excerpt: These operators evaluate to True or False depending on the values you give them seo: title: '' description: '' diff --git a/src/pages/docs/articles/node-env-variables.md b/src/pages/docs/articles/node-env-variables.md deleted file mode 100644 index 7c1a26e7fb..0000000000 --- a/src/pages/docs/articles/node-env-variables.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: Node Export Module -weight: 0 -excerpt: >- - How to use the module.exports API to expose data to other files in your - application, or to other applications as well -seo: - title: 'module.exports API ' - description: |- - When you want to import something you use - - const library = require('./library'); - robots: [] - extra: - - name: 'og:image' - value: images/cool-comet.png - keyName: property - relativeUrl: true - type: stackbit_page_meta -template: docs ---- - -Node.js has a built-in module system. - -A Node.js file can import functionality exposed by other Node.js files. - -When you want to import something you use - -to import the functionality exposed in the library.js file that resides in the current file folder. - -In this file, functionality must be exposed before it can be imported by other files. - -Any other object or variable defined in the file by default is private and not exposed to the outer world. - -This is what the module.exports API offered by the [module system](https://nodejs.org/api/modules.html) allows us to do. - -When you assign an object or a function as a new exports property, that is the thing that's being exposed, and as such, it can be imported in other parts of your app, or in other apps as well. - -You can do so in 2 ways. - -The first is to assign an object to module.exports, which is an object provided out of the box by the module system, and this will make your file export *just that object*: - -The second way is to add the exported object as a property of exports. This way allows you to export multiple objects, functions or data: - -or directly - -And in the other file, you'll use it by referencing a property of your import: - -or - -What's the difference between module.exports and exports? - -The first exposes the object it points to. The latter exposes *the properties* of the object it points to.