As per youtube-dl's old maintainer stephen, the dmca repo contains the code to youtube-dl because of a git security bug [1]: https://github.com/ppartarr/dmca/tree/416da574ec0df3388f652e44f7fe71b1e3a4701f https://github.com/lrvick/youtube-dl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# mount the boot partition | |
mount /dev/nvme0n1p9 /mnt | |
mount /dev/nvme0n1p7 /mnt/boot | |
# change root to /mnt partition | |
arch-chroot /mnt | |
# reinstall grub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail # -> http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
# Reverse what lxd init does | |
function check_distro() { | |
local distro=$(grep 'DISTRIB_CODENAME' /etc/lsb-release | cut -d '=' -f 2) | |
echo "$distro" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import win32api | |
import time | |
import random | |
import logging | |
# 1920x1080 resolution | |
xLow = 0 | |
xHigh = 1920 | |
yLow = 0 | |
yHigh = 1080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script requires : | |
# 1. the Azure AD Powershell module: Install-Module -Name AzureADPreview | |
# 2. an authenticated user: Connect-AzureAD | |
$uid = "" | |
$groupPrefix = "GroupNamePrefix" | |
$groups = Get-AzureADMSGroup | |
$groups | Select-Object -Skip 3 | Where-Object { | |
$_ -match '(\d+)\s+(\d+)\s+(.*?)\s+([a-z]+(?:-[a-z0-9]+){2,})\s+(.*)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script requires : | |
# 1. the Azure AD Powershell module: Install-Module -Name AzureADPreview | |
# 2. an authenticated user: Connect-AzureAD | |
$uid = "" | |
$numberOfGroupsToCreate = 200; | |
for($i = 0; $i -lt $numberOfGroupsToCreate; $i++) | |
{ | |
$displayName = "GroupNamePrefix" + $i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description='Eduroam' | |
Interface=wlp58s0 | |
Connection=wireless | |
Security=wpa-configsection | |
ESSID=eduroam | |
IP=dhcp | |
TimeoutWPA=60 | |
TimeoutUp=300 | |
TimeoutCarrer=300 | |
WPAConfigSection=( |
/opt/qemu-4.2.0-rc2$ cloc .
44416 text files.
41844 unique files.
13644 files ignored.
github.com/AlDanial/cloc v 1.74 T=240.98 s (128.9 files/s, 42400.5 lines/s)
---------------------------------------------------------------------------------------
Language files blank comment code
---------------------------------------------------------------------------------------
$ cloc .
63030 text files.
62579 unique files.
13714 files ignored.
github.com/AlDanial/cloc v 1.74 T=415.23 s (121.3 files/s, 58042.5 lines/s)
---------------------------------------------------------------------------------------
Language files blank comment code
---------------------------------------------------------------------------------------
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 5.3.0-rc3 Kernel Configuration | |
# | |
# | |
# Compiler: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) | |
# | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=90101 |
NewerOlder