Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Working, working, working...

Ben Peachey Potherca

👨‍💻
Working, working, working...
View GitHub Profile
@Potherca
Potherca / README.md
Last active Feb 18, 2021
All MaterialDesign sprites/icons available in PlantUML
View README.md
@Potherca
Potherca / dabblet.css
Last active Jan 23, 2021
Pure HTML/CSS BASH logo
View dabblet.css
/**
* Pure HTML/CSS BASH logo
*/
@import url('-https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500&display=swap');
html {
transform: scale(0.5)
}
body {
@Potherca
Potherca / README.md
Last active Mar 26, 2021
Bookmarklet for Pinguin Radio
View README.md

This gist contains JS code that can be used as a bookmarktlet to change the new (awesome!) Pinguin Radio website to only display the audo player.

Before

Screenshot at 2020-12-15 15-18-44

After

Screenshot at 2020-12-15 15-18-58

View README.md
@Potherca
Potherca / index.html
Created Nov 24, 2020
Warner Bros Cartoons Opening Titles
View index.html
<base href="https://www.closinglogos.com/page/Looney_Tunes_IDs">
<h1>Warner Bros Cartoons Opening Titles</h1>
<h2><span>1st Logo</span><span>1930</span></h2>
<img src="/images/c/ca/D8GRkegIVUr5QRLPz68zug13084.jpeg"/>
<img src="/images/1/17/2534c53da7f68f8e0fe3cd03f26d3c90.jpeg"/>
<img src="/images/0/02/VwNAulJwe0fGIPCqGZbbnQ68032.png"/>
<img src="/images/3/31/0add3a153d3a8fa36c54915c89b6274a.png"/>
@Potherca
Potherca / implementation-checklist.md
Last active Mar 17, 2021
Plan of Attack / Work Breakdown Checklist
View implementation-checklist.md

Plan of Attack / Work Breakdown Checklist

Before starting work on a ticket, ask yourself the following questions:

  1. Who will benefit by the implementation of the ticket?
    The end user? Other developers? Other systems?

  2. What do you need to edit in the code to implement the ticket?
    Which classes or components need to be touched?

@Potherca
Potherca / compile-lynx-wasm.sh
Last active Dec 15, 2020
Steps to compile the Lynx web browser to Web Assembly
View compile-lynx-wasm.sh
# Sources used in figuring this out:
#
# - https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm
# - https://emscripten.org/docs/compiling/Building-Projects.html#building-projects
# Set up Emscripten SDK
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk/
./emsdk install latest
./emsdk activate latest
View hello3.c
#include <stdio.h>
#include <emscripten/emscripten.h>
int main(int argc, char ** argv) {
printf("Hello World\n");
}
#ifdef __cplusplus
extern "C" {
#endif
View ds.sh
#!/usr/bin/env bash
ds() {
is_command() {
[[ -x "$("${command}" -v "$1" 2> /dev/null)" ]] && return 0
return 1
}
is_command 'dos2unix' || { echo 'dos2unix is required'; exit 1; }
@Potherca
Potherca / README.md
Last active Dec 7, 2020
LinkedIn Profile revision strategy
View README.md