Skip to content

Instantly share code, notes, and snippets.

View epower's full-sized avatar

Eamonn Power epower

View GitHub Profile

DRAFT Instance Proposal Template

Premise: this document is intended as a template for proposing new instances - where an instance is generally assumed to be software running on a subdomain of daoine.net Exampes of the kind of software under cosnideration can be found in Delightful Fediverse Apps or Awesome Self Hosted

Nothing here is final, and this document is shared to encourage discussion and provide opportunity for feedback.

The general principle is that more people can do more things under the umbrella of Mastodaoine CLG, provided they are in line with community goals and values. While that's subjective, it can be taken to include:

  • privacy extended to the user
  • a safe environment which is moderated
  • supporting community values, especially in line with how mastodon.ie is operated

This Microservice Should Have Been a Library

About 6 years ago when I was a PHP ecommerce dev, I've always wanted to work with distributed systems and microservices. They seemed so cool and the new way of architecting software systems because all of big tech did it. But now working with them day to day for about 3 years I came to realize that my initial anticipation was stupid. Well, not stupid in the traditional sense, because how could I have known what I'd get myself into.

Microservices and distributed systems have been preached to solve two major problems: Scale and scale.

So let's talk about them.

@P1kachu
P1kachu / installation.sh
Created January 6, 2018 15:10
Installing FFMPEG + FFPYPLAYER + KIVY on Raspberry Pi 3 (Raspbian jessie)
#!/bin/sh
set -x
set -e
# Notes:
# This is how I was able to get a working kivy + ffpyplayer on my Rpi 3 (I can launch a mp4 video, at least)
#
# This script was not ran on a fresh distribution, so details might change.
# It was mainly copied from https://github.com/matham/ffpyplayer/blob/master/.travis.yml#L20
# Other steps required: Increasing the GPU memory (see https://github.com/kivy/kivy/issues/4662)
@a7madgamal
a7madgamal / dark.md
Last active November 24, 2024 16:39
Dark mode for Slack on MacOS
@max-mapper
max-mapper / bibtex.png
Last active November 6, 2024 09:03
How to make a scientific looking PDF from markdown (with bibliography)
bibtex.png
CMDB:
I do not have names on specific commentors. These notes have been re-ordered to make a bit more sense.
We have dynamic environments, with information coming from systems and builds.
Systems need configuration from runtime data based on service discovery and build configuration (IP addresses, versions, etc).
CMDB use contexts:
On call users - The sysadmin who has been paged at 4 am needs to determine context for the page.
Deployment systems - To know where to deploy software, what version(s) to deploy, etc.
Maintenance - Downtimes, escalate, software versions, hardware info...
@mvdbeek
mvdbeek / ansible_maas_dynamic_inventory.py
Created December 16, 2015 10:12
Ansible maas 1.9 inventory
#!/usr/bin/env python
"""
Ubuntu MaaS External Inventory Script for MaaS Tower
====================================================
This script fetches hosts data for Ansible from Ubuntu MaaS, using Tags to identify groups and roles. It is expected
that the script will be copied to Tower within the new Inventory Scripts dialog offered within the interface, where
it will be passed the `--list` argument to invoke the dynamic inventory process.

Ryan Frantz defined monitoring at http://www.ryanfrantz.com/posts/solving-monitoring/ as

Monitoring is the aggregation of health and performance data, events, and relationships delivered via an interface that provides an holistic view of a system's state to better understand and address failure scenarios.


Here's my alternative definition

  • Monitoring is the detection of variation outside the steady state of the business.
@prakhar1989
prakhar1989 / richhickey.md
Last active January 30, 2025 06:39 — forked from stijlist/gist:bb932fb93e22fe6260b2
richhickey.md

Rich Hickey on becoming a better developer

Rich Hickey • 3 years ago

Sorry, I have to disagree with the entire premise here.

A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.

Mastery comes from a combination of at least several of the following:

@stared
stared / software_for_scientists.md
Last active January 24, 2025 23:59
Software for scientists: community-edited list of general-purpose software for scientists.

Software for scientists

Some things takes much less time and stress once you know the right tool. Below, there is a community edited list of software for scientists.

Text editors

in General purpose text/code editors. It may be better to have a good editor for everything, than different ones for different languages, scripts, notes.