Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Learn how to reset your City of Austin Network password remotely from a Mac using Citrix AnyConnect.




There are a few special procedures and applications for City of Austin staff who want to work remotely using a Mac.
- "and replace with "- [ ] "



Project: label in Github. Fill out the "Description" field and use the hex code #3D3D3D for "Color." Use this label for all issues moving forward so that they render on the projects' website page and are easy to surface on Zenhub/Github. 


## Scope & Deliverables
What are we delivering? What’s in scope, and what isn’t? Describe constraints you’re working with, e.g. “Can’t impact **\_**‘s workflow,” known roadblocks.
## Desired Outcomes
Impact this project can have, success metrics
## Timebox
How long should this take to build; optional section w/ caveats for more complex projects.
## References
- Google Drive link The Data and Technology Services team is using GitHub and Zenhub for agile project management. This is an overview of our process.


https://data.austintexas.gov/resource/7d8e-dm7r.json?$query=select avg(trip_duration)/60 as avg_duration_minutes, sum(trip_distance) * 0.000621371 as total_miles, avg(trip_distance) * 0.000621371 as avg_miles, count(trip_id) as total_trips, date_extract_m(start_time) as month, date_extract_y(start_time) as year where trip_distance * 0.000621371 >= 0.1 and trip_distance * 0.000621371 < 500 and trip_duration < 86400 group by year, monthhttps://data.austintexas.gov/resource/7d8e-dm7r.json?$query=select vehicle_type, avg(trip_duration)/60 as avg_duration_minutes, sum(trip_distance) * 0.000621371 as total_miles, avg(trip_distance) * 0.000621371 as avg_miles, count(trip_id) as total_trips, date_extract_m(start_time) as month, date_extract_y(start_time) as year where trip_distance * 0.000621371 >= 0.1 and trip_distance * 0.000621371 < 500 and trip_duration < 86400 group by vehicle_type, year, monthhttps://data.austintexas.gov/resource/7d8e-dm7r.json?$query=select vehicle_type, avg(trip_duration)/60 as avg_duration_minutes, sum(trip_distance) * 0.000621371 as total_miles, avg(trip_distance) * 0.000621371 as avg_miles, count(trip_id) as total_trips, date_trunc_ymd(start_time) as date_ where trip_distance * 0.000621371 >= 0.1 and trip_distance * 0.000621371 < 500 and trip_duration < 86400 and date_extract_m(start_time) in (2, 3) and date_extract_y(start_time) = 2019 group by vehicle_type, date_trunc_ymd(start_time)

sudo docker images

$ twine upload dist/* python=3
setuptools
twine $ python setup.py bdist_wheel --universal>>> from tdutils import jobutil
>>> job = jobutil.Job(
name='my_etl_job',
url='http://transportation-data-test.austintexas.io/jobs',
source='inventory_system',
destination='data_warehouse',
auth='secret-json-web-token-issued-by-admin')>>> job.most_recent()
1529252405
# 2018-06-17T16:20:05+00:00>>> job.start()
{'destination': 'data_warehouse',
'end_date': None,
'id': 31801,
'message': None,
'name': 'my_etl_job',
'records_processed': None,
'source': 'inventory_system',
'start_date': '2018-06-17T17:18:53+00:00',
'status': 'in_progress'}>>> job.most_recent()
1529252405
# 2018-06-17T16:20:05+00:00>>> job.result('success', records_processed=503) # records_processed is optional, but preferred
{'destination': 'data_warehouse',
'end_date': '2018-06-17T17:35:08+00:00',
'id': 31801,
'message': None,
'name': 'my_etl_job',
'records_processed': 503,
'source': 'inventory_system',
'start_date': '2018-06-17T17:18:53+00:00',
'status': 'success'}>>> job.most_recent()
1529256005
# 2018-06-17T17:18:53+00:00'try:
# do ETL stuff
except psycopg2.DatabaseError as e:
job.result('error', records_processed=0, message='A database error occured.')sudo docker pssudo docker ps -adocker build --no-cache -t my-docker-image-name .sudo docker run -it -v /home/liangz:/app --rm -w /app/transportation-data-deploy atddocker/tdp bashsudo `which docker-compose` restartdocker build --no-cache -t atddocker/my-image:2.0.1 .docker push atddocker/my-image$ df -h$ vgdisplay /dev/mapper/root_vg$ lvextend -L +8G /dev/mapper/root_vg-var_lvfor shfile in *.sh; do sudo bash ./$shfile; donescp /Users/ZWL/Documents/GitHub/transportation-data-publishing/transportation-data-publishing/config/secrets.py liangz@atdatmsscript:transportation-data-publishing/transportation-data-publishing/config/ssh -i "<rse_key_filename>" ec2-user@<server_ip>$ sudo xfs_growfs /dev/mapper/root_vg-var_lv
