An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| import boto3 | |
| import datetime | |
| import json | |
| from requests_aws4auth import AWS4Auth | |
| import requests | |
| boto3.setup_default_session(region_name='us-east-1') | |
| identity = boto3.client('cognito-identity', region_name='us-east-1') | |
| account_id='XXXXXXXXXXXXXXX' |
| <html> | |
| <head> | |
| <title>Animated Circle Using d3.js</title> | |
| <script src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
| </head> | |
| <body> | |
| <table> | |
| <tr> | |
| <td> |
| {"objects":[ | |
| {"circle":{"coordinates":[-41.28,174.77]}}, | |
| {"circle":{"coordinates":[-41.29,174.76]}}, | |
| {"circle":{"coordinates":[-41.30,174.79]}}, | |
| {"circle":{"coordinates":[-41.27,174.80]}}, | |
| {"circle":{"coordinates":[-41.29,174.78]}} | |
| ]} |
| #!/usr/bin/env python | |
| # | |
| # Author: Chris Jones <cjones303@bloomberg.net> | |
| # Copyright 2017, Bloomberg Finance L.P. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 |
An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| # first of all, you need a Ubuntu machine, and ideally 14.04 LTS. | |
| ├── work/ | |
| ├── ansible-deployment | |
| ├── ansible-deployment-master.tgz | |
| ├── bde-processor-deployment | |
| └── bde-processor-deployment.git.tgz | |
| #!/bin/sh |
| sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo | |
| sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo | |
| sudo yum install -y apache-maven | |
| mvn --version |