xdotool search --name "Zoom Meeting ID:"
This will exit non-zero if no meeting matching this name is found. "Zoom Meeting ID:"
This window exists regardless of sharing or not sharing, in my tests.
| # -*- coding: utf-8 -*- | |
| # Source: https://gist.github.com/wilspi/f68545494eafd57b7a8229ba3359c389 | |
| # Script to run UDP Server on 127.0.0.1:8126 | |
| # This mocks statsd server for testing | |
| import socket | |
| UDP_IP_ADDRESS = "127.0.0.1" | |
| UDP_PORT_NO = 8126 |
| database: &default | |
| host: 127.0.0.1 | |
| adapter: proxy_mysql2 | |
| ... |
| /* | |
| * dropbox_ext4.c | |
| * | |
| * Compile like this: | |
| * gcc -shared -fPIC -ldl -o libdropbox_ext4.so dropbox_ext4.c | |
| * | |
| * Run Dropbox like this: | |
| * LD_PRELOAD=./libdropbox_ext4.so ~/.dropbox-dist/dropboxd | |
| */ | |
| import github3 | |
| # example code: | |
| github = Github( | |
| token='token', | |
| repo_name='some_repo', | |
| ) | |
| github.stage('articles/some_article.md', 'This is some new content') | |
| github.publish('commit message') |
| #!/bin/bash | |
| # if we are testing a PR, merge it with the latest master branch before testing | |
| # this ensures that all tests pass with the latest changes in master. | |
| set -eu -o pipefail | |
| PR_NUMBER=${CI_PULL_REQUEST//*pull\//} | |
| err=0 | |
| if [ -z "$PR_NUMBER" ]; then |
| #!/bin/bash | |
| # | |
| # This script will create xenial and trusty lxd images that will be used by the | |
| # lxd provider in juju 2.1+ It is for use with the lxd provider for local | |
| # development and preinstalls a common set of production packages. | |
| # | |
| # This is important, as between them, basenode and layer-basic install ~111 | |
| # packages, before we even get to any packages installed by your charm. | |
| # | |
| # It also installs some helpful development tools, and pre-downloads some |
| #!/bin/bash | |
| set -eu | |
| _UID=$(id -u) | |
| GID=$(id -g) | |
| # give lxd permission to map your user/group id through | |
| grep root:$_UID:1 /etc/subuid -qs || sudo usermod --add-subuids ${_UID}-${_UID} --add-subgids ${GID}-${GID} root | |
| # set up a separate key to make sure we can log in automatically via ssh | |
| # with $HOME mounted |
| $ juju ssh 0 | |
| machine-0# sudo apt-get install mongodb-clients | |
| machine-0# mongo --ssl -u admin -p $(grep oldpassword /var/lib/juju/agents/machine-0/agent.conf | awk -e '{print $2}') localhost:37017/admin | |
| MongoDB shell version: 2.4.9 | |
| connecting to: localhost:37017/admin | |
| juju:PRIMARY> db = db.getSiblingDB("juju") | |
| juju |