Skip to content

Instantly share code, notes, and snippets.

View boogah's full-sized avatar
😶‍🌫️

Jason Cosper boogah

😶‍🌫️
View GitHub Profile
@boogah
boogah / article.md
Created February 27, 2024 20:14
Tumblr and Wordpress to Sell Users’ Data to Train AI Tools
<?php
/**
* Auto-Update Enabler
*
* Decisions, not options. Inspired by Trac ticket #58389 by
* Jos Velasco and an offhanded comment on the fedi by Andy
* Fragen.
*
* @package Auto-Update Enabler
* @author Jason Cosper <boogah@gmail.com>

Installing h2load on Your Dev Machine

Included are the steps for macOS and Ubuntu/Debian. I didn't do Windows because I don't have or use Windows. 😕

@boogah
boogah / hushup.output.txt
Created December 21, 2023 01:57
Output from a python script (hushup.py) that I'm working on
$ python3 hushup.py
+------------------------------+-------+--------+-------+
| User | Toots | Boosts | Total |
+------------------------------+-------+--------+-------+
| halcy@icosahedron.website | 10 | 20 | 30 |
| liaizon@wake.st | 11 | 11 | 22 |
| boogah@simian.rodeo | 10 | 9 | 19 |
| skinnylatte@hachyderm.io | 6 | 10 | 16 |
| neauoire@merveilles.town | 12 | 4 | 16 |
| bnys@lasersword.club | 1 | 13 | 14 |
@boogah
boogah / .htaccess
Created February 16, 2012 04:59
Expire headers .htaccess code.
<IfModule mod_expires.c>
ExpiresActive on
# Perhaps better to whitelist expires rules? Perhaps.
ExpiresDefault "access plus 1 month"
# Data
ExpiresByType text/xml "access plus 0 seconds"
ExpiresByType application/xml "access plus 0 seconds"
ExpiresByType application/json "access plus 0 seconds"
@boogah
boogah / hipsum_neat.csv
Last active June 29, 2023 20:20
A full dump of hipster centric words courtesy of the http://hipsum.co database. Build fun shit with this!
131 +1
79 3 wolf moon
65 8-bit
200 90's
214 actually
127 aesthetic
70 American Apparel
130 art party
112 artisan
224 asymmetrical
@boogah
boogah / WP_Bag_of_Tricks.txt
Created April 30, 2010 00:51
Things I've learned by being a WordPress nerd.
WP Bag of Tricks
1. Helpful Scripts/Plugins:
Hacks:
http://wordpress.org/extend/plugins/tac/
http://wordpress.org/extend/plugins/exploit-scanner/ (Can be extremely resource intensive.)
http://wordpress.org/extend/plugins/wp-malwatch/
<?xml version="1.0" encoding="UTF-8"?>
<!-- OPML generated by NetNewsWire -->
<opml version="1.1">
<head>
<title>Subscriptions-Miniflux.opml</title>
</head>
<body>
<outline text="All" title="All">
<outline text="A List Apart" title="A List Apart" description="" type="rss" version="RSS" htmlUrl="https://alistapart.com/" xmlUrl="https://alistapart.com/main/feed/"/>
<outline text="A Whole Lotta Nothing" title="A Whole Lotta Nothing" description="" type="rss" version="RSS" htmlUrl="https://a.wholelottanothing.org/" xmlUrl="https://a.wholelottanothing.org/feed/"/>
@boogah
boogah / mastodon-dm-custom-css-dark.css
Created November 21, 2022 19:31
Make your Mastodon direct messages stand out. Taken from https://waferbaby.com/@d/109380422160162695
.status.status-direct {
background-color: #252525 !important;
padding: 40px;
}
@boogah
boogah / command
Created September 10, 2012 17:53
Get rid of duplicate applications in OS X's "Open With..." menu.
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/\LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local\ -domain system -domain user