Skip to content

Instantly share code, notes, and snippets.

@ColonelBuendia
ColonelBuendia / firebug-lite-2022.js
Created October 2, 2022 19:52
Using cloudflare instead of get-firebug.com which wont serve it anymore.
javascript:(function(F,i,r,e,b,u,g,L,I,T,E){if(F.getElementById(b))return;E=F[i+'NS']&&F.documentElement.namespaceURI;E=E?F[i+'NS'](E,'script'):F[i]('script');E[r]('id',b);E[r]('src',I+g+T);E[r](b,u);(F[e]('head')[0]||F[e]('body')[0]).appendChild(E);E=new%20Image;E[r]('src',I+L);})(document,'createElement','setAttribute','getElementsByTagName','FirebugLite','4','firebug-lite.js','releases/lite/latest/skin/xp/sprite.png','https://cdnjs.cloudflare.com/ajax/libs/firebug-lite/1.4.0/','#startOpened');
@ColonelBuendia
ColonelBuendia / FindPodcastURL.sh
Created August 27, 2019 20:36
podcast url directly from itunes
seekpod() { curl -sL "https://itunes.apple.com/search?term=$1&media=podcast" | python -m json.tool ; } #podcast search from itunes
seekpod2() { curl -sL "https://itunes.apple.com/search?term=$1&media=podcast" | python -m json.tool | egrep -i "artistName|feedUrl" ; } #podcast search from itunes
@ColonelBuendia
ColonelBuendia / figgy.sh
Created August 27, 2019 20:28
figlet demo all fonts
figgy() {
for i in `find /usr/share/figlet -iname '*.flf' -printf "%f\n"`; do echo "$i"; figlet -f "$i" bob; done
}
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 7.
"Year","Pos"," Pts ","Rider","RiderNation","Bike","bike2","Race 1","Race 2","Race3","Race4","Race5","Race6","Race7","Race8","Race9","Race10","Race11","Race12","Race13","Race14","Race15","Race16","Race17","Race18","Race19"
"2018","1","321","Spain Marc Márquez","Spain","Honda",,"2","18","1","1","1","16","2","1","1","3","2"," C ","2","1","1","1"," Ret ","1"," Ret "
"2018","2","245","Italy Andrea Dovizioso","Italy","Ducati",,"1","6","5"," Ret "," Ret ","2"," Ret ","4","7","1","3"," C ","1","2","2","18","3","6","1"
"2018","3","198","Italy Valentino Rossi","Italy","Yamaha",,"3","19","4","5","3","3","3","5","2","4","6"," C ","7","8","4","4","6","18","13"
"2018","4","193","Spain Maverick Viñales","Spain","Yamaha",,"6","5","2","7","7","8","6","3","3"," Ret ","12"," C ","5","10","3","7","1","4"," Ret "
"2018","5","169","Spain Álex Rins","Spain","Suzuki",,"Ret","3"," Ret "," Ret ","10","5"," Ret ","2"," Ret ","11","8"," C ","4","4","6","3","5","2","2"
"2018","6","158","France Johann Zarco","France","Yamaha",,"8","2","
@ColonelBuendia
ColonelBuendia / pre-ripgrep.md
Last active February 8, 2024 18:56
Ripgrep preprocessing flow to search through: pdf, ebook, and most of the ms office file types for excel, word, and powerpoint.

Ripgrep is a very fast way to search your text based files. The pre flag is a significantly slower way to search a bunch of your other files as well.

The scripts below have been superseded by rgpipe.

TL;DR

Good: rg --pre somescripthere yoursearchtermhere

Better: rg ---pre-glob '*.{comma,seperated,extensions,to,preprocess}' --pre somescripthere yoursearchtermhere

@ColonelBuendia
ColonelBuendia / quix2
Created January 15, 2019 10:31
quix2
> This is a Quix Command File
>
> For the syntax of this file, please refer to https://www.quixapp.com/syntax/
>
@Basic commands
@These are the most basic commands Quix offers, but possibly also the most powerful ones.
a http://www.amazon.com/s/?field-keywords=%s Amazon Search
d http://www.google.com/search?q=define:%s Google Define a word
dict http://www.google.com/dictionary?langpair=en%7Cen&q=%s&hl=en&aq=f Google Dictionary for a word
@ColonelBuendia
ColonelBuendia / animated-weather-icons.markdown
Created December 24, 2018 15:06
Animated Weather Icons
@ColonelBuendia
ColonelBuendia / index.html
Created December 3, 2018 03:58
TinyMCE Basic Example
<textarea>
<p style="text-align: center;">
<img title="TinyMCE Logo" src="//www.tinymce.com/images/glyph-tinymce@2x.png" alt="TinyMCE Logo" width="110" height="97" />
</p>
<h1 style="text-align: center;">Welcome to the TinyMCE editor demo!</h1>
<p>
Please try out the features provided in this basic example.<br>
Note that any <strong>MoxieManager</strong> file and image management functionality in this example is part of our commercial offering – the demo is to show the integration.
@ColonelBuendia
ColonelBuendia / classics.emojicon
Last active October 15, 2018 05:02
[Classic Emojicon] #emojicon
Classics
¯\_(ツ)_/¯
Haters Gonna Hate: ᕕ( ᐛ )ᕗ
¯( ͡° ͜ʖ ͡°)
ಠ_ಠ
**Deal With It Text Emoticons**
(•_•) ( •_•)>⌐■-■ (⌐■_■)
(▀̿Ĺ̯▀̿ ̿)
**WTF Text Emoticons**
☉_☉