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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"time" | |
) | |
var examples = []string{ | |
"May 8, 2009 5:57:51 PM", |
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
GlobalRank | TldRank | Domain | TLD | RefSubNets | RefIPs | IDN_Domain | IDN_TLD | PrevGlobalRank | PrevTldRank | PrevRefSubNets | PrevRefIPs | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 1 | google.com | com | 433538 | 2685848 | google.com | com | 1 | 1 | 433260 | 2681373 | |
2 | 2 | facebook.com | com | 424676 | 2801784 | facebook.com | com | 2 | 2 | 424622 | 2798011 | |
3 | 3 | youtube.com | com | 385797 | 2246039 | youtube.com | com | 3 | 3 | 385738 | 2242980 | |
4 | 4 | twitter.com | com | 382560 | 2326484 | twitter.com | com | 4 | 4 | 382459 | 2323654 | |
5 | 5 | microsoft.com | com | 277478 | 911751 | microsoft.com | com | 5 | 5 | 277236 | 910864 | |
6 | 6 | linkedin.com | com | 268924 | 1198819 | linkedin.com | com | 6 | 6 | 268784 | 1197460 | |
7 | 1 | wikipedia.org | org | 264720 | 1119662 | wikipedia.org | org | 7 | 1 | 264623 | 1118414 | |
8 | 7 | plus.google.com | com | 261128 | 1320643 | plus.google.com | com | 8 | 7 | 261168 | 1319474 | |
9 | 8 | apple.com | com | 254083 | 928935 | apple.com | com | 9 | 8 | 254095 | 928197 |
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
[iam/terraform] (master) >>> terraform validate | |
2017/04/24 12:11:12 [INFO] Terraform version: 0.9.3 1601af7a076fd03fe940455db7fd01dfa747c795 | |
2017/04/24 12:11:12 [INFO] Go runtime version: go1.8 | |
2017/04/24 12:11:12 [INFO] CLI args: []string{"$HOME/bin/terraform", "validate"} | |
2017/04/24 12:11:12 [DEBUG] Detected home directory from env var: $HOME | |
2017/04/24 12:11:12 [DEBUG] Detected home directory from env var: $HOME | |
2017/04/24 12:11:12 [DEBUG] Attempting to open CLI config file: $HOME/.terraformrc | |
2017/04/24 12:11:12 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/04/24 12:11:12 [DEBUG] Detected home directory from env var: $HOME | |
2017/04/24 12:11:12 [INFO] CLI command args: []string{"validate"} |
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
resource "aws_iam_role" "role" { | |
name = "test_role" | |
assume_role_policy = "${data.aws_iam_policy_document.ec2-principal.json}" | |
} | |
resource "aws_iam_instance_profile" "test_profile" { | |
name = "test_profile" | |
role = "${aws_iam_role.role.name}" | |
} |
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
export X_BLUE="\033[0;34m" | |
export X_BOLD="\033[1m" | |
export X_CYAN="\033[1;36m" | |
export X_GREEN="\033[0;32m" | |
export X_NC="\033[0m" | |
export X_RED="\033[0;31m" | |
export X_YELLOW="\033[1;33m" | |
## |
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
[root@ip-10-17-6-4 ~]# curl -s http://169.254.169.254/latest/meta-data/ami-id | |
ami-4444c72c | |
====================================================================================================== | |
[root@ip-10-17-6-4 ~]# cat /etc/*rel* | |
CentOS Linux release 7.0.1406 (Core) | |
cat: /etc/lsb-release.d: Is a directory | |
NAME="CentOS Linux" | |
VERSION="7 (Core)" | |
ID="centos" | |
ID_LIKE="rhel fedora" |
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
<Flow name="UseCase1"> | |
<!-- Cassandra Heavy! --> | |
<Request> | |
<Step> | |
<FaultRules/> | |
<Name>ValidateKey</Name> | |
<Condition>request.queryparam._excludeVerify != "false"</Condition> | |
</Step> | |
<Step> |
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
# Set this if the PATH is different for sudo. | |
alias sudo='sudo env PATH=$PATH' |
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
#user nobody; | |
worker_processes 8; | |
worker_rlimit_nofile 100000; | |
events { | |
worker_connections 4000; | |
# optmized to serve many clients with each thread, essential for linux | |
use epoll; |
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
### | |
# THIS NGINX IS TUNED FOR PERFORMANCE | |
### | |
#user nobody; | |
worker_processes 8; | |
worker_rlimit_nofile 100000; | |
events { |
NewerOlder