Feature | Divshot | Firebase |
---|---|---|
Global CDN | ✓ | ✓ |
Custom Domains | ✓ | ✓ |
SSL Supported | ✓ | ✓ |
Command-Line Tools | ✓ | ✓ |
Simple Rollback | ✓ | ✓ |
Free w/ Firebase | ✓ |
While working on The Giver Movie's Official Tumblr I ran across a problem. It seems that my icomoon font icons failed to render properly in Firefox. The issue is due to the fact that Firefox doesn't allow cross-domain fonts. The traditional solve is to add the following to your .htaccess: Header set Access-Control-Allow-Origin "*".
However, I have no control over the .htaccess due to the fact that my code will be hosted on Tumblr.com. So, I attempted to upload the font files through Tumblr's static upload page. This also failed because Firefox treats subdomains the same as cross-domains.
Below is my original snippet:
This fix is from substack in the comments on here: | |
http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more | |
(apologies for being unable to permalink directly to the comment) | |
----- | |
In travis-ci you can work around this by setting: | |
before_install: | |
- npm config set ca "" |
user www-data; | |
http { | |
## | |
# Basic Settings | |
## | |
sendfile on; | |
tcp_nopush on; |
var request = require('request'); | |
var _ = require('underscore'); | |
var url = "http://forecast.weather.gov/product.php?site=NWS&issuedby=OKX&product=PNS&format=txt&version=1&glossary=0"; | |
var header = "********************STORM TOTAL SNOWFALL********************"; | |
var footer = "**********************24 HOUR SNOWFALL**********************"; | |
request(url, function(err, resp, body) { | |
if (err) throw err; |
ZIP,LAT,LNG | |
00601,18.180555, -66.749961 | |
00602,18.361945, -67.175597 | |
00603,18.455183, -67.119887 | |
00606,18.158345, -66.932911 | |
00610,18.295366, -67.125135 | |
00612,18.402253, -66.711397 | |
00616,18.420412, -66.671979 | |
00617,18.445147, -66.559696 | |
00622,17.991245, -67.153993 |
#!/bin/bash | |
curl -X POST -d @- $1 --header "Content-Type:application/json" |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
// Credit to damien_oconnell from http://forum.unity3d.com/threads/39513-Click-drag-camera-movement | |
// for using the mouse displacement for calculating the amount of camera movement and panning code. | |
using UnityEngine; | |
using System.Collections; | |
public class MoveCamera : MonoBehaviour | |
{ | |
// | |
// VARIABLES |