I hereby claim:
- I am romariolopezc on github.
- I am rlopez (https://keybase.io/rlopez) on keybase.
- I have a public key whose fingerprint is 63BF 46F1 0CE2 AB45 5CA8 002C CEB1 5B51 3101 0611
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
set imap_user="mail.vpal@gmail.com" | |
set imap_pass=`/usr/bin/security find-generic-password -w -a 'mail.vpal@gmail.com' -s 'Gmail'` | |
set folder=imaps://imap.gmail.com/ | |
set spoolfile=+INBOX | |
set record="+[Gmail]/Sent Mail" | |
set postponed="+[Gmail]/Drafts" | |
# https://www.neomutt.org/guide/reference search sleep_time for additional info | |
set sleep_time=0 # be faster |
#!/bin/bash | |
set -e | |
CURRENT_NAME="Zauberantrag" | |
CURRENT_OTP="zauberantrag" | |
NEW_NAME="Wunderantrag" | |
NEW_OTP="wunderantrag" |
Sinks are for output, sources are for input. To stream source to sink a loopback must be created. More shall you find there.
Our output sink will be named recording
.
pacmd load-module module-null-sink sink_name=recording sink_properties=device.description=recording
defmodule MyApp.Release do | |
# Log SQL commands generated by migrations. | |
# More info here https://hexdocs.pm/ecto_sql/Ecto.Migrator.html#up/4-options | |
@migrator_default_opts [log_migrations_sql: :info] | |
... | |
def migrate(opts \\ [all: true]) do | |
load_app() | |
opts = @migrator_default_opts ++ opts |
defmodule SimpleS3Upload do | |
@moduledoc """ | |
Dependency-free S3 Form Upload using HTTP POST sigv4 | |
https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-post-example.html | |
""" | |
@doc """ | |
Signs a form upload. | |
The configuration is a map which must contain the following keys: | |
* `:region` - The AWS region, such as "us-east-1" |
{ | |
"input": { | |
"blocklist": [], | |
"compressor#0": { | |
"attack": 5.0, | |
"boost-amount": 6.0, | |
"boost-threshold": -72.0, | |
"bypass": false, | |
"dry": -100.0, | |
"hpf-frequency": 10.0, |
# Convert .HEIC to .jpeg (for iphone/mac users) | |
# TODO: also heic (downcase) | |
for file in *.HEIC; do | |
sips -s format jpeg "$file" --out "${file%.HEIC}.jpeg" | |
mv -v "$file.json" "${file%.HEIC}.jpeg.json" | |
rm $file | |
done | |
exiftool -d "%s" -tagsfromfile %d%f.%e.json "-DateTimeOriginal<PhotoTakenTimeTimestamp" "-FileCreateDate<PhotoTakenTimeTimestamp" "-FileModifyDate<PhotoTakenTimeTimestamp" -overwrite_original -ext jpg -ext jpeg -ext mp4 -ext mov -r . |