https://www.youtube.com/watch?v=VTjLd57QgDY
In the following RegEdit keys
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\Windows NT\CurrentVersion
Edit the following values:
#!/bin/bash | |
set -euo pipefail | |
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common | |
( wget -O- https://apt.releases.hashicorp.com/gpg | \ | |
gpg --dearmor | \ | |
sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg >/dev/null ) | |
gpg --no-default-keyring \ | |
--keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \ |
#!/bin/bash | |
# https://github.com/weaveworks/ignite/blob/main/docs/installation.md | |
set -euo pipefail | |
DEFAULT_CNI_VERSION=v0.9.1 | |
DEFAULT_IGNITE_VERSION=v0.10.0 | |
function main() { |
import string | |
import random | |
DEFAULT_POOLS = [ | |
string.ascii_lowercase, | |
string.ascii_uppercase, | |
string.digits, | |
'_!@$' | |
] |
https://www.youtube.com/watch?v=VTjLd57QgDY
In the following RegEdit keys
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\Windows NT\CurrentVersion
Edit the following values:
import requests | |
API = 'https://api.github.com' | |
session = requests.Session() | |
session.auth = ('YourUsername', 'YourPassword') | |
def repos(): | |
page = 0 | |
while True: |
import asyncio | |
class RLock(asyncio.Lock): | |
""" | |
A reentrant lock for Python coroutines. | |
""" | |
def __init__(self, *args, **kwargs): | |
super().__init__(*args, **kwargs) | |
self._task = None |
# Copyright (C) 2017 Niklas Rosenstein | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in |
/* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* | |
* In jurisdictions that recognize copyright laws, the author or authors | |
* of this software dedicate any and all copyright interest in the | |
* software to the public domain. We make this dedication for the benefit |
# Copyright (c) 2017 Niklas Rosenstein | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in |
#!/bin/bash | |
VERSION=$1 | |
if [ -z "$VERSION" ]; then | |
echo "no version specified" | |
exit 1 | |
fi | |
.local/bin/nocrux gogs stop | |
wget https://dl.gogs.io/$VERSION/linux_amd64.tar.gz |