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
$ErrorActionPreference= 'SilentlyContinue' | |
# Ask for the server IP | |
$server_ip = Read-Host -Prompt 'Enter the server IP (<Enter> for none:)' | |
# Ask for password | |
$rustdesk_pw = Read-Host -Prompt 'Enter the password (<Enter> for random:)' | |
# Generate a random password if none is provided | |
if ($rustdesk_pw -eq '') |
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
// ==UserScript== | |
// @name Copy Site Reference | |
// @namespace https://lalibi.org/ | |
// @version 0.4.1 | |
// @description Copy title and shorten URL from site | |
// @author lalibi | |
// @match *://*/* | |
// @updateURL https://gist.githubusercontent.com/lalibi/8069ba479069e1b2071b1fb779e4bfdc/raw/ | |
// @downloadURL https://gist.githubusercontent.com/lalibi/8069ba479069e1b2071b1fb779e4bfdc/raw/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=tinyurl.com |
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
# Working around the dreaded Dell XPS “Power Limit Throttling” problem | by Matthew Casperson | Medium - https://bit.ly/31Coh5d | |
# Problem with ending a loop on keypress - PowerShell General - Ask the Experts - IDERA Community - https://bit.ly/31DemvZ | |
# Automated Power Limit Script - Feedback : gpdwin - https://bit.ly/33RxeKJ | |
# windows 10 - Intel XTU Undervolt settings not working between reboots - Super User - https://bit.ly/2FbgUKp | |
# Apply an Intel XTU profile from PowerShell - https://bit.ly/2Fbw3eI | |
# **DISCLAIMER**: Use the script at your own risk. I've been running it successfully for several days now | |
# but I can't say that this is a safe practise and **I cannot guarantee that it won't damage your laptop**. | |
# Use it only if you understand what the script does, if you understand the risks involved, | |
# if you understand what those settings are and, finally, if you feel comfortable with tinkering those values. |
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
function Set-WindowState { | |
<# | |
.SYNOPSIS | |
Set the state of a window. | |
.DESCRIPTION | |
Set the state of a window using the `ShowWindowAsync` function from `user32.dll`. | |
.PARAMETER InputObject | |
The process object(s) to set the state of. Can be piped from `Get-Process`. |
I hereby claim:
- I am lalibi on github.
- I am lalibi (https://keybase.io/lalibi) on keybase.
- I have a public key ASDo0Wh9-TkZhYPtIXUzXX-WkN7XTkLCDGLmv4cvEUEKoAo
To claim this, I am signing this object: