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
#!/bin/bash | |
set +e | |
VBoxManage controlvm saio_vm poweroff | |
VBoxManage unregistervm saio_vm --delete | |
rm /home/john/vbox_storage/saio_vm/* | |
set -e |
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
#!/bin/bash | |
# turn off video by default | |
echo "disabling automatic video" | |
defaults write ~/Library/Preferences/us.zoom.config.plist ZDisableVideo 1 | |
# turn off the zoom web server | |
echo "turn off the zoom webserver" | |
lsof -i :19421 | tail -1 | cut -f2 -d' ' | xargs kill -9 |
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/env python3.7 | |
# pretty-print columns of text | |
import sys | |
def table_print(lines_to_print, padding=3): | |
"""Given a list of tuples/lists, print a nicely formatted .rst table""" |
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 datetime import date | |
import calendar | |
my_date = date.today() | |
today = calendar.day_name[my_date.weekday()] | |
if today.endswith('y'): | |
print 'Today is a good day for a release!' | |
else: | |
print 'Probably best to wait for a release' |
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
#gerrit_body .gwt-Image { | |
width: 15px !important; | |
height: 15px !important; | |
} | |
#gerrit_body .changeTable .dataCell a.gwt-InlineHyperlink { | |
white-space: nowrap !important; | |
} |
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
#gerrit_body .gwt-Image { | |
width: 15px !important; | |
height: 15px !important; | |
} | |
#gerrit_body .changeTable .dataCell a.gwt-InlineHyperlink { | |
white-space: nowrap !important; | |
} |
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
What are you working on right now (related to Swift or Swift-ecosystem things)? | |
Of the things going on that you know about, what's the most important? | |
What are you excited about in Swift? | |
What are you worried about in Swift? |
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
Last login: Tue Nov 24 14:41:49 on ttys001 | |
john>europa>~>$ testtoken | pbcopy | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/ | |
HTTP/1.1 204 No Content | |
Content-Type: text/plain; charset=utf-8 | |
X-Account-Object-Count: 0 | |
X-Timestamp: 1448404927.22093 | |
X-Account-Bytes-Used: 0 | |
X-Account-Container-Count: 0 | |
X-Put-Timestamp: 1448404927.22093 |
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
swift@saio:~/swift$ tox -e func | |
func develop-inst-nodeps: /home/swift/swift | |
func runtests: commands[0] | nosetests test/functional | |
TestAccount | |
test_account_acls OK 0.43 | |
test_admin_acl OK 0.20 | |
test_bad_metadata OK 0.10 | |
test_bad_metadata2 OK 0.13 | |
test_bad_metadata3 OK 0.10 |
NewerOlder