Skip to content

Instantly share code, notes, and snippets.

View jaxgeller's full-sized avatar

Jackson Geller jaxgeller

View GitHub Profile
@jaxgeller
jaxgeller / redirect.html
Created April 27, 2015 18:50
quick redirect
<!DOCTYPE html>
<html lang="en">
<head>
<script>
window.location.href = 'https://google.com';
</script>
</head>
</html>
@jaxgeller
jaxgeller / gist:4a0a66919b14f3a8f2ec
Last active June 8, 2016 21:17
nginx proxy cors
server {
location /proxied_site_get_around/ {
proxy_pass http://www.proxied_site.com/;
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Origin' '*';
}
}
@jaxgeller
jaxgeller / gist:609187d05f04ea99b6b6
Created March 5, 2015 17:13
no-sudo docker ubuntu
sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo service docker restart
newgrp docker
@jaxgeller
jaxgeller / gist:6fc01c60bb8e75200f5f
Created January 25, 2015 00:26
aws s3 static website policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject"
],