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
import boto3 | |
import requests | |
def handler(context, event): | |
url = "https://sisa.msal.gov.ar/datos/descargas/covid-19/files/datos_nomivac_covid19.zip" | |
session = requests.Session() | |
response = session.get(url, stream=True) | |
s3_bucket = "streambucket-shitposting" |
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
Dear BOSS, | |
Please accept this letter as formal notification that I am resigning from my position as JOB TITLE with COMPANY. My last day will be DATE OF LAST DAY. | |
Thank you so much for the opportunity to work in this position for the past DURATION. I’ve greatly enjoyed and appreciated the opportunities I’ve had to WTF DID YOU DO, and I’ve learned many things, all of which I will take with me throughout my career. | |
During my last two weeks, I’ll do everything possible to wrap up my duties and train other team members. Please let me know if there’s anything else I can do to aid during the transition. | |
I wish COMPANY continued success, and I hope to stay in touch in the future. | |
Sincerely, |
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
version: 0.2 | |
phases: | |
install: | |
commands: | |
- echo Entered the install phase... | |
- pip install -r requirements.txt | |
build: | |
commands: | |
- echo Entered the build phase... |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import argparse, sys, boto3, pprint | |
def count(my_list, my_key): | |
if my_key not in my_list: | |
return '0' | |
else: | |
return str(len(my_list[my_key])) |
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
l = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | |
h = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all |
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
# Alias hub to git if it's installed, otherwise don't blow up | |
if type "hub" > /dev/null; then | |
alias git=hub | |
fi | |
# Crappy OS X detection. This sets some Java and EC2 required nonsense. | |
if [[ -e /usr/local/Cellar ]]; then | |
export JAVA_HOME="$(/usr/libexec/java_home)" | |
export EC2_HOME="/usr/local/Library/LinkedKegs/ec2-api-tools/jars" | |
fi |
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
cquinn@Quinnertube(master|✚1…) ~/src/moreutils % make 4 13838 14:16:30 Sun 07-12-2015 | |
cc -O2 -g -Wall ifdata.c -o ifdata | |
ifdata.c:133:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration] | |
error(EXIT_FAILURE, 0, | |
^ | |
1 warning generated. | |
Undefined symbols for architecture x86_64: | |
"_error", referenced from: | |
_do_socket_ioctl in ifdata-0e01ad.o | |
_please_do in ifdata-0e01ad.o |
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
---------- | |
ID: rabbitmq_vhost_sensu | |
Function: rabbitmq_vhost.present | |
Name: sensu | |
Result: False | |
Comment: An exception occurred in this state: Traceback (most recent call last): | |
File "/usr/lib/python2.7/site-packages/salt/state.py", line 1563, in call | |
**cdata['kwargs']) | |
File "/usr/lib/python2.7/site-packages/salt/states/rabbitmq_vhost.py", line 84, in present | |
if any(user, owner, conf, write, read): |
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
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db | |
*.log | |
*.so | |
*.7z |
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
cquinn@Quinnertube ~/src/terraform-example % terraform plan 11 11981 16:25:09 Mon 06- 8-2015 | |
Error loading config: Error parsing /Users/cquinn/src/terraform-example/main.tf: Line 103, column 43: syntax error | |
cquinn@Quinnertube ~/src/terraform-example % wc -l main.tf [1] 0 11982 16:25:17 Mon 06- 8-2015 | |
100 main.tf |
NewerOlder