Skip to content

Instantly share code, notes, and snippets.

View edvm's full-sized avatar
:shipit:
Software For Proceses

edvm edvm

:shipit:
Software For Proceses
View GitHub Profile
@edvm
edvm / cjdns.sh
Created August 27, 2018 19:12 — forked from redraw/cjdns.sh
cjdns installer
#!/bin/bash
echo "installing..."
git clone https://github.com/cjdelisle/cjdns.git cjdns
cd cjdns/
./do
(umask 077 && ./cjdroute --genconf > cjdroute.conf)
sudo cp cjdroute /usr/bin
sudo cp cjdroute.conf /etc/
sudo wget https://raw.githubusercontent.com/cjdelisle/cjdns/master/contrib/systemd/cjdns.service -P /etc/systemd/system/
@edvm
edvm / gist:5b5cfabf9640fe0519a789d5722ed01f
Created December 3, 2020 18:35
Export all published wordpress posts with hero - featured images:
SELECT
display_name,
p1.*,
wm2.meta_value
FROM
wp_posts p1
LEFT JOIN
wp_users ON
wordpress.wp_users.ID=p1.post_author