kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
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 | |
# | |
# How to use: | |
# 1. copy this shell file somewhere in your Mac | |
# 2. chmod +x create-iso.sh | |
# 3. $ sudo ./create-iso.sh | |
# | |
# The ISO file will be located in your Desktop when the script will be complete | |
hdiutil create -o /tmp/Mojave.cdr -size 6000m -layout SPUD -fs HFS+J |
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 | |
# | |
# Pre-requisite: move this script next to the .tar.gz image file | |
# you can download at http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-3-latest.tar.gz | |
# | |
# Usage: ./prepare_sdcard.sh /dev/sdb | |
# | |
##################################### | |
DRIVE_PATH=$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
#!/bin/bash | |
FOO="bar" | |
JSON=$(cat <<EOF | |
{ | |
"foo": "$FOO" | |
} | |
EOF | |
) |
- Open
C:\Program Files\Logitech\SetPointP\players.ini
- Add these lines to their respective sections
[Players]
Resonic=wac,Resonic.exe,ResonicWnd,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Resonic
[Players.Display]
Resonic=Resonic
- Restart your PC - OR - Kill 'Logitech SetPoint Event Manager' via Task manager and reopen the Logitech Setpoint software settings from Start menu or Control Panel
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 | |
# | |
# IMPORTANT! | |
# At the moment this script is forged only for Debian ( tested on 8.x release ). | |
# Although my efforts were put on building this also on Arch Linux or Alpine, at the moment only Debian seems to be able to build it. | |
# Also, not sure why these instructions where nowhere on the internet, therefore I leave them here for whoever need them. | |
# | |
########### | |
# Add Backports repo support |
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 | |
# | |
# IMPORTANT! | |
# At the moment this script is forged only for Debian ( tested on 8.x release ). | |
# Although my efforts were put on building this also on Arch Linux or Alpine, at the moment only Debian seems to be able to build it. | |
# Also, not sure why these instructions where nowhere on the internet, therefore I leave them here for whoever need them. | |
# | |
########### | |
# Add Backports repo support |
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
# Install quemu, docker, etc | |
yaourt -S qemu qemu-user-static binfmt-support | |
# The quemu-user-static AUR package is outdated and broken. The .deb package they pull is no longer in the ubuntu repository. | |
# Edit the PKGBUILD and use qemu-user-static_2.4+dfsg-3_amd64.deb (With SHA1 sum "84d83a16c60c82b6c579f2f750b04a3ac26c249b") | |
# Enable ARM emulation | |
update-binfmts --enable qemu-arm |
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 | |
# | |
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/ | |
# Adapted to work with the official image available into Mac App Store | |
# | |
# Enjoy! | |
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app | |
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build |
To make it work:
-
systemctl enable systemd-networkd-wait-online.service
-
Copy
update-dns-record.service
into/etc/systemd/system
and runchmod 0755 /etc/systemd/system/update-dns-record.service
-
Copy
update-dns-via-api.sh
into/root/.systemd/
and runchmod 0755 /root/.systemd/update-dns-via-api.sh
-
Finally adjust
update-dns-via-api.sh
wth the rightAPIKEY
value