Skip to content

Instantly share code, notes, and snippets.


felipekm felipekm

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 / 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
sudo mkdir -p /opt/lib
sudo wget$OPENSSL.tar.gz -O /opt/lib/$OPENSSL.tar.gz
sudo tar -zxvf /opt/lib/$OPENSSL.tar.gz -C /opt/lib
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
- source: /
destination: /home/ec2-user/node
- object: /home/ec2-user
owner: ec2-user
group: ec2-user
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
- source: /index.html
destination: /var/www/html/
- location: scripts/install_dependencies
timeout: 300
runas: root
felipekm /
Created May 17, 2016 — forked from floatdrop/
Error management in gulp

#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.