###SUMMARY: GitHub.com Bug Report: "Trending Objective-C repos on GitHub this week” shows mostly non-ObjC repos
###CONTEXT: OS X 10.9.2
Any Browser of:
- Chrome Version 33.0.1750.152
- Safari Version 7.0.2 (9537.74.9)
- Firefox 28.0
###SUMMARY: GitHub.com Bug Report: "Trending Objective-C repos on GitHub this week” shows mostly non-ObjC repos
###CONTEXT: OS X 10.9.2
Any Browser of:
| // Starting with: https://www.instapaper.com/read/ | |
| #controlbar_container { | |
| position:static !important; | |
| } |
I hereby claim:
To claim this, I am signing this object:
| /*/attribute(*) | |
| Should match any attribute on the document (outermost) element. NSXML fails. | |
| From XPath 2.0 Spec: | |
| http://www.w3.org/TR/xpath20/#abbrev | |
| If the axis name is omitted from an axis step, the default axis is child unless the axis step contains an AttributeTest or SchemaAttributeTest; in that case, the default axis is attribute. For example, the path expression section/para is an abbreviation for child::section/child::para, and the path expression section/@id is an abbreviation for child::section/attribute::id. Similarly, section/attribute(id) is an abbreviation for child::section/attribute::attribute(id). Note that the latter expression contains both an axis specification and a node test. |
| NSXML XPath bug | |
| Results of a path expression should always be sorted in document order regardless of axes used therein | |
| //c/ancestor::* | |
| <doc> | |
| <a>A | |
| <b>B | |
| <c>C</c> |
| Source.xml: | |
| <?xml version="1.0" encoding="utf-8" ?> | |
| <doc id="foo"/> | |
| Context Node: | |
| /doc/@* |
| <book xmlns:foo="bar"> | |
| <chapter foo:baz="OHAI"/> | |
| </book> | |
| //@*[namespace-uri(.)='bar'] |
| window.fluid.dockBadge = ''; | |
| setTimeout(updateDockBadge, 1000); | |
| setTimeout(updateDockBadge, 3000); | |
| setInterval(updateDockBadge, 5000); | |
| function updateDockBadge() { | |
| var newBadge = ''; | |
| var els = document.querySelectorAll('.feed-link .count'); | |
| for (var i = 0; i < els.length; ++i) { |
###SUMMARY
Enabling AppleID two-step verication prevents logging into iTunesConnect mobile app on iOS
###CONTEXT
Device: iPhone 5S OS: iOS 7.3 App: iTunes Connect.app
| // 0 == w:1.0 h:0.0 | |
| // 90 == w:0.0 h:1.0 | |
| // 180 == w:1.0 h:0.0 | |
| // 270 == w:0.0 h:1.0 | |
| // 360 == w:1.0 h:0.0 | |
| CGFloat rad = TDD2R(angle); | |
| CGFloat wRatio = 0.5+(cos(2.0*rad)/2.0); | |
| CGFloat hRatio = 1.0 - wRatio; |