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
# ==== twisted/plugins/finger_plugin.py ==== | |
# This snippet shows how to configure Twisted plugins to use custom logging. | |
# This is a modification of a 'finger' example by Chris Miles at | |
# http://chrismiles.livejournal.com/23399.html | |
# | |
# It's kind of a dirty monkey patching hack, but I don't know how to | |
# configure logging in plugins until this ticket is resolved: | |
# http://twistedmatrix.com/trac/ticket/638 | |
# | |
# I change logging from the default LogFile to DailyLogFile, and also |
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
;; | |
;; A way to use Google's gjslint from Emacs | |
;; Copyright 2010 (c) Valeriy Zamarayev | |
;; | |
;; Put this into your .emacs | |
;; (require 'gjslint) | |
;; (add-hook 'js-mode-hook | |
;; (lambda () (flymake-mode t))) | |
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
import zc.buildout.easy_install | |
import zc.recipe.egg | |
import os | |
import os.path | |
import sys | |
import fileinput | |
import pkg_resources | |
class PinVersions: | |
""" |
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
it("Should succeed verification of a basic transaction", async function () { | |
const nonce = await safe.getNonce(); | |
const threshold = await safe.getThreshold(); | |
const safeTransactionData : SafeTransactionData = { | |
to: ethers.ZeroAddress, | |
value: "0x0", | |
data: "0x", | |
operation: 0, | |
// default fields below |