Skip to content

Instantly share code, notes, and snippets.

View largonet's full-sized avatar

Largo Mustapha largonet

  • Largonet
  • Japan Osaka
View GitHub Profile
#!/bin/env bash
set -e -o pipefail
latest_nginx=$(curl -L http://nginx.org/en/download.html | egrep -o "nginx\-[0-9.]+\.tar[.a-z]*" | head -n 1)
cd /tmp
git clone --depth=1 https://boringssl.googlesource.com/boringssl &
(curl -fLRO "http://nginx.org/download/${latest_nginx}" && tar -xaf "${latest_nginx}") &
wait
@largonet
largonet / gist:8800747
Created February 4, 2014 09:44
css gradient divider
.level2 {
background-image: -webkit-radial-gradient(center top , ellipse farthest-side, rgba(235, 233, 233, 0.6), rgba(16, 83, 130, 0) 80%);
background-image: -moz-radial-gradient(center top , ellipse farthest-side, rgba(235, 233, 233, 0.6), rgba(16, 83, 130, 0) 80%);
background-image: -o-radial-gradient(center top , ellipse farthest-side, rgba(235, 233, 233, 0.6), rgba(16, 83, 130, 0) 80%);
background-image: -ms-radial-gradient(center top , ellipse farthest-side, rgba(235, 233, 233, 0.6), rgba(16, 83, 130, 0) 80%);
background-image: radial-gradient(center top , ellipse farthest-side, rgba(235, 233, 233, 0.6), rgba(16, 83, 130, 0) 80%);
background-position: 100% 0;
background-repeat: no-repeat;
background-size:100% 2px;
}
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
@largonet
largonet / normalize.css
Last active January 2, 2016 16:29
CSS:Normalize
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */