Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/Online.net:
Permalink: git.io/vps
| Provider | Type | RAM | Cores | Storage | Transfer | Network | Price |
|---|
| #!/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 |
Permalink: git.io/vps
| Provider | Type | RAM | Cores | Storage | Transfer | Network | Price |
|---|
| #!/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 |
| \n | |
| ============= HOST: ==========\n | |
| \n | |
| local_ip: %{local_ip}\n | |
| local_port: %{local_port}\n | |
| remote_ip: %{remote_ip}\n | |
| remote_port: %{remote_port}\n | |
| \n | |
| ======= CONNECTION: ==========\n | |
| \n |
| #!/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). |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
| #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) |
| 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. |