Skip to content

Instantly share code, notes, and snippets.

View octoshrimpy's full-sized avatar
🐙

octoshrimpy octoshrimpy

🐙
View GitHub Profile
@octoshrimpy
octoshrimpy / gh__ever-ween.css
Created November 1, 2022 05:54
permanent halloween colors on github graphs
:root {
--color-calendar-halloween-graph-day-L1-bg: #631c03;
--color-calendar-halloween-graph-day-L2-bg: #bd561d;
--color-calendar-halloween-graph-day-L3-bg: #fa7a18;
--color-calendar-halloween-graph-day-L4-bg: #fddf68;
}
/* original data-holiday tag */
/* .ContributionCalendar[data-holiday=halloween] .ContributionCalendar-day[data-level="1"] { */
.ContributionCalendar-day[data-level="1"] {
/* https://github.com/josephg/noisejs
* A speed-improved perlin and simplex noise algorithms for 2D.
*
* Based on example code by Stefan Gustavson ([email protected]).
* Optimisations by Peter Eastman ([email protected]).
* Better rank ordering method by Stefan Gustavson in 2012.
* Converted to Javascript by Joseph Gentle.
*
* Version 2012-03-09
*
@octoshrimpy
octoshrimpy / reccs.md
Last active August 2, 2022 16:08
octo's linux app recommendations

Octo's linux app recommendations

Development

  • ※ yakuake - dropdown terminal (QUAKE-style) with lots of cool settings
  • ※ vscodium - open source version of vscode without microsoft telemetry
  • notepadQQ - notepad++ alternative
  • gitkraken - git client for repo management
  • ※ astro neovim - really good neovim config
  • NvChad - neovim config
@octoshrimpy
octoshrimpy / _lib.scss
Last active August 8, 2022 23:24
octo's scss lib, included in most of his projects
// to include in your own project, download and @use the file.
// keep the underscore at the beginning of the file name
// read more about that here: https://sass-lang.com/documentation/at-rules/use#partials
// or
// @use 'https://gist.githubusercontent.com/octoshrimpy/b062bbfacbb290b77949f0c26ba8bd81/raw/_lib.scss' as lib
//
// component {
// @include lib.animate;
// box-shadow: lib.$shadow-3;
// }
@octoshrimpy
octoshrimpy / yoinker.js
Last active June 10, 2022 21:53
yoinks emotes from electronJS applications
/**
* @name yoinker
* @author octoshrimpy
* @authorId 133721498421559296
* @version 0.0.1
* @description yoinks emotes from others, use with yent's emoteReplacer
*/
// @todo add setting to auto-grab emotes as they appear
// @todo check if emote exists already (url, name, image comparison?)
@octoshrimpy
octoshrimpy / settings.json
Last active July 14, 2022 23:11
highlight vscode
"highlight.regexes": {
// [ ]
// @todo this is a test
// TODO
// [ ] +octoshrimpy test
"((?:^[^\\w\\[])*)(\\[\\s]|@todo|TODO)((?:(?:\\s(\\+[^\\s\\W]+))+)?)": {
"filterFileRegex": ".*(?<!CHANGELOG.md)$",
"decorations": [
{},
@octoshrimpy
octoshrimpy / settings.json
Created May 25, 2022 22:56
todo-tree vscode settings
"todo-tree.general.statusBar": "tags",
"todo-tree.general.tagGroups": {
"[ ]": ["@todo", "TODO"],
"[o]": ["@doing", "DOING"],
"[?]": ["@think", "THINK"],
"[@]": ["@bug", "BUG"],
"[>]": ["@hack", "HACK"],
"[!]": ["@fixme", "FIXME"],
@octoshrimpy
octoshrimpy / self-edit.html
Last active July 27, 2022 03:45
self-editing html file using browser's fileAPI
<button id="open">open & edit file</button>
<textarea id="code"></textarea>
<button id="save">save file and reload</button>
<script>
// ==================
// any js below is needed for it to work.
@octoshrimpy
octoshrimpy / joe.json.bak
Last active September 2, 2021 17:16
phatstack
{
"name": "joe's machine",
"ip": "192.168.99.199",
"user": "monitor",
"req": {
"ip": "for /f \"tokens=4 delims= \" %i in ('route print ^| find \" 0.0.0.0\"') do @echo %i",
"mac": "for /F \"tokens=2 delims=:\" %i in ('ipconfig /all ^| find \"Physical \"') do @echo %i"
},
"cmds": {
}
@octoshrimpy
octoshrimpy / Octo's term guide
Last active June 1, 2025 04:12
Octo's term guide
#!/usr/bin/env sh
# Octo's terminal utility installer
# Description: Creates a help utility and installs it to /usr/local/bin/guide
set -eu # Exit on error or unset vars
# Require sudo/root privileges
if [ "$(id -u)" -ne 0 ]; then
exec sudo "$0" "$@"
fi