Skip to content

Instantly share code, notes, and snippets.

Ron Royston rhroyston

Block or report user

Report or block rhroyston

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View README.md

Firebase Hosting Deploy Single File

This utility script deploy a single local file to an existing Firebase Hosting site. Other files that are already deployed are left unmodified.

The difference with firebase deploy is that this script does not require you to have a local snapshot of all hosted files, you just need the one file that you want to add/update.

USE AT YOUR OWN RISK. NO WARRANTY IS PROVIDED.

View pwa-splash-screen-images.html
// 1. Media Queries based on data from https://css-tricks.com/snippets/css/media-queries-for-standard-devices
// 2. Images must be exact sizes e.g 640x1136
// 3. All images are portrait
<link rel="apple-touch-startup-image" href="images/splash/launch-640x1136.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/launch-750x1294.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/launch-1242x2148.png" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/launch-1125x2436.png" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-
@wenzhixin
wenzhixin / ubuntu14.04-command-line-install-android-sdk
Last active Sep 26, 2019
Ubuntu 14.04 command line install android sdk
View ubuntu14.04-command-line-install-android-sdk
# install openjdk
sudo apt-get install openjdk-7-jdk
# download android sdk
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
tar -xvf android-sdk_r24.2-linux.tgz
cd android-sdk-linux/tools
# install all sdk packages
@jboulhous
jboulhous / push.md
Created Jul 16, 2013
Push to github from cloud9
View push.md

Add a git remote in the Cloud9 console. Should look like this (replace the git url with your repo url):

git remote add origin git@github.com:C9Support/testPush.git 

Add files and commit them:

git add . 
git commit -m "First commit"

Push to github:

You can’t perform that action at this time.