Skip to content

Instantly share code, notes, and snippets.

View deepDiverPaul's full-sized avatar
🐰

Paul Spenke deepDiverPaul

🐰
View GitHub Profile
{
"fab fa-zhihu": " Zhihu brands",
"fab fa-youtube-square": " YouTube Square brands",
"fab fa-youtube": " YouTube brands",
"fab fa-yoast": " Yoast brands",
"fas fa-yin-yang": " Yin Yang solid",
"far fa-yin-yang": " Yin Yang regular",
"fal fa-yin-yang": " Yin Yang light",
"fab fa-yin-yang": " Yin Yang duotone",
"fas fa-yen-sign": " Yen Sign solid",
@sethcohn
sethcohn / code.py
Created August 10, 2017 23:46
Quick and dirty fire for neopixels in circuitpython
# not a great one, but it works, and it's tweakable. You'll need to add imports and tweak values
strand = neopixel.NeoPixel(NEOPIXEL, 10, 3, 1, False)
while True:
r = 226
g = 121
b = 35
#Flicker, based on our initial RGB values
for i in range (0, len(strand)):
@riodw
riodw / deploy.php
Last active May 8, 2023 08:54
Deploy to Production Server with git using PHP
<?php
/**
* GIT DEPLOYMENT SCRIPT
*
*/
// The commands
$commands = array(
'echo $PWD',
'whoami',
'git reset --hard HEAD',
@jed
jed / LICENSE.txt
Created May 20, 2011 13:27 — forked from 140bytes/LICENSE.txt
generate random UUIDs
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE