Skip to content

Instantly share code, notes, and snippets.

View nowthatsamatt's full-sized avatar

Matthew Cupples nowthatsamatt

  • American Fork, UT
  • 05:57 (UTC -07:00)
View GitHub Profile
[2018-02-15 14:27:44] ~ $ aws s3api get-bucket-acl --bucket metamx-adobeadcloud-share
GRANTS FULL_CONTROL
GRANTEE statscruncher fe098a1f2018c9b6265d2fe65f7e1064c0e6d547ae9ea1313183ee2c69592d71 CanonicalUser
OWNER statscruncher fe098a1f2018c9b6265d2fe65f7e1064c0e6d547ae9ea1313183ee2c69592d71
[2018-02-15 14:30:59] ~ $
[2018-02-15 14:31:16] ~ $ aws s3api get-object-acl --bucket metamx-adobeadcloud-share --key Metadata/ad/000000
GRANTS FULL_CONTROL
GRANTEE adobeaws784 40f5d31b71b16461b47327f2ec7fb1dcbf723eb4dfeaeb2963f85c72ce87eebd CanonicalUser
OWNER adobeaws784 40f5d31b71b16461b47327f2ec7fb1dcbf723eb4dfeaeb2963f85c72ce87eebd
[2018-02-15 14:31:17] ~ $
{
"Version": "2008-10-17",
"Id": "Metamarkets-Ingestion-Bucket-Access-c31b3dd9-68df-470f-a0d3-9df6c0d31b21",
"Statement": [
{
"Sid": "Metamarkets Ingestion Bucket List",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::129703041870:user/svc_qubole_tm_ae",
### Keybase proof
I hereby claim:
* I am nowthatsamatt on github.
* I am nowthatsamatt (https://keybase.io/nowthatsamatt) on keybase.
* I have a public key whose fingerprint is FEC7 08CC FDEB 881A 191A 461A 9DA2 1C60 A211 DA75
To claim this, I am signing this object:
@nowthatsamatt
nowthatsamatt / gist:9265739622eaaea0f406
Created January 13, 2015 19:47
crontab opening comments
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | | <<< commands >>>
#!/bin/bash
sandbox_path='/home/SANDBOX/www/yaytime/website/sandbox'
userdir_array=($(ls -l /home/SANDBOX/www/yaytime/website/sandbox|awk '{print $9}'))
for i in "${userdir_array[@]}"; do
ls -tlh $sandbox_path/$i|tail -n$(expr $(ls -tlh|wc -l) - 11)|awk '{print $9}'|xargs -t -L 1 rm $sandbox_path/$i/
done
GOOD DAY.
URGENT - HELP ME DISTRIBUTE MY $12 MILLION TO HUMANITARIAN.
THIS MAIL MIGHT COME TO YOU AS A SURPRISE AND THE TEMPTATION TO IGNORE IT
AS UNSERIOUS COULD COME INTO YOUR MIND BUT PLEASE CONSIDER IT A DIVINE
WISH AND ACCEPT IT WITH A DEEP SENSE OF HUMILITY. I AM MRS HELEN GEORGE
AND I AM A 61 YEARS OLD WOMAN. I AM A SOUTH AFRICAN MARRIED TO A SIERRA
violence:notes nowthatsamatt$ grep -rli "rabbit" *
chef/cookbooks/nagios/templates/default/commands.cfg.erb
ops/backups/good.hosts
ops/backups/nagios3/.git/index
ops/backups/nagios3/conf.d/commands/check_rabbitmq_consumptions.cfg
ops/backups/nagios3/conf.d/commands/statusoverload.cfg
ops/backups/nagios3/conf.d/commands.cfg
ops/backups/nagios3/conf.d/hosts/awesm.cfg
ops/backups/nagios3/conf.d/services/awesm-services.cfg
ops/backups/nagios3/conf.d/services/statusoverload-services.cfg
violence:notes nowthatsamatt$ grep -rli "check_rabbitmq_consumptions" *
ops/backups/nagios3/.git/index
ops/backups/nagios3/conf.d/commands/check_rabbitmq_consumptions.cfg
ops/backups/nagios3/conf.d/services/awesm-services.cfg
violence:notes nowthatsamatt$ cat ops/backups/nagios3/conf.d/commands/check_rabbitmq_consumptions.cfg
define command{
command_name check_rabbitmq_consumptions
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_rabbitmq_consumptions -t 30
}
core@ip-172-31-30-235 ~ $ sudo docker -H 172.31.30.235:4243 -d
[/var/lib/docker|e33a32cd] +job serveapi(tcp://172.31.30.235:4243)
[/var/lib/docker|e33a32cd] +job initserver()
[/var/lib/docker|e33a32cd.initserver()] Creating server
2014/04/30 16:16:33 Listening for HTTP on tcp (172.31.30.235:4243)
2014/04/30 16:16:33 /!\ DON'T BIND ON ANOTHER IP ADDRESS THAN 127.0.0.1 IF YOU DON'T KNOW WHAT YOU'RE DOING /!\
@nowthatsamatt
nowthatsamatt / manly-names
Last active August 29, 2015 13:55
Collection of manly names duh.
SMACK PUNCHDEATH
JAM HEADSTRIKE
BUZZ KILLINGTON
BUTTZ IRONDUKES
TURD BURGLINGTON
SLURGE ROCKMEAT
BLAKE STONE
LUNGE KILLINGTON
BUFF SMASHINGTON
SLAB IRONSTROKE