This guide explains how to customize the lock/login screen in Kali Linux XFCE (LightDM).
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
| #!/usr/bin/env python3 | |
| import argparse, json, sys, time | |
| from urllib import request | |
| PROMPTS = [ | |
| {"name": "code_python", "prompt": "Write a Python function that returns the n-th Fibonacci number using memoization. Include a docstring."}, | |
| {"name": "code_cpp", "prompt": "Write a C++ template function `clamp(x, lo, hi)` that returns x clamped to [lo, hi]. No std::clamp."}, | |
| {"name": "explain_concept", "prompt": "Explain how speculative decoding works in large language model inference, in three short paragraphs."}, | |
| {"name": "summarize", "prompt": "Summarize in two sentences: The Industrial Revolution began in Britain in the late 18th century, transforming manufacturing through mechanization, steam power, and the factory system. It spread to continental Europe and North America during the 19th century."}, | |
| {"name": "qa_factual", "prompt": "Q: What are the four fundamental forces of physics?\nA:"}, |
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
| # Version: 0.1 (2025-01-18) | |
| # License: MIT, use at your own risk | |
| # | |
| # This script disables the Lenovo-installed "Tobii experience" software and "nahimic" software. | |
| # Tested on a Lenovo Legion Pro 5 (82WM) with Windows 11 24H2. | |
| # Run it with `powershell.exe -noprofile -executionPolicy Bypass -File badlenovo.ps1` | |
| # Following this script, you should be able to uninstall the "Tobii experience" app from the control panel (appwiz.cpl) | |
| # | |
| # After major updates, you may need to re-run this script. |
-
First we need to have qemu installed on the system, for most of Linux systems, we can install “qemu-utils” for Windows we can download QEMU disk image utility from here
-
Other related questions
How to open raw disk from VMware
How to open qcow2 disk from VMware
How to open vdi disk from VMware
How to open raw disk from Hyper-V
How to open qcow2 disk from Hyper-V
How to open vdi disk from Hyper-V
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
| # Add this snippet to your $PROFILE to make Bash's autocompletion available to PowerShell on Linux. | |
| # Warning: adds ~500ms initialization time. | |
| # References: https://brbsix.github.io/2015/11/29/accessing-tab-completion-programmatically-in-bash/ | |
| # https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/register-argumentcompleter | |
| # Find all commands | |
| $commands = bash -c 'source /usr/share/bash-completion/bash_completion && complete' | awk '{ print $NF }' | |
| $commands += ls /usr/share/bash-completion/completions | |
| $commands | ForEach-Object { |
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
| // Moved to PSTree Module: https://github.com/santisq/PSTree | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.Diagnostics.CodeAnalysis; | |
| using System.IO; | |
| using System.Management.Automation; | |
| using System.Security; | |
| using System.Text; |
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
| import torch | |
| import torch.nn as nn | |
| import torch.optim as optim | |
| import gym | |
| import numpy as np | |
| import pickle | |
| # Hyperparameters | |
| H = 200 # Number of hidden layer neurons | |
| batch_size = 10 # Every how many episodes to do a param update? |
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
| Category | Settings Page | URI Command | |
|---|---|---|---|
| Accounts | Access work or school | ms-settings:workplace | |
| Accounts | Email & app accounts | ms-settings:emailandaccounts | |
| Accounts | Family & other people | ms-settings:otherusers | |
| Accounts | Set up a kiosk | ms-settings:assignedaccess | |
| Accounts | Sign-in options | ms-settings:signinoptions | |
| Accounts | Sync your settings | ms-settings:sync | |
| Accounts | Windows Hello setup | ms-settings:signinoptions-launchfaceenrollment | |
| Accounts | Your info | ms-settings:yourinfo | |
| Apps | Apps & Features | ms-settings:appsfeatures |
Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggml-org/llama.cpp#5962
In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.
See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix
These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.
NewerOlder