This is an alternate proposal to [BIP32].
Version History:
- 12-7-2102: Addition of chain code (much as BIP32 uses).
- 12-3-2012: Initial Proposal (version 1)
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<polymer-element name="my-element" attributes="foo bar"> | |
<template> | |
<style> | |
:host { |
##How Homakov hacked GitHub and the line of code that could have prevented it
@homakov’s explot on GitHub was simple and straightforward. Calling it an attack makes it sound malicious whereas the truth was that GitHub bolted its front door but left the hinges on quick release. Homakov released the hinges, walked in and shouted to anyone who would listen that they had a problem.
He was right. The Rails defaults are vulnerable and there’s no better illustration of this than when when one of the best Rails teams in the world is severely compromised.
TL;DR: How to protect your Rails application from the GitHub attack
This Gist moved to https://github.com/coinlab/bitcoin-docs.
// From http://clients1.google.com/js/counter2_compiled.js | |
google.eggRequest = function (a) { | |
var b = document.createElement("SCRIPT"); | |
b.src = "http://clients1.google.com/egg?ei=" + google.kEI + "&cd=" + a; | |
google.append(b) | |
} | |
google.egg || | |
function () { |
import UserDict | |
class DynDict(UserDict.DictMixin): | |
""" | |
Implement a dynamic dictionary object, which acts as the union of the dictionaries | |
from which it was created. | |
The first dictionary is searched first, and subsequent dictionaries are searched when no results are found. | |
New elements are always created in the first dictionary. |
<html> | |
<head> | |
<title>Sample File</title> | |
</head> | |
<body> | |
<h1><script>document.write(document.title></script></h1> | |
</body> | |
</html> |
// unit.js - Unit testing framework | |
// Copyright (c) 2007-2009, Mike Koss ([email protected]) | |
// | |
// Usage: | |
// ts = new UT.TestSuite("Suite Name"); | |
// ts.DWOutputDiv(); | |
// ts.AddTest("Test Name", function(ut) { ... ut.Assert() ... }); | |
// ... | |
// ts.Run(); | |
// ts.Report(); |
/* Namespace.js | |
Version 1.0, June 2009 | |
by Mike Koss - released into the public domain. | |
Support for building modular namespaces in javascript. | |
Globals: | |
window.global_namespace (Namespace) - The top of the namespace heirarchy. Child namespaces |
<html> | |
<head> | |
<title>Engima Test Page</title> | |
<script src="namespace.js"></script> | |
<script src="enigma.js"></script> | |
<script src="unit.js"></script> | |
</head> | |
<body> | |
<h1><script>document.write(document.title);</script></h1> | |
<SCRIPT> |