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
sudo yum install fontconfig fontconfig-devel | |
wget http://downloads.sourceforge.net/project/openjpeg.mirror/1.5.0/openjpeg-1.5.0.tar.gz?r=&ts=1443868025&use_mirror=netcologne | |
tar -xvf openjpeg-1.5.0.tar.gz\?r\= | |
cd openjpeg-1.5.0 | |
./configure | |
make | |
sudo make install | |
cd .. | |
POPPLER='poppler-0.47.0' | |
wget https://poppler.freedesktop.org/$POPPLER.tar.xz |
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
#!/bin/bash -e | |
set -x | |
# Poppler is used by resume parser for a faster PDF data extraction. | |
# Deploy is a bit man ual and complicated because of the C libs involved | |
# the fact no pip is used (anaconda and not virtualenev) and that the | |
# Cmake version eeds to be be udpated as part of it. | |
CMAKE_VERSION='3.6.2' | |
POPPLER_VERSION="poppler-0.67.0" | |
TARGET_DIR='/opt/poppler' |
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
# Upload new product images to S3 and deliver via Cloudfront | |
Spree.config do |config| | |
attachment_config = { | |
s3_credentials: { | |
access_key_id: ENV.fetch("S3_ACCESS_KEY"), | |
secret_access_key: ENV.fetch("S3_SECRET"), | |
bucket: ENV.fetch("S3_BUCKET"), | |
}, |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
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
service: service-name | |
provider: | |
name: aws | |
runtime: nodejs6.10 | |
functions: | |
myfunc: | |
handler: handler.myfunc |
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 is a skeleton for testing models including examples of validations, callbacks, | |
# scopes, instance & class methods, associations, and more. | |
# Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
# | |
# I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
# so if you have any, please share! | |
# | |
# @kyletcarlson | |
# | |
# This skeleton also assumes you're using the following gems: |