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
$url = "https://v2-api.sheety.co/randomstringnameforGoogleSheet/test/pokemons" | |
$contentType = "application/json" | |
$method = "POST" # GET DELETE PUT alternatively | |
$json = @" | |
{ | |
"pokemon": { | |
"id": 723, | |
"number": 722, | |
"name": "Weepinball", |
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
# Simple and stupid script that locks the computer and starts filming using the webcam if the mouse coursor moves | |
# Requires ffmpeg to be installed | |
[System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | |
function mousecheck { | |
while($true) | |
{ | |
Start-Sleep -m 500 #added delay | |
$mouseY = ([System.Windows.Forms.Cursor]::Position.Y ) #read the Y coordinates |
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
<# | |
.SYNOPSIS | |
An MTR clone for PowerShell. | |
Written by Tyler Applebaum. | |
Version 2.0 | |
.LINK | |
https://gist.github.com/tylerapplebaum/dc527a3bd875f11871e2 | |
http://www.team-cymru.org/IP-ASN-mapping.html#dns |