cd k8s-specs
git pull
cd clusterThis is a responsive layout that features a full screen "hero" video with a hardware accelerated parallax scrolling effect. You can play/pause the video at any time, set different scroll rates to as many elements as you like as well as add additional CSS transitions using jQuery.
A Pen by Mark Hillard on CodePen.
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.
| from collections import defaultdict | |
| import boto3 | |
| """ | |
| A tool for retrieving basic information from the running EC2 instances. | |
| """ | |
| # Connect to EC2 | |
| ec2 = boto3.resource('ec2') |
#Django Test Database Error 1005 8/1/2015
Environment
- Django 1.8.3
- MySQL 5.5
When running python manage.py test I was receiving the following error
| #!/usr/bin/env python | |
| import i3 | |
| outputs = i3.get_outputs() | |
| workspaces = i3.get_workspaces() | |
| # figure out what is on, and what is currently on your screen. | |
| workspace = list(filter(lambda s: s['focused']==True, workspaces)) | |
| output = list(filter(lambda s: s['active']==True, outputs)) |
| mkdir -p tasks handlers templates files vars meta ; touch tasks/main.yml handlers/main.yml vars/main.yml meta/main.yml |
| # check if job exists | |
| curl -XGET 'http://jenkins/checkJobName?value=yourJobFolderName' --user user.name:YourAPIToken | |
| # with folder plugin | |
| curl -s -XPOST 'http://jenkins/job/FolderName/createItem?name=yourJobName' --data-binary @config.xml -H "Content-Type:text/xml" --user user.name:YourAPIToken | |
| # without folder plugin | |
| curl -s -XPOST 'http://jenkins/createItem?name=yourJobName' --data-binary @config.xml -H "Content-Type:text/xml" --user user.name:YourAPIToken | |
| # create folder |
| """A basic database set-up for Travis CI. | |
| The set-up uses the 'TRAVIS' (== True) environment variable on Travis | |
| to detect the session, and changes the default database accordingly. | |
| Be mindful of where you place this code, as you may accidentally | |
| assign the default database to another configuration later in your code. | |
| """ | |
| import os |
