Skip to content

Instantly share code, notes, and snippets.

View valnub's full-sized avatar

Timo Ernst valnub

View GitHub Profile
@valnub
valnub / A.xml
Last active May 19, 2017 20:34
Frontend RSS feed comparison
<?xml version="1.0" encoding="UTF-8"?>
<opml version='1.1'>
<head>
<title>Frontend Dev Feeds</title>
<dateCreated>Fri, 26 Jul 2013 10:29:38 GMT</dateCreated>
<dateModified>Sun, 9 Oct 2013</dateModified>
<ownerName>Paul Irish</ownerName>
<ownerEmail>holler at paulirish dot com</ownerEmail>
</head>
@valnub
valnub / gist:323e51dbdb298313b314cc1a2b9b5ccf
Last active March 16, 2018 07:46
F7 Welcomescreen auto close example
onDeviceReady: function() {
var options = {};
if (localStorage.getItem('welcomescreen_closed') === "true") {
options.open = false;
}
var app = new Framework7({
root: '#app', // or what ever your root is
name: 'welcomescreen-demo', // choose a name
@valnub
valnub / index.html
Created May 21, 2018 22:09
iPhone X notch optimization HTML, CSS
<!doctype>
<html>
<head>
<title>Notch test</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<style>
* {margin: 0;padding: 0;}