-
Simple made easy by Rick Hickey Author of Clojure
-
Why OO Sucks Erlang by Joe Armstrong Author of Erlang
-
execution in kingdom of nouns by Steve Yegge
-
Perception and Action by Stuart Halloway
-
Pure, functional JavaScript by Christian Johansen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: set filetype=zsh: | |
if [[ $# -eq 0 ]]; then | |
echo "Usage: hostit [-l] [[-d -f] hostname]" | |
return | |
fi | |
REMOVE_HOST=0 | |
FORCE_HOST=0 | |
LIST_HOSTS=0 |
iOS 7.0 and iOS 8 (Beta) do not have support for minimal-ui
viewport keyword, nor do they response to window.slideTo(0,1)
or support Fullscreen API, which means there is no easy way to tell Mobile Safari to hide address bar/menu without user interaction.
This is a problem for Web App that mimics Native App design, where html/body are commonly set to height: 100%
, so browser viewport = available screen estate. There are currently no solution besides adding apple-mobile-web-app-capable
meta and ask users to manually Save to Homescreen
.
Frustrated by this limit, we present a soft-fullscreen prompt design, which, coupled with proper CSS hack, can achieve soft-fullscreen with relatively small effort from users.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* Base component driver | |
* | |
* Related docs: | |
* https://theintern.github.io/leadfoot/Command.html | |
* https://theintern.github.io/leadfoot/Element.html | |
* | |
* @param {leadfoot/Command} remote |
OlderNewer