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
#!/bin/bash | |
echo "This script is completely untested. " | |
echo "It's more intended as a general overview of what needs to be done to install bitsandbytes-rocm in the text-generation-ui env on Ubuntu 22.04" | |
echo "Run from the same directory as start-webui.sh" | |
# make sure user wants to continue | |
read -p "Do you want to continue? [y/N] " -n 1 -r | |
echo | |
if [[ ! $REPLY =~ ^[Yy]$ ]]; then |
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
#!/bin/bash | |
echo "This script is completely untested. " | |
echo "It's more intended as a general overview of what needs to be done to install ROCm on Ubuntu 22.04 then as an actual installer. " | |
echo "Use at your own risk. And provide feedback if you have suggested fixes. " | |
# make sure user wants to continue | |
read -p "Do you want to continue? [y/N] " -n 1 -r | |
echo | |
if [[ ! $REPLY =~ ^[Yy]$ ]]; then |
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
if (!Object.values) { | |
Object.defineProperty(Object, 'values', { | |
enumerable: false, | |
configurable: true, | |
writable: true, | |
value: function(target) { | |
var res = []; | |
for (var i in target) { | |
if (target.hasOwnProperty(i)) { | |
res.push(target[i]); |
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
#!/bin/tcsh | |
# Grab user information. | |
echo "PrivateInternetAccess OpenVPN Setup:" | |
echo " https://www.privateinternetaccess.com/pages/client-control-panel" | |
echo " -> PPTP/L2TP/SOCKS Username and Password" | |
echo -n "User: " | |
set user = $< | |
echo -n "Pass: " | |
set pass = $< |