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 { | |
| Instruction, | |
| SwapInstructionsResponse | |
| } from "@jup-ag/api"; | |
| import { | |
| AddressLookupTableAccount, | |
| ComputeBudgetProgram, | |
| Connection, | |
| Keypair, | |
| PublicKey, |
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
| $relays = Invoke-WebRequest -Uri https://explorer.mainnet.cardano.org/relays/topology.json | ConvertFrom-Json | |
| $relays2 = $relays.Producers | Where-Object { | |
| $_.addr -like '*relays*' | |
| } | Sort-Object { $_.addr -eq 'relays-new.cardano-mainnet.iohk.io' } -Descending | |
| $newRelays = @{ | |
| "Producers" = [Collections.ArrayList]@( | |
| @{ | |
| "addr" = "127.0.0.1" |
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
| #sidebar-widget div.custom-scrollbar.custom-scrollbar { | |
| width: 100; | |
| height: 990px; | |
| padding: 0px 0px 30px; | |
| } | |
| div.tickerlist__container { | |
| height: 1000px; | |
| } |
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
| $transmission = Join-Path "C:\Program Files\Transmission" transmission-remote.exe | |
| $server = "127.0.0.1:9091" | |
| function GetTorrentObjectList { | |
| param ( | |
| $TorrentList | |
| ) | |
| $torrents = [Collections.ArrayList]@() | |
| foreach ($torrent in $TorrentList[1..($TorrentList.Count - 2)]) { |
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 | |
| Automatically finds, runs and places Outlook into the system tray. | |
| .Description | |
| Automatically finds, runs and places Outlook into the system tray. | |
| By default, Outlook will start full-screen even when you have the option to minimize tray enabled and start the app as minimized. |
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 bash | |
| file="$1" | |
| if [ -z "$file" ]; then | |
| echo "No filename specified. Aborted." | |
| exit 1 | |
| fi | |
| sed -i '/TABLE channel_properties/,/);/d' $file |
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
| @ECHO OFF | |
| echo Powershell profile deleter | |
| set /p PCNAME="PC:" | |
| Powershell -Mta -NoProfile -Command "& {Get-WmiObject Win32_UserProfile -Computer %PCNAME% | Where {(!$_.Special) -and (!$_.Loaded) -and ($_.LastUseTime -ne $null) -and ($_.ConvertToDateTime($_.LastUseTime) -lt (Get-Date).AddDays(-1))} | Remove-WmiObject -Verbose}" | |
| pause |
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
| @ECHO OFF | |
| echo Batch profile deleter | |
| set /p PCNAME="PC:" | |
| psexec \\%PCNAME% -s robocopy "C:\Users\Default" "C:\Users.Default\Default" /XJ /E | |
| psexec \\%PCNAME% -s robocopy "C:\Users\Public" "C:\Users.Default\Public" /XJ /E | |
| reg delete "\\%PCNAME%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileGuid" /f | |
| reg delete "\\%PCNAME%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /f |
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
| @ECHO OFF | |
| MODE CON:COLS=80 LINES=40 | |
| COLOR 1A | |
| SETLOCAL EnableDelayedExpansion | |
| :ENTRY | |
| CLS | |
| CALL :PRINTBAR | |
| ECHO ^| RDP Session Shadow Version 2.0 ^| | |
| ECHO ^| By Craig Crawford ^| | |
| ECHO ^|------------------------------------------------------------------------------^| |
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
| client | |
| remote gateway.pyronexus.com 1194 | |
| proto udp | |
| dev tun0 | |
| resolv-retry infinite | |
| pkcs12 MyClientCertificate.p12 | |
| verify-x509-name 'C=GB, ST=Merseyside, L=Liverpool, O=PyroNexus, OU=PyroNexus.com, CN=gateway.pyronexus.com, [email protected]' | |
| cipher AES-256-CBC | |
| auth SHA256 | |
| nobind |