Skip to content

Instantly share code, notes, and snippets.

@anhdn
anhdn / dev.yml
Created October 14, 2020 04:17 — forked from maxkostinevich/dev.yml
Github Actions - Deploy Serverless Framework (AWS)
#
# Github Actions for Serverless Framework
#
# Create AWS_KEY and AWS_SECRET secrets in Github repository settings
# If you're using env.yml file, store its content as ENV Github secret
#
# Master branch will be deployed as DEV and every new tag starting with "v**" (e.g. v1.0, v1.2, v2.0, etc) will be deployed as PROD
#
# Learn more: https://maxkostinevich.com/blog/how-to-deploy-serverless-applications-using-github-actions/
#
@anhdn
anhdn / sitemap
Last active April 15, 2017 16:50
https://jamja.vn/khuyen-mai/ah-yat-abalone-fans/thuong-thuc-menu-mon-a-thuong-hang-cuc-sang-trong-giam-toi-50-0
https://jamja.vn/khuyen-mai/gogi-house-0/mung-don-dien-mao-moi-toanh-uu-dai-tang-ba-chi-bo-my-kem-cuc-da-0
https://jamja.vn/khuyen-mai/crown-space-0/sam-giay-xinh-cho-be-dong-gia-chi-tu-289k-di-cang-som-gia-cang-re-0
https://jamja.vn/khuyen-mai/dgc-selection/banh-bao-cung-loat-thiet-ke-so-mi-lich-lam-uu-dai-giam-toi-30-0
https://jamja.vn/khuyen-mai/kfc-0/combo-gia-shock-ga-ran-gion-tan-pepsi-mat-lanh-chi-29k-0
@anhdn
anhdn / install-comodo-ssl-cert-for-nginx.rst
Created March 2, 2017 11:57 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

require('babel-polyfill');
// Webpack config for development
var fs = require('fs');
var path = require('path');
var webpack = require('webpack');
var helpers = require('./helpers');
var assetsPath = path.resolve(__dirname, '../static/dist');
var host = (process.env.HOST || 'localhost');