| --- | |
| # Written by Kian Kasad <kian@kasad.com>. | |
| # See https://clang.llvm.org/docs/ClangFormatStyleOptions.html. | |
| # Requires clang-format >=20.x.x. | |
| Language: C | |
| AlignAfterOpenBracket: Align | |
| AlignArrayOfStructures: None | |
| AlignConsecutiveAssignments: None |
| (R) | |
| abortion | |
| abortions | |
| abused | |
| accountability | |
| AGI | |
| alarm | |
| alarming | |
| America | |
| angry |
| """ | |
| This module verifies that 1260 is the highest possible order of an element in the 3x3 Rubik's cube group. | |
| This is only an upper bound but it turns out that it can also be achieved, so this estimate is precise. | |
| The approach is loosely based on the answer by 'jmerry' at https://math.stackexchange.com/questions/2392906/ | |
| """ | |
| from functools import lru_cache | |
| import math | |
| #!/bin/bash | |
| while curl -sS "https://bruins.admission.ucla.edu/myApplication/Status.aspx" | tac | grep -q 'currently unavailable' | |
| do | |
| sleep 10 | |
| done | |
| while true; | |
| do | |
| echo 'AVAILABLE!!' | |
| echo $'\a' | |
| sleep 3 |
| // ==UserScript== | |
| // @name @chaoticvibing Twitter Blue Nerd - twitter.com | |
| // @namespace Violentmonkey Scripts | |
| // @match *://*.twitter.com/* | |
| // @match *://*.x.com/* | |
| // @grant none | |
| // @version 1.9.2 | |
| // @author @chaoticvibing - GH @busybox11 | |
| // @description 11/9/2022, 11:45:28 PM | |
| // @updateURL https://gist.githubusercontent.com/busybox11/53c76f57a577a47a19fab649a76f18e3/raw |
This gist was partially inspired by this blog about Next.js Vercel CI with GitHub actions.
An easy way to deploy and host websites for free is to use GitHub pages. If you've deployed a Next.js project to GitHub pages, you may have used a GitHub action similar to this in the past to automatically redeploy the site when a new commit is pushed:
# gh-pages-merge.yml
name: Deploy to gh-pages on merge
on:
push:| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <link rel="icon" type="image/x-icon" href="/favicon.ico"> | |
| <title>Rebane's Discord Colored Text Generator</title> | |
| <meta charset="UTF-8"> | |
| <meta name="description" content="Rebane's Discord Colored Text Generator"> | |
| <meta name="author" content="rebane2001"> | |
| <style> | |
| /* |
As often happens, I found the official documentation and forum answers to be "close, but no cigar", and so had to experiment a little to get things working.
The main problem for me was a lack of concrete configuration examples. That's not entirely GitHub's fault: having migrated from Google Domains to Namecheap in the middle of this project, I was once again reminded of how many different ways there are to do things in the name service universe [1].
Although you'd think the simplest setup would be to merely configure for the subdomain case (https://www.example.com), in my experience using the apex domain (https://example.com) instead resulted in fewer complications.
So here's my recipe for using a custom domain with GitHub pages where Namecheap is the DNS provider:
| /** | |
| * !!!! This code doesn't work anymore !!!! | |
| * | |
| * - You can check working code on comments. I won't update this code anymore. | |
| * | |
| * Also, I just decided to remove this code. You can check revisions for old code. | |
| * Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore. | |
| * I don't want people keep arguing in the comments, i decided to remove this code. | |
| * | |
| * Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything. |