Skip to content

Instantly share code, notes, and snippets.

I wonder what this button does…

Ben Peachey Potherca

I wonder what this button does…
View GitHub Profile
Potherca /
Last active March 15, 2023 09:37
Bookmarklet for Pinguin Radio

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


Screenshot at 2023-03-15


Screenshot at 2023-03-15

MadaraUchiha / github-markdown-linkify.user.js
Created June 10, 2020 13:40
Add mentions to markdown in GitHub
View github-markdown-linkify.user.js
// ==UserScript==
// @name Linkify Markdown Mentions -
// @namespace Violentmonkey Scripts
// @match*
// @grant none
// @version 1.0
// @author Madara Uchiha
// @description 6/10/2020, 4:29:55 PM
// ==/UserScript==
Potherca /
Last active February 9, 2023 12:06
Amount of pulls from docker hub for each of the gitlab pipeline-components.

This page shows the amount of pulls each one of the Gitlab Pipeline-Components have received thus far.

Total pulls: 9.70

(List sorting and total updated Februari 2023)


mjrider / releaser
Created January 27, 2019 18:58
quick'n'dirty tag next release script
View releaser
# ==============================================================================
# MIT License
# Copyright (c) 2019 Robbert Müller
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
marulitua /
Last active October 22, 2021 16:08
Instal php5.6 with phpbrew on ubuntu 18.04
# Instal php5.6 with phpbrew on ubuntu 18.04
# Install all dependencies
sudo apt update
sudo apt install wget php build-essential libxml2-dev libxslt1-dev libbz2-dev libcurl4-openssl-dev libmcrypt-dev libreadline-dev libssl-dev autoconf
chmod +x phpbrew
mv phpbrew /usr/local/bin
KavenTheriault /
Last active August 21, 2018 07:24 — forked from wojteklu/
Summary of 'Clean code' by Robert C. Martin

What is Clean Code

  • elegant and efficient
  • does one thing well
  • can easily be read, and enhanced by a developer other than its original author
  • meaningful names
  • minimal dependencies
  • has unit and acceptance tests
  • clean code always looks like it was written by someone who cares
  • nothing obvious that you can do to make it better
  • no duplication
dikiaap /
Last active August 7, 2022 11:14 custom URL

Update: As of 11 January 2022, no longer accepts new URLs.


curl -i -F "url=" -F "code=YOUR_CUSTOM_NAME"

URLs that can be created is from:

  • https://*
oneilsh /
Last active July 21, 2022 21:16
Openprocessing Links
mlinhard /
Last active July 2, 2022 06:50
Shell script to find docker image descendants
parent_id=`docker inspect --format '{{.Id}}' $1`
get_kids() {
local parent_id=$1
docker inspect --format='ID {{.Id}} PAR {{.Parent}}' $(docker images -a -q) | grep "PAR ${parent_id}" | sed -E "s/ID ([^ ]*) PAR ([^ ]*)/\1/g"
print_kids() {
hikari-no-yume / example.php
Created March 20, 2017 20:02
function chaining for PHP 7
View example.php
<?php declare(strict_types=1);
require_once "✨.🐘";