I hereby claim:
- I am mitarashidango on github.
- I am mitarashi_dango (https://keybase.io/mitarashi_dango) on keybase.
- I have a public key ASBFdPB7ztJefAiZJ0F4w7qGum3zzvjh4lveG0sg7sFF1go
To claim this, I am signing this object:
javascript:window.open("https://shikorism.net/checkin?link="+encodeURIComponent(location.href),"_blank","scrollbars=yes,resizable=yes,width=500,height=360"); |
psql -t -c "SELECT domain FROM accounts WHERE domain <> '' GROUP BY domain ORDER BY domain ASC" "mastodon" | awk '{ sub(/^[ \t]+/, "") }1' |
#!/bin/bash | |
ELASTICSEARCH_DIR=/usr/share/elasticsearch | |
cd $ELASTICSEARCH_DIR | |
systemctl stop elasticsearch | |
PLUGIN_LIST="$(bin/elasticsearch-plugin list -s)" |
time_ago = ENV.fetch('NUM_DAYS') { 7 }.to_i.days.ago | |
MediaAttachment.where.not(remote_url: '').where.not(file_file_name: nil).where('created_at < ?', time_ago).find_each do |media| | |
if Account.where(id: Favourite.select('account_id').where(status_id: media.status_id)).where(domain: nil).count == 0 | |
media.file.destroy | |
media.save | |
end | |
end |
I hereby claim:
To claim this, I am signing this object: