- Text editor (Atom or Sublime is good)
- Putty
- WinSCP
- Github
- DigitalOcean Droplet
<!DOCTYPE html> | |
<html lang="en" > | |
<head> | |
<meta charset="UTF-8"> | |
<link rel="shortcut icon" href="https://danferth.com/assets/favicons/favicon-16x16.png" type="image/png" /> | |
<title>404</title> | |
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans:100,300|Sacramento" rel="stylesheet"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> |
# ###################################################################### | |
# This below is extracted from the HTML5 boilerplate htaccess file. # | |
# ###################################################################### | |
# | |
# Apache Server Configs v3.0.0 | MIT License | |
# https://github.com/h5bp/server-configs-apache | |
# (!) Using `.htaccess` files slows down Apache, therefore, if you have | |
# access to the main server configuration file (which is usually called | |
# `httpd.conf`), you should add this logic there. |
snippet to open a file, write to it (with timestamp), then close file with PHP
More can be found at fopen docs
<php? | |
//fun helper function for debugging from http://net.tutsplus.com/tutorials/tools-and-tips/xdebug-professional-php-debugging/ | |
function dump($value) { | |
echo ‘<pre>'; | |
var_dump($value); | |
echo ‘</pre>'; | |
} | |
?> |