Models | Examples |
---|---|
Display ads | Yahoo! |
Search ads |
This chassis houses up to 8 processing nodes. Each node is roughly equivilent to 30 elastic compute units. You can scale as needed by building and slotting more nodes into the chassis. Candidates for these nodes includes: app servers of any kind, ssl termination/reverse proxies, cache servers, distributed/concurrent processing, cron jobs, etc.
Barebone:
- 1x Supermicro 5038ML-H8TRF(http://www.supermicro.com/products/system/3U/5038/SYS-5038ML-H8TRF.cfm) $3750
Per node (up to 8):
This guide shows howto install Apache HTTP Server (httpd) with PHP 5.5.9 and following modules on Fedora 20/19/18/17, CentOS 6.5/6.4/6.3/6.2/6.1/6/5.10 and Red Hat (RHEL) 6.5/6.4/6.3/6.2/6.1/6/5.10 systems.
- Change root user
su -
## OR ##
sudo -i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
#include <tlhelp32.h> | |
#include <TCHAR.H> | |
#include <dir.h> | |
using namespace std; | |
int detected = 0; | |
DWORD GetModulePath(HINSTANCE hInst,LPTSTR pszBuffer,DWORD dwSize) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# | |
# POSIX shell script equivalent of: | |
# <https://github.com/mplewis/shed> | |
# | |
# Usage: shed [SHELL_ARGUMENTS...] | |
# | |
# Executes stdin after you edit it. | |
# If $EDITOR is unset, uses $PAGER. | |
# If $PAGER is unset, uses cat(1). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// based on https://gist.github.com/Potfur/5576225 & https://github.com/james2doyle/saltjs | |
// more info: https://plus.google.com/109231487156400680487/posts/63eZzzrBSb6 | |
window.$ = function(s) { | |
var c = { | |
'#': 'ById', | |
'.': 'sByClassName', | |
'@': 'sByName', | |
'=': 'sByTagName'}[s[0]]; | |
return document[c?'getElement'+c:'querySelectorAll'](s.slice(1)) | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Specifically, this gruntfile will perform the following. | |
- CSS: | |
-- Compile SCSS | |
-- Add vendor prefixes for the last 10 browser versions | |
- JS: | |
-- Run scripts through jshint to detect errors and potential problems in code. | |
-- Compile scripts to your destination folder in their original state. Use these in development environments as they'll be easier to debug with as their code doesn't exist on 1 line, nor is it obfuscated. | |
-- Minify and concatenate scripts into one all.min.js. Uglify will also obfuscate code if you set mangle to true, leave as false if using AngularJS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This is designed to get a CentOS 7 system up and running | |
# from absolutely nothing. It will install the LAMP stack | |
# as well as RVM and Phusion Passenger | |
# Run this as root | |
yum update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import math | |
import sys | |
from moviepy.editor import AudioClip, VideoFileClip, concatenate_videoclips | |
# Get average RGB of part of a frame. Frame is H * W * 3 (rgb) | |
# Assumes x1 < x2, y1 < y2 |
OlderNewer