Skip to content

Instantly share code, notes, and snippets.

#NPM Shrinkwrap Workflow

Our workflow consists of the following steps:

  1. Hack on changes and merge to master
  2. CI detects commits to master and runs tests
  3. CI machine runs npm test
  4. Once tests pass, deployable artifact is built on separate system - call this the "build phase"
  5. Build machine runs npm install to install dependencies
  6. Build machine creates gzipped tarball (which includes dependencies) and pushes gzip file to artifact server

Features

Proxy / Cache

Mailgun (회원가입 시 통보메일)

-Push (푸시기능)

-Share (공유기능)

-Localization (중국어/영어)

Services

MongoDB Replica

@AilisObrian
AilisObrian / 1.consul.sh
Created July 28, 2016 06:42
Consul & Envconsul Test.
consul agent -data-dir=~/projects/consul -server -ui -bootstrap
MITMPROXY_SSLKEYLOGFILE=/tmp/sslkeylog ./mitmproxy --w /tmp/mitmproxy --anticache
@AilisObrian
AilisObrian / 0.README.md
Last active January 23, 2017 10:57
Node.JS 개발 환경 구성!

최신 Node.js 설치 및 사용

  • $로 시작하는 줄은, 한줄 한줄 복사해서 터미널에서 실행해주셔야합니다.
  • 터미널을 재시작 하여야 할 수도 있습니다.
    • 재시작 후, 현재 작업하는 폴더로 다시 이동해주셔야합니다.
@AilisObrian
AilisObrian / README.md
Last active September 23, 2016 07:23
Backspace deletes +1 letter when we use the Korean letters

Environment:

  • Mac OS X El Capitan 10.11.6
  • XMind 7.5 Update 1 (R3.6.51.201607142338)

Happened:

  • Pressing the backspace for deleting last one letter, 2 letter deleted.

Expected:

  • Pressing the backspace for deleting last one letter, 1 letter deleted.
@AilisObrian
AilisObrian / custom-schedule.component.ts
Last active March 9, 2021 06:47
PrimeNG's Schedule Component refactored for overriding FullCalendar's configs @ ngOnInit().
import {
Component,
ElementRef,
IterableDiffers,
OnInit,
Input,
Output,
EventEmitter,
} from '@angular/core';
import { Schedule } from 'primeng/primeng';
### Keybase proof
I hereby claim:
* I am ailisobrian on github.
* I am obrian (https://keybase.io/obrian) on keybase.
* I have a public key ASA2FXFutC3I60GeRxao6LBYujn-VeLvWJ-S8uUbveREHQo
To claim this, I am signing this object:
@AilisObrian
AilisObrian / tm-pushover.sh
Created January 6, 2017 19:34 — forked from adamlazz/tm-pushover.sh
Time Machine backup completion notifications using Pushover
#!/bin/sh
running(){
tmutil status | grep "Running" | awk '{print $3}' | cut -c 1
}
notify() {
DATE=`date`
curl -s \
-F "token=<use your own>" \
@AilisObrian
AilisObrian / mongoose-connection-options.js
Created January 12, 2017 11:42
mLab recommended mongoose connection options. More supported connections for the underlying Node Native driver can be found here: http://mongodb.github.io/node-mongodb-native/
// mongoose 4.3.x
var mongoose = require('mongoose');
/*
* Mongoose by default sets the auto_reconnect option to true.
* We recommend setting socket options at both the server and replica set level.
* We recommend a 30 second connection timeout because it allows for
* plenty of time in most operating environments.
*/
var options = { server: { socketOptions: { keepAlive: 300000, connectTimeoutMS: 30000 } },