Source : Learn to combine RxJs sequences with super intuitive interactive diagrams
You can find the MAC address for LAN1/eth0 (not the BMC MAC) via the SuperMicro IPMI interface by running the following command:
$ ipmitool -U $IPMI_USER -P $IPMI_PASS -H $IPMI_HOST raw 0x30 0x21 | tail -c 18
The eth0 MAC address will be output in this format:
00 25 90 f0 be ef
You can find the MAC address for LAN1/eth0 (not the BMC MAC) via the SuperMicro IPMI interface by running the following command:
$ ipmitool -U $IPMI_USER -P $IPMI_PASS -H $IPMI_HOST raw 0x30 0x21 | tail -c 18
The eth0 MAC address will be output in this format:
00 25 90 f0 be ef
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
<script src="https://gist.github.com/sitedata/d98ca60eb1b9ec101c1d169b211dbd9d.js"></script> |
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 | |
# OpenVPN road warrior installer for Debian-based distros | |
# This script will only work on Debian-based systems. It isn't bulletproof but | |
# it will probably work if you simply want to setup a VPN on your Debian/Ubuntu | |
# VPS. It has been designed to be as unobtrusive and universal as possible. | |
if [ $USER != 'root' ]; then | |
echo "Sorry, you need to run this as root" |
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
0-mail.com | |
0815.ru | |
0clickemail.com | |
0wnd.net | |
0wnd.org | |
10minutemail.com | |
20minutemail.com | |
2prong.com | |
30minutemail.com | |
3d-painting.com |
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 | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
HOSTNAME=$(hostname -f) | |
PASSV_PORT="50000:50100" | |
SSH_PORT=2022 | |
PASSV_MIN=$(echo $PASSV_PORT | cut -d':' -f1) | |
PASSV_MAX=$(echo $PASSV_PORT | cut -d':' -f2) | |
ISVPS=$(((dmidecode -t system 2>/dev/null | grep "Manufacturer" | grep -i 'VMware\|KVM\|Bochs\|Virtual\|HVM' > /dev/null) || [ -f /proc/vz/veinfo ]) && echo "SI" || echo "NO") | |
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
#New host | |
#Create a bank LV the same size as the source | |
lvcreate -L 400G -n kvm133_img vm_vg | |
#Old Host | |
#Creat a snapshot to stop any new data being written to the 400G LV, All changes get written to the snap lv now | |
lvcreate --snapshot -L10G -n kvm133-snap /dev/4tb_raid_vg/kvm133_img |
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
{ | |
"type": "object", | |
"properties": { | |
"domains": { | |
"type": "array", | |
"items": { | |
"$ref": "#/definitions/OrderItem" | |
} | |
}, | |
"payment": { |
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
var DOMTokenListSupports = function(tokenList, token) { | |
if (!tokenList || !tokenList.supports) { | |
return; | |
} | |
try { | |
return tokenList.supports(token); | |
} catch (e) { | |
if (e instanceof TypeError) { | |
console.log("The DOMTokenList doesn't have a supported tokens list"); | |
} else { |