I hereby claim:
- I am cwonrails on github.
- I am cwonrails (https://keybase.io/cwonrails) on keybase.
- I have a public key whose fingerprint is 321C CE47 9BC7 51CA AA8B DD85 E55D 2F45 E7ED 4BBF
To claim this, I am signing this object:
#!/bin/bash | |
# -------------------------------- | |
# Totally Simple Web Server (TSWS) | |
# -------------------------------- | |
# | |
# (c) 2015 Dave Fletcher | |
# All Rights Reserved | |
# | |
# This is free and unencumbered software released into the public domain. |
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear! | |
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy. | |
* Off the top of my head * | |
1. Fork their repo on Github | |
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it | |
git remote add my-fork git@github...my-fork.git |
BOX_NAME=vagrant-build | |
BASE_DIR="`pwd`/machines" | |
BOX_DIR="${BASE_DIR}/${BOX_NAME}" | |
mkdir -p ${BASE_DIR} | |
VBoxManage createvm --name "${BOX_NAME}" --ostype RedHat_64 --basefolder ${BASE_DIR} | |
VBoxManage registervm "${BOX_DIR}/${BOX_NAME}.vbox" | |
mkdir -p tmp |
<script type="text/javascript"> | |
(function () { | |
"use strict"; | |
// once cached, the css file is stored on the client forever unless | |
// the URL below is changed. Any change will invalidate the cache | |
var css_href = './index_files/web-fonts.css'; | |
// a simple event handler wrapper | |
function on(el, ev, callback) { | |
if (el.addEventListener) { | |
el.addEventListener(ev, callback, false); |
sudo apt-get clean | |
cd /var/lib/apt | |
sudo mv lists lists.old | |
sudo mkdir -p lists/partial | |
sudo apt-get clean | |
sudo apt-get update |
74925 NONE | |
54706 MIT | |
9268 ISC | |
3050 BSD | |
1521 BSD-2-CLAUSE | |
791 APACHE-2.0 | |
699 APACHE 2.0 | |
392 BSD-3-CLAUSE | |
364 WTFPL | |
346 UNKNOWN |
I hereby claim:
To claim this, I am signing this object:
{ | |
"files": | |
{ | |
"Chart.js": "https://github.com/nnnick/Chart.js", | |
"Modernizr.js": "http://modernizr.com/downloads/modernizr-latest.js", | |
"Normalize.css 1.x": "https://github.com/necolas/normalize.css/blob/v1.1.3/normalize.css", | |
"Normalize.css 2.x": "https://github.com/necolas/normalize.css/blob/v2.1.3/normalize.css", | |
"Normalize.css 3.x": "https://raw.githubusercontent.com/necolas/normalize.css/master/normalize.css", | |
"Respond.js": "https://github.com/scottjehl/Respond/blob/master/dest/respond.min.js", | |
"Sanitize.css": "https://raw.github.com/ZDroid/sanitize.css/master/sanitize.css", |
add_header X-Cache $upstream_cache_status; | |
location / { | |
proxy_cache STATIC; | |
proxy_cache_valid 200 30m; | |
proxy_cache_valid 404 1m; | |
proxy_pass http://ghost_upstream; | |
proxy_ignore_headers X-Accel-Expires Expires Cache-Control; | |
proxy_ignore_headers Set-Cookie; | |
proxy_hide_header Set-Cookie; | |
proxy_hide_header X-powered-by; |
server { | |
server_name domain.com; | |
listen 443 ssl spdy; | |
spdy_headers_comp 6; | |
spdy_keepalive_timeout 300; | |
keepalive_timeout 300; | |
ssl_certificate_key /etc/nginx/ssl/domain.key; | |
ssl_certificate /etc/nginx/ssl/domain.crt; | |
ssl_session_cache shared:SSL:10m; | |
ssl_session_timeout 24h; |