I hereby claim:
- I am zancas on github.
- I am zancas (https://keybase.io/zancas) on keybase.
- I have a public key ASAdKB6a8la2XBUtdzc9-xrObMr-2zK6Alf0xYe54fe_Cwo
To claim this, I am signing this object:
#! /usr/bin/env python | |
from icontrol.session import iControlRESTSession | |
@pytest.fixture | |
def fakeicontrolsession(monkeypatch): | |
class Response(object): | |
def json(self): | |
return {'selfLink': 'https://localhost/mgmt/tm/sys?ver=11.6.0'} | |
fakesessionclass = mock.create_autospec(iControlRESTSession, spec_set=True) | |
fakesessioninstance =\ |
0 b: development | |
/root/devenv/f5-common-python :$ | |
grep -r UnnamedResourceMixin ./* | |
./docs/apidoc/f5.bigip.rst: mixins.UnnamedResourceMixin | |
./f5/bigip/mixins.py:class UnnamedResourceMixin(object): | |
./f5/bigip/test/test_mixins.py:from f5.bigip.mixins import UnnamedResourceMixin | |
./f5/bigip/test/test_mixins.py:class TestUnnamedResourceMixin(object): | |
./f5/bigip/test/test_mixins.py: unnamed_resource = UnnamedResourceMixin() | |
./f5/bigip/test/test_mixins.py: unnamed_resource = UnnamedResourceMixin() | |
./f5/bigip/tm/shared/bigip_failover_state.py:from f5.bigip.mixins import UnnamedResourceMixin |
python ./compare_function_sets.py | |
set([('cleanup_user_data () \n{ \n [[ $OS_USER_DATA_CLEANUP == true ]] && rm -f $OS_USER_DATA_TMP_FILE;\n [[ $OS_META_DATA_CLEANUP == true ]] && rm -f $OS_META_DATA_TMP_FILE\n}\n',), | |
('generate_sha512_passwd_hash () \n{ \n salt=$(openssl rand -base64 8);\n echo -n $(perl -e "print crypt(q[$1], \\"\\\\\\$6\\\\\\$$salt\\\\\\$\\")")\n}\n',), | |
('get_json_value () \n{ \n echo -n $(perl -MJSON -ne "\\$value = decode_json(\\$_)->$1; \\$value =~ s/([^a-zA-Z0-9])/\\$1/g; print \\$value" $2)\n}\n',), | |
("get_supported_modules () \n{ \n echo -n $(tmsh list sys provision one-line | awk '/^sys/ { print $3 }')\n}\n",), | |
('get_user_data_firstboot_cmds () \n{ \n echo -n $(perl -MJSON -ne "print join(\';;\', @{decode_json(\\$_)->{bigip}{firstboot_cmds}})" $OS_USER_DATA_TMP_FILE)\n}\n',), | |
('get_user_data_network_routes () \n{ \n echo -n $(perl -MJSON -ne "\\$data = decode_json(\\$_); foreach \\$route (@{\\$data->{\'bigip\'}->{\'network\'}->{ |
diff monolithic mono_deduped.txt | |
95,97d94 | |
< function log() { | |
< echo "$1" | eval "$LOGGER_CMD" | |
< } | |
99,101d95 | |
< function upcase() { | |
< echo "$1" | tr '[a-z]' '[A-Z]' | |
< } | |
103,121d96 |
diff mono_deduped_commentless.txt mono_deduped_commentless_vars_deduped.txt | |
1,7d0 | |
< shopt -s extglob | |
< export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin/" | |
< FIRST_BOOT_FILE="/config/firstboot" | |
< LOGGER_TAG="openstack-init" | |
< LOGGER_CMD="logger -t $LOGGER_TAG" | |
< STATUS_CHECK_RETRIES=20 | |
< STATUS_CHECK_INTERVAL=10 | |
9,15d1 |
zcasher@d6428425c930:~/zcash/src$ ./zcash-cli getblockchaininfo | |
{ | |
"chain": "test", | |
"blocks": 257050, | |
"headers": 257836, | |
"bestblockhash": "0051893395470fdd82d92a6883e64c05930701b4759e1bc18b7350e37499e4b6", | |
"difficulty": 7.810258014539388, | |
"verificationprogress": 0.9999959736964634, | |
"chainwork": "00000000000000000000000000000000000000000000000000000001d6eea953", | |
"pruned": false, |
root@bd56a513c246:~# /home/zcash/src/zcashd -printtoconsole | |
Zcash version v1.1.2-6b9c96272 (2018-07-30 03:46:37 -0700) | |
Using OpenSSL version OpenSSL 1.1.0h 27 Mar 2018 | |
Using BerkeleyDB version Berkeley DB 6.2.23: (March 28, 2016) | |
Default data directory /root/.zcash |
FROM debian@sha256:f1f61086ea01a72b30c7287adee8c929e569853de03b7c462a8ac75e0d0224c4 | |
ENV ZCASH_URL=https://github.com/zcash/zcash.git \ | |
ZCASH_CONF=/home/zcash/.zcash/zcash.conf | |
RUN apt-get update | |
RUN apt-get -qqy install --no-install-recommends build-essential \ | |
automake ncurses-dev libcurl4-openssl-dev libssl-dev libgtest-dev \ | |
make autoconf automake libtool git apt-utils pkg-config libc6-dev \ |
I hereby claim:
To claim this, I am signing this object:
const init = async (input) => { | |
response = await fetch(browser.runtime.getURL(input)); | |
const { instance } = await WebAssembly.instantiateStreaming(response); | |
console.log("finished instantiating"); | |
return instance.exports; | |
}; | |
(async () => { | |
const f = await init('target/wasm32-unknown-unknown/debug/webextension_bg.wasm'); | |
console.log(f.add_one(1)); |