I hereby claim:
- I am forumplayer on github.
- I am forumplayer (https://keybase.io/forumplayer) on keybase.
- I have a public key ASAmhB_c_0IGmvo4BHm6kQTxQPhAc_x3Tv-B8Ht0A1JcJQo
To claim this, I am signing this object:
<?php | |
if (isset($_GET['id'])) { | |
$id = trim($_GET['id']); | |
parse_str(file_get_contents("http://youtube.com/get_video_info?video_id=".$id),$info); | |
$streams = explode(',',$info['url_encoded_fmt_stream_map']); | |
$found = false; | |
foreach($streams as $stream){ | |
parse_str($stream,$data); | |
if(stripos($data['type'],"video/mp4") !== false){ | |
$found = true; |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: OpenPGP.js v4.4.10 | |
Comment: https://openpgpjs.org | |
xsBNBFydUdwBCADCG3m3YIGQy0VnjQtXPsHSZTGzqOlHRa/PHdPFHFD4CXHD | |
reGDcu6gksj/P5HXNI5LMjPg4TzGHjjX/U4APZSc2CRzQhneDEU9zmR5XBz5 | |
CbcJh7BBxc1Pow7FKY0vVm6oFdz/LicJTdapnKmvIviL8KGx3/YVSXW/WTd7 | |
ZCzIgrWQTfjUhtMc8/oMHr1W2b/kELrM9Ij0HT+PMzRXSyJyzstHX4tYAkXS | |
b5tdMs5Kihk35e/BDuqbs8l7IrMYHLAeqhI74fWvZprLN4UAt8g8RYvHxwog | |
tKfBqXEWqs4/vW/xq/+FFvMqOUu2Nk6yAR8FtylOLucUgjjMa+HIVkUlABEB |
I hereby claim:
To claim this, I am signing this object:
param( | |
[Parameter(Mandatory=$true)][string]$VMName | |
) | |
#based on http://serverfault.com/questions/619763/can-pxe-boot-of-hyper-v-vms-be-disabled | |
$old_boot_order = Get-VMFirmware -VMName $VMName | Select-Object -ExpandProperty BootOrder | |
$new_boot_order = $old_boot_order | Where-Object { $_.BootType -ne "Network" } | |
Set-VMFirmware -VMName $VMName -BootOrder $new_boot_order |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
#!/bin/bash | |
systemctl stop snapd.socket | |
systemctl stop snapd.service | |
systemctl disable snapd.socket | |
systemctl disable snapd.service | |
apt purge snapd | |
rm -rf ~/snap /snap /var/snap /var/lib/snapd /var/cache/snapd /usr/lib/snapd |