graph TD
id1[(Get entry from google sheet)] --> id2{Base criteria met?}
id2 -- Yes --> id3{Account associated with university email exists?}
id2 -- No --> id16(Known account management process done)
id3 -- Yes --> id22{Account permitted criteria met?}
id22 -- Yes --> id5{Account enabled}
id22 -- No --> id23{Account disabled}
id23 -- No --> id24[Disable account]
id23 -- Yes --> id16
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
$s = Get-Content script.ps1 | Out-String | |
$j = [PSCustomObject]@{ | |
"Script" = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($s)) | |
} | ConvertTo-Json -Compress | |
$oneline = "[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String(('" + $j + "' | ConvertFrom-Json).Script)) | iex" | |
$c = [convert]::ToBase64String([System.Text.encoding]::Unicode.GetBytes($oneline)) | |
("Powershell -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypass -Encoded " + $c) | Out-File -Encoding Default script.cmd |
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
Google Workspace for Education Terms of Service | |
Last modified: September 20, 2022 | |
For translations of this Agreement into other languages, please click here. | |
If you signed an offline variant of this Agreement for use of the Google Workspace for Education Services under the same Google Workspace for Education Account, the terms below do not apply to you and your offline terms govern your use of the Google Workspace for Education Services. | |
If your billing account is in Brazil, please review these Terms of Service, which apply to your use of Google Workspace for Education. | |
Se a sua conta para faturamento é no Brasil, por gentileza veja o Termos de Serviço, que será o Termo aplicável à sua utilização da Google Workspace for Education. |
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 Secret Server Launch List | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0.1 | |
// @description Add a list of hosts your can choose from the secret server launcher UI | |
// @author nickadam | |
// @match https://*.secretservercloud.com/app/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=secretservercloud.com | |
// @grant none | |
// ==/UserScript== |
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
# Running this script will install CYA if not already installed, | |
# load the necessary functions from the private modules directory, | |
# and finally creates three sample files in the current working directory. | |
# Install CYA if not installed | |
if (-not (Get-Module -ListAvailable -Name CYA)) { | |
Install-Module CYA -Repository PSGallery | |
} | |
# Load CYA's private functions from the Modules directory |
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
# credit to http://www.isolation.se/change-mac-address-with-powershell-of-a-wireless-adapter/ | |
function random-mac { | |
$mac = "02" | |
while ($mac.length -lt 12) | |
{ | |
$mac += "{0:X}" -f $(get-random -min 0 -max 16) | |
} | |
$Delimiter = "-" | |
for ($i = 0 ; $i -le 10 ; $i += 2) |
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
from pysnmp.carrier.asyncore.dispatch import AsyncoreDispatcher | |
from pysnmp.carrier.asyncore.dgram import udp | |
from pyasn1.codec.ber import encoder, decoder | |
from pysnmp.proto.api import v2c | |
from pysnmp.proto import api | |
from time import time | |
from collections import OrderedDict | |
import copy | |
import json | |
import re |
graph TD
A[Go to Manage Duo in S/SAM] --> B{Is the toggle greyed out\nor duo not required?}
B -- Yes --> C[Setup/restore the phone]
B -- No --> D{Are there MFA methods?}
D -- Yes --> E{Is one of the methods\nthe hcpss device\nbeing replaced?}
D -- No --> F[Begin phone setup/restore,\nstop at home screen]
F --> G{Is the duo app\non the new phone?}
G -- No --> H[Wait longer\nor install manually]
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 Spotify delay play for Quest 2 VR | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Hits the play button after a delay so you can listen to spotify on Oculus Quest 2. You can sideload firefox android app with sidequest, add the tampermonkey add-on, add this script, and open spotify in desktop mode in firefox, move it to a sidepanel, start playing what you want, pause it, hit "Play in 15s", open your VR game of choice. | |
// @author Nick Vissari | |
// @match *://open.spotify.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=spotify.com | |
// @grant none | |
// ==/UserScript== |
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
$org = "Your Org" | |
$api_key = "Your PAT" | |
function Get-GitHubApi(){ | |
param($Url) | |
$Headers = @{Authorization = "Bearer $api_key"} | |
$wr = Invoke-WebRequest -UseBasicParsing -Headers $Headers $Url | |
$wr.Content | ConvertFrom-Json -Depth 100 | |
if([string]($wr.Headers.link -split "," -match 'rel="next"') -match "https[^>]+"){ | |
Get-GitHubApi $matches[0] |
NewerOlder