Skip to content

Instantly share code, notes, and snippets.

self.utils.config['other']['cryptos']
{u'1': u'garlicoin', u'2': u'dash'}
for coin in self.utils.config['other']['cryptos']:
print coin #Gives me 1
self.utils.config['other']['cryptos']
{u'1': u'garlicoin', u'2': u'dash'}
for coin in self.utils.config['other']['cryptos']:
print coin #Gives me 1
(build-docker-containers-a_cTxfT_) [monotoko@homesys build-docker-containers]$ python awb.py build test 0 docker
['i-0354f4397c5f6166e']
ImageId='ami-a414b9ca',InstanceType='t2.medium',KeyName='dl-korea',SubnetId='subnet-519ac339',MaxCount=1,MinCount=1
> /home/monotoko/Documents/code/build-docker-containers/awb.py(41)main()
-> response = self.client.run_instances(base)
(Pdb) type(base)
<class 'str'>
(Pdb) print(base)
ImageId='ami-a414b9ca',InstanceType='t2.medium',KeyName='dl-korea',SubnetId='subnet-519ac339',MaxCount=1,MinCount=1
(Pdb) response = self.client.run_instances(base)
ImageId='ami-a414b9ca',InstanceType='t2.medium',KeyName='dl-korea',SubnetId='subnet-519ac339',UserData=#!/bin/bash
apt update
apt install ansible
,MaxCount=1,MinCount=1
Searching for terminado
Reading https://pypi.python.org/simple/terminado/
Best match: terminado 0.8.1
Downloading https://files.pythonhosted.org/packages/67/84/ce0ebd0f60e1cbe040f8e065eef7063855d59d9cf5e6438b3f8439fc7e15/terminado-0.8.1.tar.gz#sha256=55abf9ade563b8f9be1f34e4233c7b7bde726059947a593322e8a553cc4c067a
Processing terminado-0.8.1.tar.gz
Writing /tmp/easy_install-kz_hozdu/terminado-0.8.1/setup.cfg
Running terminado-0.8.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kz_hozdu/terminado-0.8.1/egg-dist-tmp-5xwou0_v
error: Setup script exited with error: can't copy 'terminado/tests': doesn't exist or not a regular file
# System Info:
1. `uname -a`:
Linux dlaptop 4.18.0-1-MANJARO #1 SMP PREEMPT Mon Jul 16 06:26:07 UTC 2018 x86_64 GNU/Linux
2. `lsb_release -a`:
LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
fcitx -d -r
/usr/bin/mandb: zcat < /usr/share/man/man5/deb-buildinfo.5.gz: Bad system call (core dumped)
/usr/bin/mandb: zcat: Bad system call (core dumped)
/usr/bin/mandb: zcat < /usr/share/man/man5/deb-buildinfo.5.gz: Bad system call (core dumped)
/usr/bin/mandb: /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE -q: Bad system call (core dumped)
/usr/bin/mandb: zcat < /usr/share/man/man5/deb-changelog.5.gz: Bad system call (core dumped)
[monotoko@monotoko-pc Downloads]$ gpg --recv-keys 474E22316ABF4785A88C6E8EA2C794A986419D8A
gpg: keyserver receive failed: General error
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-1020-aws x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Thu Aug 30 08:00:54 UTC 2018
System load: 0.0 Processes: 109
Usage of /: 3.1% of 96.88GB Users logged in: 0