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
" vim:fdm=marker | |
" | |
" ============================================================================= | |
" vim-plug {{{ | |
" ============================================================================= | |
call plug#begin('~/.vim/bundle') | |
function! BuildYCM(info) | |
" info is a dictionary with 3 fields |
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
from django.http import HttpResponse | |
PIXEL_GIF_DATA = """ | |
R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 | |
""".strip().decode('base64') | |
def pixel_gif(request): | |
return HttpResponse(PIXEL_GIF_DATA, content_type='image/gif') |
In order to run this image do:
docker-compose up -d
to get all up.
On first run DB initialization and initial user setup is done like so:
First start a bash in the container: docker-compose exec sentry /bin/bash
.
Then, inside bash, do sentry upgrade
wait until it asks you for an inital user.
When finished exit
the bash.
When in doubt check with docker-compose ps
if all went fine.
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
Description: Generic AWS VPC Networking | |
Parameters: | |
PrivateToInternetAccess: | |
Type: String | |
Description: If true, NAT Gateways and Elastic IPs will be created for the internet access from private subnets. | |
AllowedValues: | |
- "false" | |
- "true" | |
Default: "false" | |
CidrPrefix: |
Feel free to contact me at robert.balicki@gmail.com or tweet at me @statisticsftw
This is a rough outline of how we utilize next.js and S3/Cloudfront. Hope it helps!
It assumes some knowledge of AWS.