Skip to content

Instantly share code, notes, and snippets.

View shiroinekotfs's full-sized avatar
🐱
Nyan~

白いねこ shiroinekotfs

🐱
Nyan~
View GitHub Profile
# Authenticate to Azure AD as an Application Administrator user
$username = "alice" # Username for authentication
$password = "asdf" # Password for authentication
# Convert password to a secure string
$securePass = ConvertTo-SecureString "$password" -AsPlainText -Force
# Create a credential object
$cred = New-Object System.Management.Automation.PSCredential($username, $securePass)
# Connect to Azure AD with the provided credentials
Connect-AzureAd -Credential $cred
@imneonizer
imneonizer / how-to-download-from-pan-baidu.md
Created October 28, 2021 08:59
How to download from pan.baidu without account

How to download from pan.baidu.com

Disclaimer:

  • This methods uses a 3rd party website: https://baidu.kinh.cc/.
  • I don't know chinese and after one day of searching for a method I finally found this. I don't know how safe this website is but it does the job.
  • Do it on your own responsibility. I have no idea about possible copyright (if there is such a thing in China) and other stuff regarding to this.

Steps

1. Open the website mentioned above and fill out fields as following:

@chronitis
chronitis / jupyter_kernel_list.md
Last active September 21, 2024 02:56
Updated Jupyter Kernels page

What is a kernel?

The kernel lets you run code in a particular programming language using one of the Jupyter tools, such as the Notebook, Jupyterlab or nteract. Installing additional kernels will let you run code in more languages using your existing jupyter installation.

Technically, the kernel is an application which speaks the Jupyter Messaging Protocol, to receive code input from the frontend and respond with the results.

Which kernels do I have installed?

In the Notebook or JupyterLab, the list of available kernels will be shown when trying to create a new notebook.