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 | |
# Args: $1 - PV name | |
# $2 - Storage qty | |
# $3 - NFS server path | |
# The NFS Share path is hardcoded, so be sure that's where you want it! | |
mkdir /var/nfsshare/$1 | |
chmod 777 /var/nfsshare/$1 |
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
clear | |
wpa_cli STATUS | |
echo | |
wpa_cli LIST_NETWORKS | |
echo | |
cat /etc/wpa_supplicant.conf |
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 | |
set -e | |
if ! [ $(id -g) == 0 ];then | |
echo 'Please run as root.' | |
exit 1 | |
fi | |
dnf install tftp-server tftp -y |
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
set -e # Stop the script if something fails. | |
#URL to your SonarQube instance | |
SONAR_INSTANCE= | |
if [ -z "$SONAR_INSTANCE" ]; then | |
echo "REMEMBER TO SET THE SONAR INSTANCE, FOOL!" | |
exit 1 | |
fi |
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 | |
headstart=$(sudo fdisk -l $1 | grep img2 | awk -F" " '{ print $2 }') | |
echo $headstart | |
if [ -z ${2+x} ]; then | |
mountpoint='/mnt/raspberry' | |
else | |
mountpoint=$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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDQkWOIRi3MAnjpalio1tZiE3BcPLUgVIWto2bOlFL2USCLgs88AwGslYtNhn7Vdz3nD34L3Fg/OAYLVcScHjc8HmPkhZUginxxmoO17gSlrgGfpNhef5JxUeb/nhVlbqRwo+RRzxpIOF2gy9Ucy4OzMsF73PHBJBlJBhthnfxrWgiQPozliaAl9OoYxbVFJ+R8bQlrOA6uVTeBgkAl8a8+r9ZEpQKlbF/9MKe92zxY+0olKdpRbavKP5mWH8w8N8ZBxtqFX8A6AkYeCYCD0goL49KMi0xGRS8PlGYsL/GQlCvGlFTIH4XXg5vXoVfjQQzx2dJMmmdLLFp2YYJnUwjWYfkujfasXgx3NKoR3fOaxv55QTWDisH0165uFx7Q3lUJmp66a+8Zp44EX0dz1Do35zCJ7vQhia+/XcblHh687Lo2CkE2N6FhA7IlBFA4+elCUB1IfyAwph9C9uhOKPbi4uZAlyVcFZTwuD4kvhTVRiZ62fmQRwdEcFPZ6qOpqIU= wilnil@merfolk |
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
[ 2%] Built target xournal-thumbnailer | |
[ 12%] Built target util | |
[ 98%] Built target xournalpp-core | |
[100%] Built target xournalpp | |
Run CPack packaging tool... | |
CPack: Create package using RPM | |
CPack: Install projects | |
CPack: - Run preinstall target for: Xournal++ | |
CPack: - Install project: Xournal++ | |
CMake Error at /home/will/Documents/xournalpp/build/po/cmake_install.cmake:41 (file): |
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
# Install script for directory: /home/will/Documents/xournalpp/po | |
# Set the install prefix | |
if(NOT DEFINED CMAKE_INSTALL_PREFIX) | |
set(CMAKE_INSTALL_PREFIX "/usr/local") | |
endif() | |
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") | |
# Set the install configuration name. | |
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) |
NewerOlder