Skip to content

Instantly share code, notes, and snippets.

View scottclaeys's full-sized avatar
🆕
Updating cloud/VPS API module

Scott Claeys scottclaeys

🆕
Updating cloud/VPS API module
View GitHub Profile
@robinsmidsrod
robinsmidsrod / dhcpd.conf
Last active June 11, 2024 13:10
Trying to chainload iPXE with full feature set from a lesser featured one, whilst still being able to boot non-supported cards with UNDI
ddns-update-style none;
deny bootp; #default
authoritative;
include "/etc/dhcp/ipxe-option-space.conf";
# GREEN (private network)
subnet 10.1.1.0 netmask 255.255.255.0 {
range 10.1.1.100 10.1.1.199;
option subnet-mask 255.255.255.0;

Keybase proof

I hereby claim:

  • I am radwebhosting on github.
  • I am rwh (https://keybase.io/rwh) on keybase.
  • I have a public key whose fingerprint is 128B 45D5 13AE 66AA B2BC 28F0 A817 08EE 5E7B 1B60

To claim this, I am signing this object:

{
"type": "object",
"properties": {
"domains": {
"type": "array",
"items": {
"$ref": "#/definitions/OrderItem"
}
},
"payment": {
@sitedata
sitedata / temporary-email-address-domains
Created November 28, 2019 03:51 — forked from adamloving/temporary-email-address-domains
A list of domains for disposable and temporary email addresses. Useful for filtering your email list to increase open rates (sending email to these domains likely will not be opened).
0-mail.com
0815.ru
0clickemail.com
0wnd.net
0wnd.org
10minutemail.com
20minutemail.com
2prong.com
30minutemail.com
3d-painting.com
const $ = cheerio.load(pm.response.text());
let siteName = $('.top > .action-post-job').text();
var things1 = [];
var things2 = [];
$('table#jobsboard tr.job').each((index,element) => {
things1.push({
@sitedata
sitedata / supermicro-ipmi-mac-address.md
Created May 3, 2020 08:49 — forked from DavidWittman/supermicro-ipmi-mac-address.md
Pull the LAN1/eth0 MAC address from SuperMicro IPMI

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
@chase2981
chase2981 / rxjs-diagrams.md
Created April 13, 2021 18:44 — forked from PCreations/rxjs-diagrams.md
Super Intuitive Interactive Diagrams to learn combining RxJS sequences by Max NgWizard K
@sitedata
sitedata / gist:c1682a2d8071f5b2c35ed547e12272a7
Created April 14, 2021 02:07
blog.sitedata.org/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# set some environment variables depending on host
RewriteRule .* - [E=ENVIRONMENT:prod]
RewriteCond %{HTTP_HOST} ^sitedata.org [NC]
RewriteRule .* - [E=ENVIRONMENT:prod]
RewriteCond %{HTTP_HOST} ^blog.sitedata.org [NC]
RewriteRule .* - [E=ENVIRONMENT:dev]
@sitedata
sitedata / .htaccess
Created April 14, 2021 05:07 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
@sitedata
sitedata / backup.sh
Created June 30, 2022 21:44 — forked from NiKiZe/backup.sh
Linux system backup
# from https://wiki.archlinux.org/title/Full_system_backup_with_tar
# -p, --acls and --xattrs store all permissions, ACLs and extended attributes.
# Without both of these, many programs will stop working!
# It is safe to remove the verbose (-v) flag. If you are using a
# slow terminal, this can greatly speed up the backup process.
#--exclude-from=$exclude_file
tar --exclude=/tmp/* --exclude=/var/tmp/* --exclude=/usr/portage/* --acls --xattrs --one-file-system -cpvf - . | xz -zvv -T3 -0 > file.xz
restore:
xz | tar --acls --xattrs --numeric-owner -xpf -