I hereby claim:
- I am jgngo on github.
- I am jgngo (https://keybase.io/jgngo) on keybase.
- I have a public key ASDdpa3I24KwSZPHynrHOPqOedw_KJl8PTaqlH6o22FqJAo
To claim this, I am signing this object:
| {"type": "FeatureCollection", "features": [{"type": "Feature", "geometry": {"type": "Polygon", "coordinates": [[[120.57182232500008, 17.786033365000037], [120.6022255060001, 17.809284779000055], [120.69086868800002, 17.83457964200005], [120.713090887, 17.85995599300003], [120.72824914700004, 17.892507978000026], [120.78375228200004, 17.911236471000052], [120.82604262300005, 17.95475861500006], [120.85020468100005, 17.962860961000043], [120.89458557200008, 17.951472294000038], [120.9203956020001, 17.95626482200003], [120.9469459710001, 17.99709437600006], [120.9277503080001, 18.020743286000023], [120.93546188900007, 18.06899515000003], [120.92814130400008, 18.088193385000068], [120.97006946800002, 18.18186392000007], [120.92676405500005, 18.241938255000036], [120.91666636100001, 18.28456025600007], [120.94836326600011, 18.38169343000004], [120.94704360700008, 18.42062579300005], [120.96914518200002, 18.510116371000038], [120.97645367700012, 18.568958937000048], [120.92800873600004, 18.559397641000032], [120.89 |
| require('dotenv').config() | |
| const nodemailer = require("nodemailer"); | |
| // async..await is not allowed in global scope, must use a wrapper | |
| async function main() { | |
| let transporter = nodemailer.createTransport({ | |
| host: process.env.SMTP_HOST, | |
| port: process.env.SMTP_PORT, | |
| secure: true, |
| const fs = require("fs"); | |
| const axios = require("axios"); | |
| const INPUT_URL = | |
| "https://s3-ap-southeast-1.amazonaws.com/s3.philseven.com/public/cbs_stores.json"; | |
| const INPUT_FILE = "cbs_stores.json"; | |
| const OUTPUT_FILE = "solr_import.json"; | |
| // Get from URL |
| /** | |
| * Make sure Graphicsmagick is installed on your system | |
| * osx: brew install graphicsmagick | |
| * ubuntu: apt-get install graphicsmagick | |
| * | |
| * Install these gulp plugins | |
| * glup, gulp-image-resize, gulp-imagemin and imagemin-pngquant | |
| * | |
| * Group images according to their output dimensions. | |
| * (ex: place all portfolio images into "images/portfolio" |
I hereby claim:
To claim this, I am signing this object:
| $ ssh-keygen | |
| $ cat ~/.ssh/id_rsa.pub | ssh [email protected] "cat >> ~/.ssh/authorized_keys |