Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
<!DOCTYPE html> | |
<html> | |
<head><title>BASE 64 Data</title></head> | |
<body> | |
<canvas width="500" height="200"></canvas> | |
<script> | |
window.BlobBuilder = window.BlobBuilder || window.WebKitBlobBuilder || | |
window.MozBlobBuilder || window.MSBlobBuilder; | |
window.URL = window.URL || window.webkitURL; | |
window.onload = function(){ |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
/** | |
* Read the value of a header in the current document. | |
* | |
* This uses a [single] XMLHTTPRequest to do a HEAD of the current document | |
* and fetch HTTP response header values. Note that the implementation is | |
* rather stupid in that it spins waiting for the XMLHTTPRequest to complete | |
* if it hasn't been called yet. | |
* | |
* @param name string |