This file contains hidden or 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
export class Person { | |
name: string; | |
constructor(name: string) { | |
this.name = name; | |
} | |
} |
This file contains hidden or 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
# Start by creating a new Linode | |
# https://cloud.linode.com/linodes/create | |
# Update all packages and install important packages | |
pacman -Syu ntp sudo ufw | |
# Configure ntp | |
systemctl enable ntpd.service | |
timedatectl set-ntp 1 |
This file contains hidden or 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
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory=$true)] | |
[string] | |
$ChannelURL | |
) | |
# TODO: Use any youtube-dl | |
..\youtube-dl.exe --get-id $Channel | % { | |
Start-Job -ScriptBlock { ..\youtube-dl.exe --restrict-filenames "https://youtube.com/watch?v=$($args[0])" } -ArgumentList @($_) -Name $_ |
This file contains hidden or 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
KEYRING_PACKAGE="cuda-keyring_1.0-1_all.deb" && \ | |
UBUNTU_VERSION="$(lsb_release -sr | sed 's/\.//g')" && \ | |
KEYRING_REPO="https://developer.download.nvidia.com/compute/cuda/repos/ubuntu$UBUNTU_VERSION/x86_64" && \ | |
KEYRING_PACKAGE_URL="$KEYRING_REPO/$KEYRING_PACKAGE" && \ | |
KEYRING_PACKAGE_PATH="$(mktemp -d)" && \ | |
KEYRING_PACKAGE_FILE="$KEYRING_PACKAGE_PATH/$KEYRING_PACKAGE" && \ | |
wget -O "$KEYRING_PACKAGE_FILE" "$KEYRING_PACKAGE_URL" && \ | |
sudo apt-get install -yq "$KEYRING_PACKAGE_FILE" && \ | |
sudo apt-get update -yq && \ | |
sudo apt-get install -yq cuda-libraries-11-7 libcudnn8 |
This file contains hidden or 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
ms_alias="" | |
cs_settings_file="$HOME/codespaces-settings.json" | |
# Uncomment the next two lines to load bash completion functions | |
# autoload -Uz +X compinit && compinit | |
# autoload -Uz +X bashcompinit && bashcompinit | |
cs_export() { | |
export VSCS_TARGET="$(jq -r '.vscsTarget // ""' $cs_settings_file)" | |
export VSCS_LOCATION="$(jq -r '.vscsRegion // ""' $cs_settings_file)" |
This file contains hidden or 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
Daily Italian does not collect any personal information. |