Try them in a table!
product | price | trend |
---|---|---|
widgets | 4.37 | ⠉⠉⢄⡠⠤⢄⣀⠤ |
#!/usr/bin/python | |
import sys | |
import os, shutil | |
import subprocess | |
import os.path | |
from datetime import datetime | |
######################## Functions ######################### |
sudo service apache2 stop | |
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common | |
sudo apt-get autoremove --purge | |
sudo rm -Rf "$(whereis apache2)" | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get install nginx nodejs npm g++ -y | |
ln -s /usr/bin/nodejs /usr/bin/node | |
npm install forever -g | |
sudo apt-get update -y |
#!/usr/bin/ruby | |
=begin | |
Usage: rtftomarkdown.rb FILENAME.rtf | |
Uses textutil, available on Mac only (installed by default) | |
Outputs to STDOUT | |
Notes: | |
Links are replaced with Markdown references (duplicate links combined). |
The idea is to have nginx installed and node installed. I will extend this gist to include how to install those as well, but at the moment, the following assumes you have nginx 0.7.62 and node 0.2.3 installed on a Linux distro (I used Ubuntu).
In a nutshell,
So for example, www.foo.com request comes and your css, js, and images get served thru nginx while everything else (the request for say index.html or "/") gets served through node.