This has been moved to https://github.com/agnostic-apollo/Android-Docs/blob/master/en/docs/apps/processes/phantom-cached-and-empty-processes.md
Some important headings are kept so that users can redirect to new link if they land here.
#!/bin/bash | |
# This generates lore-friendly message-id headers that are safe, unique, and | |
# provide better UX for someone using lore to retrieve messages. | |
# | |
# Instructions for using with mutt/neomutt: | |
# | |
# Save this as ~/bin/my-gen-msgid, then add ~/.mutt-fix-msgid with the following, | |
# fixing your path to the file: | |
# | |
# my_hdr Message-ID: <`/home/user/bin/my-gen-msgid`> |
#!/usr/bin/env python3 | |
"""Obtain a Facebook Access Token | |
From: https://github.com/dequis/purple-facebook/issues/445#issuecomment-967542766 | |
Changes: | |
- Ported to Python3 | |
- Auto generate the MACHINE_ID UUID | |
- Can set EMAIL from environment variable |
#include <unistd.h> | |
#include <string> | |
#include <cinttypes> | |
#include <android/log.h> | |
#include <sys/system_properties.h> | |
using namespace std; | |
extern "C" { |
# Adapted from https://github.com/bennofs/nix-index/blob/master/command-not-found.sh | |
command_not_found_handle () { | |
if [ -n "${MC_SID-}" ] || ! [ -t 1 ]; then | |
>&2 echo "$1: command not found" | |
return 127 | |
fi | |
echo -n "searching nix-index..." | |
ATTRS=$(@nix-locate@ --minimal --no-group --type x --type s --top-level --whole-name --at-root "/bin/$1") |
This has been moved to https://github.com/agnostic-apollo/Android-Docs/blob/master/en/docs/apps/processes/phantom-cached-and-empty-processes.md
Some important headings are kept so that users can redirect to new link if they land here.
#!/usr/bin/env bash | |
ffmepg -i "${1}" -ab 320k -map_metadata 0 -id3v2_version 3 "${2}" | |
kid3-cli -c 'fromtag "%{artist} - %{album} - %{track}. %{title}" 2' "${2}" |
package com.marsathletic.android.macfit.app.base | |
import android.security.keystore.KeyGenParameterSpec | |
import android.security.keystore.KeyProperties | |
import android.util.Base64 | |
import java.io.IOException | |
import java.nio.charset.StandardCharsets | |
import java.security.* | |
import java.security.cert.CertificateException | |
import javax.crypto.* |
Action that uses curl
to send your webmentions. It gets the most recent addition to a JSON feed (ideally, your latest post), looks for the value of a key called uri
(ideally, your post's permalink) and sends webmentions for it.
The services currently in the file are webmention.app and brid.gy, but any service that can be triggered with a POST request will work fine with this.
This workflow file is run once another GitHub Action named "Build" completes successfully.
## TL;DR | |
setopt extendedglob | |
ls *(<tab> # to get help regarding globbing | |
rm ../debianpackage(.) # remove files only | |
ls -d *(/) # list directories only | |
ls /etc/*(@) # list symlinks only | |
ls -l *.(png|jpg|gif) # list pictures only | |
ls *(*) # list executables only | |
ls /etc/**/zsh # which directories contain 'zsh'? |
git clone [email protected]:Robertof/nixos-docker-sd-image-builder.git
cd nixos-docker-sd-image-builder
/config/rpi4/default.nix
to increase size of boot partition
sdImage.firmwareSize = 1024;
/config/sd-image.nix
./rpi3
becomes ./rpi4