Skip to content

Instantly share code, notes, and snippets.

View asmattic's full-sized avatar

Matt Oldfield asmattic

View GitHub Profile
@asmattic
asmattic / add-exfat-filesystem-support-to-linux.sh
Last active January 4, 2021 09:46
Add exFat Filesystem support to Linux
# Add support for more packages
sudo add-apt-repository universe
# Add support for even more packages
sudo add-apt-repository multiverse
sudo apt update
# Add support for exfat filesystem
@asmattic
asmattic / honeywhatmusic-few-suggestions.md
Last active January 2, 2021 07:31
honeywhatmusic-few-suggestions.md

Couple corrections to CSS that would help

Expecially with being able to click the social media links

/* logo move down */
#comp-jil0j6h5 {
 display: block;
@asmattic
asmattic / prune-all-node-modules.sh
Created December 31, 2020 07:46
Delete node_modules in all nested folders
sudo find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
@asmattic
asmattic / Setup Ubuntu 20.04 for Resolve Video Software 17.md
Created December 27, 2020 21:42
Setup Ubuntu 20.04 for Resolve Video Software 17
@asmattic
asmattic / raspberry-pi-git-repo-setup-on-boot.sh
Created October 19, 2020 02:47
Raspberry Pi Boot Script: Run config, pull or clone git repo, copy repo folder containing the pi specific project, run any config on that working folder, run next script
#!/bin/bash
# For now, I know user home
user_home=${HOME}
echo "Go to ${user_home} dir"
echo ""
cd $user_home
# Any startup scripts you want to run before updating the git repo
function toHex(num) {
const base = 16;
const hexVals = '0123456789abcdef';
let hex = [];
let sign = 1;
if(num === 0) return '0';
if(num < 0) {
sign = -1;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>