time.google.com
time1.google.com
time2.google.com
time3.google.com
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
#!/usr/bin/env bash | |
# SOURCE: https://eligiblestore.com/blog/2017/05/02/how-to-install-mosh-on-centos/ | |
# ensure running as root | |
if [[ "$(id -u)" != "0" ]]; then | |
exec sudo "$0" "$@" | |
fi | |
# install mosh | |
yum install -y epel-release |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
#!/usr/bin/env node | |
var pandoc = require('pandoc-filter'); | |
var RawInline = pandoc.RawInline; | |
var mjAPI = require("mathjax-node"); | |
mjAPI.config({ | |
MathJax: { | |
// traditional MathJax configuration | |
} |
#!/usr/bin/env python3 | |
""" | |
This is a 100% self-contained script to facilitate automated creation of bidirectional UDP pinholes. | |
It should work as a non-root user assuming you use a high port number. | |
All that is necessary is an SSH server with a Python environment. | |
This script is ran on the client, and then the client runs it on the server dynamically. | |
No permanent changes are made to the server. | |
Basically we just open UDP connection from both ends, to the same port, and then exchange some tokens to verify connectivity. |
Free O'Reilly Design Books and convenient script to just download them.
HUGE thanks to O'Reilly for making this resource free. Visit the design page if you want to learn more about the design resources. Also, they do have FREE resources for other topics like: Data, IoT, Programming, Security, Web Development, and WebOps.
Thanks @augbog for the initial gist. If you are a developer or looking for software engineering books, headover to the source of this fork.
How to use:
download.sh
file and put it into a directory where you want the files to be saved.cd
into the directory and make sure that it has executable permissions (chmod +x download.sh
should do it)#!/usr/bin/env bash | |
# | |
# Author: Stefan Buck | |
# License: MIT | |
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447 | |
# | |
# | |
# This script accepts the following parameters: | |
# | |
# * owner |
CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control
and E-Tag
headers, etc.), minification, etc.
#!/bin/bash | |
PROFILE_FILE=$HOME/.bash_profile | |
PATH_FILE=$HOME/.bash_path | |
# Install required packages from Homebrew | |
brew tap homebrew/dupes | |
brew install coreutils binutils diffutils ed findutils gawk gnu-indent gnu-sed \ | |
gnu-tar gnu-which gnutls grep gzip screen watch wdiff wget bash gdb gpatch \ | |
m4 make nano file-formula git less openssh python rsync svn unzip vim \ | |
--default-names --with-default-names --with-gettext --override-system-vi \ |