I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
#!/bin/sh -e | |
##!! PLEASE USE THIS SCRIPT WITH CAUTION - AND AT YOUR OWN RISK !!## | |
##!! IT HAS BEEN KNOWN TO CAUSE RESETS AND WIPE DATA ON SOME CHROMEBOXES !!## | |
APPLICATION="${0##*/}" | |
ANSWER='' | |
SUDO='' | |
USAGE=" | |
$APPLICATION [no options] |
So you went live and you want everyone to know. Here's how you do it:
Go to https://ifttt.com/ and create an account (if you don't already have one)
- Find the Discord channel in which you would like to send Tweets.
- In the settings for that channel, find the Webhooks option and create a new webhook. Note: This URL should be kept private. It allows anyone to write messages to that specific channel using that specific URL. Keep it safe!
This gist is the glue code for the pluggable downloader code to use Twitter Network Layer for iOS for networking in with Twitter Image Pipeline for iOS
TIP supports plugging in any network layer, so feel free to hack on this gist to your own needs.
You can download whole courses from an array of tutorial sites with the CLI tool youtube-dl
. In the example further down I'm using my Pluralsight account to get videos from a course at their site. Here is a list of all supported sites that you can download from with this tool
The flags you have to supply may vary depending on which site you make a request to.
You can get a free 3 month trial to Pluralsight by signing up for free to Visual Studio Dev Essentials
This document has been moved to https://selenium-python.readthedocs.org/en/latest/
#!/bin/bash | |
checkExisting(){ | |
echo "Checking if already existing device on file..." | |
while read fileLine; do | |
if [ "$line" = "$fileLine" ]; then | |
echo "[WARNING] Device already initialized on this system. Nothing to do here" |
//Socket server connect to listen to data. | |
$.getScript('http://yoursocketioserver/socket.io/socket.io.js',function() { | |
socket = io.connect('http://lyoursocketioserver'); | |
socket.on('connect', function(){ | |
socket.on('message', function (data) { | |