| #!/bin/bash | |
| youtube_url="$1" | |
| echo "Downloading video..." | |
| video_info=$(yt-dlp -e -o "%(title)s" -- "$youtube_url") | |
| sanitized_title=$(echo "$video_info" | sed 's/[^a-zA-Z0-9_.-]/_/g') | |
| output_file="${sanitized_title}.mp4" | |
| yt-dlp -o "temp.mp4" -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' -- "$youtube_url" |
| #!/usr/bin/env python | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| # HTTPRequestHandler class | |
| class testHTTPServer_RequestHandler(BaseHTTPRequestHandler): | |
| # GET | |
| def do_GET(self): | |
| # Send response status code |
| This can be used in Mac by using following trick: | |
| Open trial.key at path: /Applications/Beyond\ Compare.app/Contents/Resources/trial.key | |
| Replace content of trial.key with: | |
| --- BEGIN LICENSE KEY --- | |
| H1bJTd2SauPv5Garuaq0Ig43uqq5NJOEw94wxdZTpU-pFB9GmyPk677gJ | |
| vC1Ro6sbAvKR4pVwtxdCfuoZDb6hJ5bVQKqlfihJfSYZt-xVrVU27+0Ja | |
| hFbqTmYskatMTgPyjvv99CF2Te8ec+Ys2SPxyZAF0YwOCNOWmsyqN5y9t | |
| q2Kw2pjoiDs5gIH-uw5U49JzOB6otS7kThBJE-H9A76u4uUvR8DKb+VcB | |
| rWu5qSJGEnbsXNfJdq5L2D8QgRdV-sXHp2A-7j1X2n4WIISvU1V9koIyS |
There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.
There is now an option while editing your VM's settings to add a New raw disk when you click `Add ha
| A guide to backlink checkers and an inventory of the highest backlink checking tools for locating & analyzing your website’s backlinks. | |
| Having a decent backlink profile is important for SEO and you’ll have to be compelled to regularly monitor your website’s backlinks. Google has been more and more vocal on however they're cracking down on dangerous linking practices over the past couple years. Sites with poor backlink profiles will suffer greatly within the SERPs and since of this, it's necessary that you simply still monitor your website’s backlink profile and take away any poor quality links that you simply realize. There is a unit variety of backlink checkers you'll use to try and do this. During this article we'll offer an outline of the most effective backlink checkers you'll use to search out and analyze all the backlinks to your website. | |
| SEOWAGON – Backlink Checker | |
| Access to the biggest link index & standard alternative for SEO professionals | |
| www.seowagon.com is yet one more sensible tool for checkin |
This script is modeled after tee (see [man tee][2]) and works on Linux, macOS, Cygwin, WSL/WSL2
It's like your normal copy and paste commands, but unified and able to sense when you want it to be chainable.
This project started as an answer to the StackOverflow question: [How can I copy the output of a command directly into my clipboard?][3]
These are my notes for connecting to a meraki client vpn from ubuntu 16.04. This configuration assumes you are using a psk for the ipsec auth.
Install the following packages:
apt-get install -y strongswan xl2tpd
Configure strong swan
cloud-init is absolute cancer. Its code is horrible. It has no documentation at all.
It took me 5 fucking hours to figure out how to properly configure networking on recent
cloud-init (Ubuntu 16.04 cloud image) with local datasource.
It's not mentioned anywhere you need to provide dsmode: local. (but only if you need network-config,
besides that everything is fine; someone below noted that -m flag does the same thing, good to know) Of course nobody needs documentation for network-config format
either. (cloudinit/net/__init__.py is a protip, enjoy the feces dive)
Oh, and by the way - no, it's not possible to provide network-config to uvt-kvm without patching shit.