These two screenshots show what you get when you hit "b" (to invoke a branch command of some sort). The last line of the magit-key window is obscured, because the help text is too long, causing the echo area to grow (to two lines instead of one). The second screenshot shows what happens after you hit SPACE or other non-action character, causing the echo area to return to normal, revealing the missing commands in the magit-key window.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# connect to a BitCoin node and interpret the data it emits. first steps | |
# towards building a pure-python bitcoin client. Uses code and ideas from | |
# http://github.com/gavinandresen/bitcointools . | |
import struct, random, time, base64, socket, sys | |
from twisted.internet import reactor, protocol | |
from hashlib import sha256 | |
from StringIO import StringIO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Ostrom Accounting | |
** apply Elinor Ostrom's eight "design principles" (of stable local | |
common pool resource [CPR] management) from | |
http://en.wikipedia.org/wiki/Elinor_Ostrom | |
- 1. Clearly defined boundaries (effective exclusion of external | |
unentitled parties); | |
- 2. Rules regarding the appropriation and provision of common | |
resources are adapted to local conditions; | |
- 3. Collective-choice arrangements allow most resource appropriators | |
to participate in the decision-making process; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from templates import EMPTY_FOLDER | |
def create(output_root, template_path, content, out=sys.stdout): | |
# content may be EMPTY_FOLDER, which means just make the directories | |
path_components = template_path.split("/") | |
parents = path_components[:-1] | |
if parents: | |
output_dir = os.path.join(output_root, *parents) | |
if not os.path.exists(output_dir): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os, sys, json, time | |
from twisted.python import usage | |
class Usage(usage.Options): | |
optParameters = [ | |
("sessionfile", "s", None, "sessionstore.js to read, uses new-b9 profile by default"), | |
("outfile", "o", "-", "write tabs.html to here"), | |
] | |
def postOptions(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const secondaryPower = { all: true, | |
domains: "all", | |
expiration: Number.MAX_VALUE }; | |
function makePrimaryPower(domain) { // also used for IdP Proxies | |
return { all: false, domains: [domain], expiration: Number.MAX_VALUE}; | |
} | |
function evalChain(initialPower, certParamsArray) { | |
// Returns principal or throws error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this repo holds screenshots for bug reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <botan/botan.h> | |
#include <botan/pbkdf2.h> | |
#include <botan/hmac.h> | |
#include <botan/sha2_32.h> | |
#include <iostream> | |
#include <memory> | |
using namespace Botan; | |
std::string password_hash(const std::string& pass, |
OlderNewer