-
Heroku - https://heroku.com - Deploying Front & Backend
-
Netlify - https://netlify.com
-
Vercel (Zeit) - https://vercel.com - Deploying Front & Backend apps at free of cost
-
Firebase - https://firebase.com - Deploying Front & Backend apps at free of cost
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 path = require( 'path' ); | |
| const webpack = require( 'webpack' ); | |
| const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
| module.exports = ( env, options ) => { | |
| return { | |
| entry: './src/block.js', | |
| output: { | |
| path: path.resolve( __dirname, 'build' ), |
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
| function downloadFile (url) { | |
| let name; | |
| fetch(url) | |
| .then((resp) => { | |
| resp.headers.forEach((header) => { | |
| if (header.includes("attachment")) { | |
| const filename = header.match(/filename="(.*)"/); | |
| name = filename[1]; | |
| } | |
| }); |
- awesome-math (A curated list of awesome mathematics resources)
- free-for-dev
- awesome-for-beginners (A list of awesome beginners-friendly projects.)
- awesome (😎 Awesome lists about all kinds of interesting topics)
- nodebestpractices (The Node.js best practices list)
- javascript-questions
- wtfjs (A list of funny and tricky JavaScript examples)
- awesome-selfhosted (List of Free Software network services and web applications which can be hosted locally)
- awesome-sysadmin (A curated list of amazingly awesome open sour
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
| // time and time end | |
| console.time("This"); | |
| let total = 0; | |
| for (let j = 0; j < 10000; j++) { | |
| total += j | |
| } | |
| console.log("Result", total); | |
| console.timeEnd("This"); | |
| // Memory |
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 libraries | |
| from bs4 import BeautifulSoup | |
| from contextlib import closing | |
| import requests | |
| from requests import get | |
| from requests.exceptions import RequestException | |
| import time | |
| import sys | |
| import os | |
| import webbrowser |
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
| let | |
| env_dev = true, | |
| env_debug = false, | |
| //CSS | |
| sass = require('gulp-sass'), | |
| // autoprefixer = require('gulp-autoprefixer'), | |
| autoprefixer = require('autoprefixer'), | |
| minifyCSS = require('gulp-cssnano'), | |
| postcss = require('gulp-postcss'), |
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
| var path = require('path'); | |
| var sass = require('sass-loader'); | |
| var autoprefixer = require('autoprefixer'); | |
| var webpack = require('webpack'); | |
| var findCacheDir = require('find-cache-dir'); | |
| var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| var CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); | |
| var InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin'); | |
| var WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin'); | |
| var getClientEnvironment = require('./env'); |
NewerOlder