start new:
tmux
start new with session name:
tmux new -s myname
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Bootstrap 101 Template</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <!-- Bootstrap --> | |
| <link href="css/bootstrap.min.css" rel="stylesheet"> | |
| <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media | |
| queries --> |
| udp://tracker.coppersurfer.tk:6969/announce | |
| udp://p4p.arenabg.ch:1337 | |
| udp://p4p.arenabg.com:1337 | |
| http://bttracker.crunchbanglinux.org:6969/announce | |
| http://tracker.aletorrenty.pl:2710/announce |
| 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'); |
| 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'), |
| # 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 |
| // 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 |
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
| 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]; | |
| } | |
| }); |