Skip to content

Instantly share code, notes, and snippets.

@atrull
atrull / gist:22fd4eef2686a6e3511fb9c89b3a0a7f
Last active April 14, 2026 20:03
Helping a friend with English
In my point of view it should depend on the family. On the one hand if a grandmother's family want to look after her themselves and give their time, they will decide where to send the old person and pay some money.
First of all parents are people who have been living with you all your life. However, you can't always help them when they will need it.
For example: my father wants a cup of water and I am not nearby to help him. Who can help him? I actually can pay for that home where nurse can help him and he will not have any problems.
I do not think that goverment has to spend money on this, only if an old person's family can not pay for these services. So, i think that you need to pay for these houses if you can not spend time with yours old parents.
Generally, if you can help your mother when she is old it is great decision because you can pay attention in the last great moments with these people. Also it could be worst time in your life if you will see how she died in front of you because it could be p
##
## Complete end to end mTLS in Cloudflare with a Vault-based CA.. and signing client certs with that
##
# This assumes you have a CA already setup in vault - I recommend a root and an intermediate
#
# We assume that you have an existing vault state that incorporates these outputs like these:
# output "prod_ca_cert" {
# value = "${vault_pki_secret_backend_root_sign_intermediate.intermediate.certificate}\n${tls_self_signed_cert.root_ca.cert_pem}"
# }
# output "prod_ca_int_path" {
# Read more about setting it up
# https://medium.com/@ljmocic/make-telegram-bot-for-notifying-about-new-rss-feed-items-4cfbcc37f4fd
from datetime import timedelta, datetime
from dateutil import parser
from pprint import pprint
from time import sleep
import requests
import feedparser
@atrull
atrull / flac2mp3
Last active June 4, 2020 10:12
A little utility to turn directories of flacs into mp3s, ideal for phones and other limited storage devices
#!/bin/bash
# a little utility to turn flacs into mp3s - helpful for getting more music on phones etc
# run this in the top level of directories you want to convert content to
# this does files AND directories and removes the flacs too - remove the "rm" if you don't want that function
# by alex (ataroba) trull (dottydotness) org
# turn all the flacs into v0 mp3s and deletes the flac files
# requires the ffmpeg utility
find . -type f -name "*.flac" -execdir sh -c 'ffmpeg -i "$1" -aq 0 -c:a libmp3lame -q:a 0 -map_metadata 0 "${1%.flac}.mp3" && rm "$1"' Cvt {} \;
foo fooo fooooo
a little test contents
@atrull
atrull / elite dangerous rare run notes
Last active August 29, 2015 14:12
elite dangerous rare run notes
rare run: from rares clustered to rares clustered in two runs each way - with a cobra mk3 and about 24-28 cargo slots.
based on clusters seen in this : https://www.elitedangeroustrader.co.uk/rares-systems-3d-map/
and a mid-point route from : https://cmdr.club/routes/
we need a cluster of rares to fill the ship
we need 150K or so LY between the clusters of rares.

Keybase proof

I hereby claim:

  • I am atrull on github.
  • I am atrull (https://keybase.io/atrull) on keybase.
  • I have a public key whose fingerprint is 4104 BB9C A39E 1250 8BF2 28E5 7B2E 26EB F796 C534

To claim this, I am signing this object:

* ITSM / Ticketing - ServiceNow
* AAA Directory - AD/K5
* Rights Mngt. on the box
* Build Servers - Jenkins
* Test Frameworks - Unit etc.
* Monitoring / Full Stack etc. - New Relic, CA etc.
* 3rd Party DC API’s - e.g. HP, Centurylink
* Network topology designs - Multiple Firewall layers / Proxy etc.
* Storage Layer and Distributed Filesystems
* Physical/Virtual/Cloud