Skip to content

Instantly share code, notes, and snippets.

🐙
PLING

felipekm felipekm

🐙
PLING
Block or report user

Report or block felipekm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@felipekm
felipekm / nginx_leatest_install_amazon_linux
Last active Nov 7, 2017 — forked from nasa114/nginx_leatest_install_amazon_linux
nginx with OpenSSL 1.0.2 (ALPN) on Amazon Linux(2016.03)
View nginx_leatest_install_amazon_linux
sudo yum -y install epel-release
sudo yum -y groupinstall 'Development Tools'
sudo yum -y install wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel
OPENSSL="openssl-1.0.2i"
NGINX="nginx-1.11.4-1"
sudo mkdir -p /opt/lib
sudo wget https://www.openssl.org/source/$OPENSSL.tar.gz -O /opt/lib/$OPENSSL.tar.gz
sudo tar -zxvf /opt/lib/$OPENSSL.tar.gz -C /opt/lib
@felipekm
felipekm / appspec.yml
Created Nov 3, 2016 — forked from moshest/appspec.yml
Node.js Project on AWS CodeDeploy CentOS
View appspec.yml
version: 0.0
os: linux
files:
- source: /
destination: /home/ec2-user/node
permissions:
- object: /home/ec2-user
owner: ec2-user
group: ec2-user
type:
@felipekm
felipekm / AppSpec.yml
Last active Nov 3, 2016 — forked from makeittotop/gist:1394226fec1c9c27fb72f728e92a6870
AWS CodeDeploy Sample appspec.yml
View AppSpec.yml
version: 0.0
os: linux
files:
- source: /index.html
destination: /var/www/html/
hooks:
BeforeInstall:
- location: scripts/install_dependencies
timeout: 300
runas: root
@felipekm
felipekm / thoughts.md
Created May 17, 2016 — forked from floatdrop/thoughts.md
Error management in gulp
View thoughts.md

#Error management in gulp

Sucking at something is the first step to becoming sorta good at something

No one can assure you, that plugins will run smooth in any circumstances (except for tests - they could), so neither should you convince anyone, that your plugin will never break. Only thing, that you could possibly do (if something gone wrong) - is gracefully inform your plugin user, that something went wrong and die.

We are will use this plugin from beginning to demonstrate error management. Suppose you have a task in gulpfile.js that contains this code (we modified it a little bit to be closer to real-usage):

var coffee = require('gulp-coffee');
You can’t perform that action at this time.