Pi without a monitor tips.

Download Raspbian latest, unzip or otherwise extract it. It’s possible to pipe the dd command through scripts that can show you a progress bar, in my experience this causes it to take a LOT longer, so not really worth it in my opinion.

Open a terminal

diskutil list

Which disk is the sd card?

sudo diskutil unmountDisk /dev/disk#

Then copy the file, upon completion your mac will say “finished”…Pro Tip on a mac… Type sudo dd bs=1m if= and then open finder and drag the .img file to the terminal so you don’t have to use effort.

After the if (input file) space, of=dev/rdisk#

add a ;, and then add “say finished” so it will let you know when it’s done, or if/when it errors out.

sudo dd bs=1m if=~/path/to/raspbian.img of=/dev/rdisk#; say finished

Once that’s finished…

Open the /boot directory
edit config.txt
append dtoverlay=dwc2

open terminal, cd /Volumes/boot

touch ssh

Edit cmdline.txt.
After the “rootwait” text, insert modules-load=dwc2,g_ether

Now you will probably want to set up internet connection sharing.
On OS X
Go so system preferences, sharing, click internet sharing (not the tick box) select the tick box for RNDIS, then select the tick box for Internet sharing, it will ask you if your sure, use your best judgement.

Now, you can plug your USB cable into the USB (Closer to the middle, not charging port) of the Pi, and it should boot and you will be able to access it without a monitor via ssh.

You will probably also want to enable internet sharing from your computer to allow the pi to access internet.

Updated 10.1.2017
-Added download instructions and additional info for writing the SD card from a Mac.

maps revision 2

Just a bunch of cool interactive maps.

(Network) Attack Maps
Live Flight map
Weather 
Wind map
https://earth.nullschool.net/
Another visually cooler wind/weather map www.windytv.com
Radio Garden Map
FM/AM Radio not a map – This isn’t a map, but it does have lots of AM/FM stations
War map
conflictmap.org/ – recent and ongoing conflicts
Toxic Sites Map
US Hate Map (racist groups)
Origin Map (ancestry)(non interactive, but interesting)
Link
People on the internet
Isis Terrorist Group
Map of Police militarization in the US

Centos 7 LEMP superfast

This is just a quick setup guide for getting nGinx, PHP, and MySql running on a server already running Centos, this is for people who are comfortable installing software on Centos and want to get this running as quickly as possible. If you have trouble or see any errors, please leave a comment, over time I will try to expand on and update this article.

Install prerequisites (one line)
sudo yum install epel-release -y; 
sudo yum update -y; sudo yum upgrade -y; sudo yum  install php5-fpm mariadb-server mariadb php5-mysql nginx php php-mysql php-fpm -y

Configure Mysql (interactive)
sudo mysql_secure_installation
(press enter because there isn’t a root password yet)
(set a new password and press enter)
Delete demo tables and flush, mash the enter key ~2-3 times.

Configure PHP
sudo nano /etc/php.ini
Press CTRL+W for search, type cgi.fix_pathinfo
Uncomment it and change it from 1 to 0.
cgi.fix_pathinfo=0
CTRL+X, then enter, to save/close

sudo nano /etc/php-fpm.d/www.conf
CTRL+W (for search) listen =
Change the line to
listen = /var/run/php-fpm/php-fpm.sock
CTRL+W (for search) 
listen.owner
Change the two lines that says listen.owner and listen.group to to nobody
listen.owner = nobody
listen.group = nobody
CTRL+W (for search)  user =
Change the lines “user” and “group” to
user = nginx
group = nginx
CTRL+X, then enter, to save/close

Setup NginX (backup the original config and make a new one)

sudo mv /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf.bak
sudo vi /etc/nginx/conf.d/default.conf

The below config will set it to listen to A: the hostname of the server or B: the IP.  $hostname is the computers host name variable, and _; is a catchall. If you have an actual site on your server, you will probably want to delete the lines _;, $hostname;, additionally, you’ll want to modify the two lines that say example.com and change them to your url for a web accessible server

server {
    listen       80;
    server_name  $hostname;
_;
example.com;
www.example.com;
    # note that these lines are originally from the “location /” block
    root   /usr/share/nginx/html;
    index index.php index.html index.htm;
    location / {
        try_files $uri $uri/ =404;
    }
    error_page 404 /404.html;
    error_page 500 502 503 504 /50x.html;
    location = /50x.html {
        root /usr/share/nginx/html;
    }
    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
}

 

Enable and start (Starts with system) 
sudo systemctl enable mariadb; 
sudo systemctl enable nginx;  sudo systemctl start nginx; sudo systemctl start mariadb; sudo systemctl enable php-fpm;  sudo systemctl start php-fpm

Optionally, reboot (probably a good idea).
sudo reboot

Everything should hopefully work, if not, leave a comment, as I find what can go wrong, I’ll append troubleshooting tools and more in depth explanations below.