sudo apt-get install python3-pip
sudo pip3 install virtualenv
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare git@github.com:usi-systems/easytrace.git
https://realpython.com/blog/python/asynchronous-tasks-with-django-and-celery/
$ pip install celery
$ sudo apt-get install rabbitmq-server
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
| exports.handler = function(event, context, callback) { | |
| var aws = require('aws-sdk'); | |
| aws.config.update({region:'ap-southeast-2'}); | |
| var ecs = new aws.ECS(); | |
| var taskDefinition = 'nab-property-tool'; | |
| var serviceName = 'nab-property-tool'; | |
| var clusterName = 'default'; | |
| console.log("Creating new Task"); |
Just migrated it from Codepen.io to markdown. Credit goes to David Conner.
| Working with DOM | Working with JS | Working With Functions |
|---|---|---|
| Accessing Dom Elements | Add/Remove Array Item | Add Default Arguments to Function |
| Grab Children/Parent Node(s) | Add/Remove Object Properties | Throttle/Debounce Functions |
| Create DOM Elements | Conditionals |
$ pg_dump -h <public dns> -U <my username> -f <name of dump file .sql> <name of my database>$ psql -U <postgresql username> -d <database name> -f <dump file that you want to restore>| import random | |
| from datetime import datetime, timedelta | |
| min_year=1900 | |
| max_year=datetime.now().year | |
| start = datetime(min_year, 1, 1, 00, 00, 00) | |
| years = max_year - min_year+1 | |
| end = start + timedelta(days=365 * years) |
| ###### | |
| # Author: Marcello de Sales (marcello.desales@gmail.com) | |
| # Description: Create Create Environment Variables in EC2 Hosts from EC2 Host Tags | |
| # | |
| ### Requirements: | |
| # * Install jq library (sudo apt-get install -y jq) | |
| # * Install the EC2 Instance Metadata Query Tool (http://aws.amazon.com/code/1825) | |
| # | |
| ### Installation: | |
| # * Add the Policy EC2:DescribeTags to a User |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |