Skip to content

Instantly share code, notes, and snippets.

View edriso's full-sized avatar
๐ŸŒฑ
Objects in motion stay in motion. =อŸอŸอžอž๐Ÿ€ YOSH!

Mohamed Idris edriso

๐ŸŒฑ
Objects in motion stay in motion. =อŸอŸอžอž๐Ÿ€ YOSH!
View GitHub Profile
@edriso
edriso / custom-domain-github-pages-three-ways.md
Last active August 22, 2026 04:35
Custom domain + GitHub Pages: three ways to connect them (serve / redirect / two live addresses), with Cloudflare steps and the traps that catch everyone

Custom domain + GitHub Pages: three ways to do it, and how to choose

You bought a domain. You have a site on GitHub Pages. There are three ways to connect them, they are genuinely different, and most guides only show you one.

This is written for someone who has never done it before. Every step is clickable or copy-pasteable, and the traps are called out where you would hit them.


@edriso
edriso / index.js
Last active November 25, 2023 16:07
Code to quickly evaluate the long and time consuming courses evaluation for ITI boot camp
document.querySelectorAll('tr > td > div > input[type="hidden"]').forEach(elm => {
elm.setAttribute('value', '5');
});
document.querySelectorAll('a[title="0"]').forEach(elm => {
elm.setAttribute('title', '5');
});
document.querySelectorAll('.ratingStar').forEach(elm => {
elm.classList.remove('emptyRatingStar');