To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra
#include <websocketpp/config/asio_no_tls_client.hpp> | |
#include <websocketpp/client.hpp> | |
#include <iostream> | |
typedef websocketpp::client<websocketpp::config::asio_client> client; | |
using websocketpp::lib::placeholders::_1; | |
using websocketpp::lib::placeholders::_2; |
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
OVERVIEW: LLVM 'Clang' Compiler: http://clang.llvm.org | |
USAGE: clang -cc1 [options] <inputs> | |
OPTIONS: | |
-### Print the commands to run for this compilation | |
--analyze Run the static analyzer | |
--migrate Run the migrator | |
--relocatable-pch Build a relocatable precompiled header | |
--serialize-diagnostics <value> |
So, you want to send a motherfucking XMLHttpRequest (XHR, or commonly and falsly known as AJAX.) Too bad, just ran out of motherfucking XMLHttpRequests; but I still have one regular. XHR is not magic. It does not autofuckinmagically send things the way you want them do be sent. It does not do the thinking for you. It just sends an Http Request.
You get a hold on such a prime beast like this:
<?php | |
//This little PHP script is the most elegant way | |
//I could find the list directories and | |
//files with PHP and sort by date | |
//thanks to StackOverflow | |
$files = array(); | |
$dir = new DirectoryIterator('.'); | |
foreach ($dir as $fileinfo) { |
#!/bin/sh | |
# Just copy and paste the lines below (all at once, it won't work line by line!) | |
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
function abort { | |
echo "$1" | |
exit 1 | |
} | |
set -e |