$argon2id$v=19$m=8192,t=2,p=4$Y+r8NKkXj0fRU5SXsnU5wQ$ElL+7Y53Kfl1537JUzTvl2h8FwCttAsX
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
// ********* | |
// constants | |
// ********* | |
// Go to GitHub > Settings > Developer Settings > Personal access tokens > Tokens | |
// and create a new one with the following scopes: | |
// - codespaces (Full control over codespaces) | |
// - read:user | |
// - user:email | |
const token = "ghp_123secretToken" |
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
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo -e " | |
ROOT PRIVILEDGES NEEDED! | |
You have to run this script as root. | |
Aborting... | |
" | |
exit 1 | |
else |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>DNSSettings</key> | |
<dict> | |
<key>DNSProtocol</key> |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options\Calendar] | |
"EnableMeetingCopy"=dword:00000001 | |
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
FROM ubuntu:focal | |
ENV DEBIAN_FRONTEND=noninteractive | |
# explicitly set lang and workdir | |
ENV LANG="en_US.UTF-8" LC_ALL="C" LANGUAGE="en_US.UTF-8" | |
USER root | |
RUN apt-get remove -y vim-runtime gvim vim-tiny \ |
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 sys | |
import subprocess | |
import os | |
import platform | |
def open_with_default(path): | |
current_platform = platform.system() | |
if current_platform == "Linux": | |
subprocess.call(["xdg-open", path]) |
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
#!/bin/bash | |
# Remove old vim installs | |
sudo apt-get remove vim vim-runtime gvim vim-tiny \ | |
vim-common vim-gui-common vim-nox gvim | |
# install vim-gtk deps | |
sudo apt-get build-dep vim-gtk | |
# install some more deps |
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
#!/bin/bash | |
if [[ $# != 2 ]]; then | |
echo "Error: wrong number of arguments" | |
echo "" | |
echo "Usage: ./download-entire-website.sh <domain> <url>" | |
echo "Example ./download-entire-website.sh websitetodownload.com www.websitetodownload.com/page/" | |
echo "" | |
exit -1 | |
fi |
NewerOlder