Internet Engineering Task Force (IETF) D. Hardt, Ed. Request for Comments: 6749 Microsoft Obsoletes: 5849 October 2012 Category: Standards Track ISSN: 2070-1721
Amazon S3 Redirect Rules Generator
A Ruby script to generate simple Amazon S3 Redirection Rules XML file.
html-pipeline: 把 text formatting 做成一層一層的 filter 接成 pipeline
linguist: 自動偵測一段文本或檔案的程式語言， GitHub 本身用它來偵測你專案使用的程式語言
github-markdown: 實際在 GitHub 使用的 markdown compiler ，我找不到公開的 repo ，但程式碼是 MIT license ，很神秘…
github-markup: 用來把 README.md 這種檔案給 render 成 HTML
Avoid jQuery When Possible
jQuery does good jobs when you're dealing with browser compatibility. But we're living in an age that fewer and fewer people use old-school browsers such as IE <= 7. With the growing of DOM APIs in modern browsers (including IE 8), most functions that jQuery provides are built-in natively.
If you're making a web page for iOS (e.g. UIWebView), you should use native DOM APIs because mobile Safari is not that old-school web browser; it supports lots of native DOM APIs.
If you're making a Chrome Extension, you should always use native APIs, not only because Chrome has almost the latest DOM APIs available, but this can also avoid performance issue and unnecessary memory occupation (each jQuery-driven extension needs a separate
For some HDMI switches (e.g. ATEN), to make HDMI hot plugging work well with Raspberry Pi, set the following in
hdmi_force_hotplug=1 # always output HDMI even if not plugged in hdmi_drive=2 # always output audio to HDMI hdmi_group=1 # use CET mode (compatible with TV) hdmi_mode=16 # use 1080p; otherwise it may switch to SD resolution
Notes on Paul Irish's "Things I learned from the jQuery source" casts
I watched these videos on 2012/12/14. Today's jQuery version is 1.8.3. So there might be some differences from the original video. I've briefly noted some of the differences between what described in the video and the current stable release. Most code he desribed can be found easily in
- 10 Things I Learned from the jQuery Source - YouTube
- 10 Things I Learned from the jQuery Source « Paul Irish
2010-06-14 (jQuery 1.4.1)
cors.py for mitmproxy
Hacking CORS restriction to enable in-browser XHR to any server.
Say you are running an web app at localhost, and you want to send XHR to
http://remote-server:80, but the CORS restriction forbids access because you are sending requests from an origin that remote-server:80 does not allow.
|<?xml version="1.0" encoding="UTF-8"?>|
|<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">|
|<!-- ATSUI-compatible preferred fallback -->|
|<!-- default ordered fallback list - fallback entity has to be PostScript name -->|
|<string>LucidaGrande</string> <!-- MAKE sure this matches the kCTFontSystemFontType in CTFontDescriptorCreateForUIType() & TDescriptorSourceImp::CreateDefaultDescriptor()! -->|