System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
from django.test.client import RequestFactory | |
from django.http import HttpResponse | |
from django.db import transaction, DatabaseError | |
from django.db.models.sql.compiler import SQLCompiler | |
from django.utils import timezone | |
from silk.collector import DataCollector | |
from silk.config import SilkyConfig | |
from silk.model_factory import RequestModelFactory, ResponseModelFactory | |
from silk.profiling.profiler import silk_meta_profiler |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
# FastAPI. | |
async def stream_json_list(items): | |
for item in items: | |
yield item | |
await asyncio.sleep(4.0) # To demonstrate, visibly, the successful implementation. | |
async def get_media_metadata(tags: Optional[Set[str]] = Query(None, | |
description="Tags to filter on")): |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
LWin:: | |
Input, x, L1 ; Catches key after winkey | |
if (ErrorLevel = "NewInput") ; If catching was interrupted | |
{ | |
Send #+r ; Set this to your powertoys run shortcut |
Настраиваем подключение к впн Устанавливайте только Stable версии приложений!
Подробнее про клиенты и настройку можно почитать по этой ссылке
#!/bin/bash | |
# This script is used by Nagios to post alerts into a Slack channel | |
# using the Incoming WebHooks integration. Create the channel, botname | |
# and integration first and then add this notification script in your | |
# Nagios configuration. | |
# | |
# All variables that start with NAGIOS_ are provided by Nagios as | |
# environment variables when an notification is generated. | |
# A list of the env variables is available here: |
This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.
Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.
You will find most of this information pulled from the Arch Wiki and other resources linked thereof.
Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX
with /dev/sdX
or your device as needed.
import Foundation | |
extension Date { | |
func toString(format: String = "yyyy-MM-dd") -> String { | |
let formatter = DateFormatter() | |
formatter.dateStyle = .short | |
formatter.dateFormat = format | |
return formatter.string(from: self) | |
} |
def calcular_rif(data): | |
''' | |
Toma un nro de cedula o rif y calcula el digito validador | |
data: string con nro de CI o RIF sin espacion ni guiones ej. | |
V12345678 | |
E12345678 | |
J123456789 | |
devuelve el rif con el digito calculado | |
no se validan los datos de entrada | |
para validar: if data == calcular_rif(data): |
Thanks everyone for commenting/contributing! I made this in college for a class and I no longer really use the technology. I encourage you all to help each other, but I probably won't be answering questions anymore.
This article is also on my blog: https://emilykauffman.com/blog/install-anaconda-on-wsl
Note: $
denotes the start of a command. Don't actually type this.
x86_64.sh
. If I had a 32-bit computer, I'd select the x86.sh
version. If you accidentally try to install the wrong one, you'll get a warning in the terminal. I chose `Anaconda3-5.2.0-Li