Skip to content

Instantly share code, notes, and snippets.

View vonthecreator's full-sized avatar
☢️
loading...

Munashe vonthecreator

☢️
loading...
  • Canada
View GitHub Profile
@vonthecreator
vonthecreator / README.md
Created September 13, 2023 02:03 — forked from nicerobot/README.md
GNUStep

Objective-C on Linux

Just run:

curl -ks https://gist.github.com/nicerobot/5652802/raw/install.sh | bash -
@vonthecreator
vonthecreator / html5-element-list.txt
Created November 28, 2022 12:43 — forked from mrmrs/html5-element-list.txt
List of all html 5 elements, in alphabetical order.
a
abbr
address
area
article
aside
audio
b
bdi
bdo
@vonthecreator
vonthecreator / github-pages-custom-domain-gandi-dns-records.md
Created November 27, 2022 17:19 — forked from matt-bailey/github-pages-custom-domain-gandi-dns-records.md
How to set up DNS records on gandi.net to use a custom domain on Github Pages

How to set up DNS records on gandi.net to use a custom domain on Github Pages

You would think it would be easy to find this information, but none of the Github or Gandi documentation is clear so I have recorded the required steps here.

Create the following A records:

@ 1800 IN A 185.199.108.153
@ 1800 IN A 185.199.109.153
@ 1800 IN A 185.199.110.153
@vonthecreator
vonthecreator / createinstallmedia.md
Created November 25, 2022 14:29 — forked from windyinsc/createinstallmedia.md
Create a bootable installer for macOS

Create a bootable installer for macOS

The following instructions were predominantly sourced via this Apple Support Document.

With macOS, you can use a USB flash drive or other removable media as a startup disk from which to install macOS. These advanced steps are intended primarly for system administrators and others who are familiar with the command line.

The final executable command(s) are found within Section III. Final macOS Executable Commands labled as Full Example or Full Example w/Options. I personally use the w/Options command which include both the --nointeraction and &&say Installation commands.

I. Overview

#!/bin/sh
# default commands for osx to make it nicer to work with
##########################
# General UI?UX settings #
##########################
# Set hostname (hex of MVB9APPS)
sudo scutil --set ComputerName "0x4d56423941505053"
sudo scutil --set HostName "0x4d56423941505053"
@vonthecreator
vonthecreator / main.py
Last active November 7, 2021 13:17
youtube_dl learns how to upload to S3 buckets
import youtube_dl
import sys, os, time
import boto3
# VERSIONS:
# 1. boto3==1.18.63
# 2. youtube_dl==2021.6.6
#
# How to use:
#!/usr/bin/ruby
# script for posting on dev.to
# using api-key
require 'net/http'
require 'json'
def read_file(fname)
unless File.file?("#{fname}")
@vonthecreator
vonthecreator / index.html
Created August 23, 2020 16:16
munazhe.media
<nav>
<ul>
<li><a href="">About</a></li>
<li><a href="">Portfolio</a></li>
<li><a href="">Contact</a></li>
</ul>
</nav>
<div>
@vonthecreator
vonthecreator / headless_pi.sh
Last active August 11, 2020 21:41
Sends and email with local host IP & SSH port when a WIFI connection is established.
SERVER_PORT=$(head -n13 /etc/ssh/sshd_config | grep "Port" | awk '{print $2}')
SERVER_IP=$(hostname -I | awk '{ print $1 }')
swaks --to [email protected] -s smtp.gmail.com:587 -tls -au [email protected] -ap PASSWORD --header "Subject: [PING] raspy $(date)" --body "IP: $SERVER_IP \nPORT: $SERVER_PORT"