Skip to content

Instantly share code, notes, and snippets.

View adryd325's full-sized avatar
Looking for work

adryd adryd325

Looking for work
View GitHub Profile
@adryd325
adryd325 / shutupbbcolab.user.js
Created September 23, 2021 23:45
shut up bbcolab
// ==UserScript==
// @name stfu bbcolab
// @namespace http://tampermonkey.net/
// @version 0.0.1
// @description Stupid hacky way to disable the bbcolab chat sound
// @author adryd <[email protected]>
// @match https://ca.bbcollab.com/collab/ui
// @icon https://ca.bbcollab.com/favicon.ico
// @grant none
// ==/UserScript==
<!-- Heavily borrowed from https://tiff.herokuapp.com/ -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Font Diff</title>
</head>
<body>
@adryd325
adryd325 / robbyrussell.bash-theme
Last active January 19, 2023 22:39 — forked from hamidne/robbyrussell.bash-theme
bash robbyrussell theme
prompt_exitcode() {
[[ $exitCode -eq 0 ]] && prompt+="\[\e[1;32m\]" && return
prompt+="\[\e[1;31m\]"
}
prompt_git() {
branch=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
if [[ -n "$branch" ]]; then
status="$(git status 2>&1 | tee)"
bits=""
/*
* topBarGuildsList.css
* by Adryd
*
* Made this one night out of boredom
* inspired by: https://twitter.com/Ionghorn/status/1276213662575923201?s=21
*
* I can't care less to remove the namespacing stuff, when it breaks, it breaks.
* It's cursed as heck and the scrolling direction is out of whack.
* Could've fucked with it longer and gotten flex-direction working but oh well.
<!-- You don't need this anymore -->
<!-- Paste this below the light/dark mode switcher in the account dropdown to enable new twitter layout -->
<li role="presentation">
<button type="button" class="dropdown-link enable-rweb-link" role="menuitem">Try the new Twitter</button>
</li>
<!-- Revised automatic version -->
<script>
let btn = document.createElement('span')
btn.innerHTML = '<li role="presentation"><button type="button" class="dropdown-link enable-rweb-link" role="menuitem">Test</button></li>'