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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//REQUIREMENTS! | |
//"phpseclib/phpseclib": "^3.0" | |
//"lcobucci/jwt": "^5.0" | |
require_once __DIR__ . '/vendor/autoload.php'; | |
$json = '{ | |
"keys": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// User agents handled by Prerender | |
const BOT_AGENTS = [ | |
"googlebot", | |
"yahoo! slurp", | |
"bingbot", | |
"yandex", | |
"baiduspider", | |
"facebookexternalhit", | |
"twitterbot", | |
"rogerbot", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Linkify Markdown Mentions - github.com | |
// @namespace Violentmonkey Scripts | |
// @match https://github.com/* | |
// @grant none | |
// @version 1.0 | |
// @author Madara Uchiha | |
// @description 6/10/2020, 4:29:55 PM | |
// ==/UserScript== |
This page shows the amount of pulls each one of the Gitlab Pipeline-Components have received thus far.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ============================================================================== | |
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 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 | |
wget https://github.com/phpbrew/phpbrew/raw/master/phpbrew | |
chmod +x phpbrew | |
mv phpbrew /usr/local/bin |
- 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
Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
The p5js.org website is a great resource. The basic documentation gives examples of all of the built-in functions: https://p5js.org/reference/
The examples section shows in-code examples of many cool concepts: https://p5js.org/examples/
The "learn" section provides some tutorials, but they still have a way to go: https://p5js.org/learn/
NewerOlder