Skip to content

Instantly share code, notes, and snippets.

View hellquist's full-sized avatar

Mathias Hellquist hellquist

View GitHub Profile
@jenniferplusplus
jenniferplusplus / fedi.md
Last active November 8, 2024 22:13
More than mastodon

The fediverse is made by and for the people who use it. This is a not-comprehensive and lightly opinionated list of actively maintained, multi-user ActivityPub/fediverse software, and you can help.

Microblogging

Microblogs, mostly excluding forks of more active projects

Project Language Repo In development since
Letterbook C# https://github.com/Letterbook/Letterbook June, 2023
Emissary Golang https://github.com/EmissarySocial/emissary April, 2020?
@adactio
adactio / postToMastodon.php
Last active December 22, 2022 16:27
A PHP function that posts an update to Mastodon
<?php
/*
Pass in an array of data with keys for `status`
e.g.
postToMastodon(array(
'status' => 'Hello, world!'
));
Include `reply_url` if you're responding to a post
@samnabi
samnabi / cart.php
Created June 12, 2015 01:05
Kyle Bean's paypal plugin
<?php
function get_cart() {
s::start();
$cart = s::get('cart', array());
return $cart;
}
function cart_logic($cart) {
if (isset($_REQUEST['action'])) {
@razwan
razwan / _baseline.scss
Created April 14, 2014 16:20
Aligning type to baseline the right way with SASS
$base-font-size: 16px;
$base-line-height: 1.5;
// this value may vary for each font
// unitless value relative to 1em
$cap-height: 0.68;
@mixin baseline($font-size, $scale: 2) {
@ramv
ramv / kirby.conf
Created March 6, 2014 23:49
Kirby NGINX configuration
##############################
## Kirby configuration
##############################
location /kirby/ {
include /etc/nginx/mime.types;
index index.php;
root /var/www/addons88/;
if (!-e $request_filename){
@JamieMason
JamieMason / unfollow.js.md
Last active November 5, 2024 21:42
Unfollow everyone on twitter.com

Unfollow everyone on twitter.com

  1. Go to https://twitter.com/YOUR_USER_NAME/following
  2. Open the Developer Console. (COMMAND+ALT+I on Mac)
  3. Paste this into the Developer Console and run it
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
// https://gist.github.com/JamieMason/7580315
//