Skip to content

Instantly share code, notes, and snippets.

View mrah's full-sized avatar
💭
I may be slow to respond.

Emrah mrah

💭
I may be slow to respond.
  • Almere, Netherlands
  • 11:34 (UTC +01:00)
View GitHub Profile
@mrah
mrah / styles.css
Created December 9, 2015 05:00 — forked from pburtchaell/styles.css
VH and VW units can cause issues on iOS devices. To overcome this, create media queries that target the width, height, and orientation of iOS devices.
/**
* VH and VW units can cause issues on iOS devices: http://caniuse.com/#feat=viewport-units
*
* To overcome this, create media queries that target the width, height, and orientation of iOS devices.
* It isn't optimal, but there is really no other way to solve the problem. In this example, I am fixing
* the height of element `.foo` —which is a full width and height cover image.
*
* iOS Resolution Quick Reference: http://www.iosres.com/
*/
# Login as root
sudo -s
# Install Java
apt-get install openjdk-7-jre-headless -y
# Download & install the Public Signing Key
wget -qO - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add -
# Add the following to /etc/apt/sources.list
deb http://packages.elasticsearch.org/elasticsearch/1.3/debian stable main