I hereby claim:
- I am newtonlabs on github.
- I am tnewton (https://keybase.io/tnewton) on keybase.
- I have a public key ASClyl03ORD0iM2ZyQFcp8IsO7GrxOuasmyU4wc1R6jHggo
To claim this, I am signing this object:
| # Author: Thomas Newton | |
| # Script to iterate across Domain Controllers looking for names and properties | |
| # Inputs: Defined in the inputs section below | |
| # Output: A CSV file located in the $report | |
| # Define the inputs to be used | |
| $domains = Get-Content "c:\vagrant\reports\domains.tsv" # File of domains | |
| $names = Get-Content "c:\vagrant\reports\names.tsv" # File of logins | |
| $attributes = "samAccountName","displayName","mail" # Attributes | |
| $report = "c:\vagrant\reports\report.csv" # Output report |
| Rails.application.routes.draw do | |
| # The priority is based upon order of creation: first created -> highest priority. | |
| # See how all your routes lay out with "rake routes". | |
| # You can have the root of your site routed with "root" | |
| # root 'welcome#index' | |
| # Example of regular route: | |
| # get 'products/:id' => 'catalog#view' |
| #!/bin/bash | |
| set -e | |
| set -o pipefail | |
| if [[ ! -e ~/go ]];then | |
| wget -O /tmp/go.tgz https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz | |
| cd ~ && tar xvzf /tmp/go.tgz | |
| fi |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # This script will mount /Users in the boot2docker VM using NFS (instead of the | |
| # default vboxsf). It's probably not a good idea to run it while there are | |
| # Docker containers running in boot2docker. | |
| # | |
| # Usage: sudo ./boot2docker-use-nfs.sh | |
| # |
| #!/bin/bash | |
| # | |
| # This script will mount /Users in the boot2docker VM using NFS (instead of the | |
| # default vboxsf). It's probably not a good idea to run it while there are | |
| # Docker containers running in boot2docker. | |
| # | |
| # Usage: sudo ./boot2docker-use-nfs.sh | |
| # |
| #!/bin/bash | |
| set -e | |
| set -x | |
| read -r -d '' attach_eth1_eni <<'EOF' | |
| #!/bin/bash | |
| function log () { | |
| echo "$(date +"%b %e %T") $@" |
| DOCKER_IP=$(docker-machine ip canvas) | |
| # Consul | |
| docker run -p 8400:8400 -p 8500:8500 -p 8600:53/udp -h node1 progrium/consul -server -bootstrap -advertise 10.0.2.15 | |
| IP_FROM_CONSOL= # => Have to pull it out of the logs that spam from above command | |
| # Registrator | |
| docker run -v /var/run/docker.sock:/tmp/docker.sock --name registrator -h registrator --rm gliderlabs/registrator:latest -internal consul://$DOCKER_IP:8500 |
| var netSales = hql() | |
| .debug(true) | |
| .dataset('YTD Net Sales') | |
| .url('{gr.path.data.big-picture-spark-net-sales}') | |
| .sort([{"_insert_order": "desc"}]); | |
| var netSalesMix = hql() | |
| .debug(true) | |
| .dataset('YTD Net Sales Mix') | |
| .url('{gr.path.data.big-picture-spark-net-sales-mix}') | |
| .sort([{"_insert_order": "asc"}]); |