Skip to content

Instantly share code, notes, and snippets.

@AilisObrian
AilisObrian / git-summary.sh
Created May 23, 2017 — forked from gimbo/git-summary.sh
git-summary.sh - summarise git repos in some folder
View git-summary.sh
#!/bin/bash
# git-summary - summarise git repos at some path
#
# Adapted from https://gist.github.com/lmj0011/1a8dd1e376234ac7bf0fba2748ecdd0f
#
# Andy Gimblett, March 2017
usage() {
@AilisObrian
AilisObrian / Appfile.rb
Created May 12, 2017 — forked from ravishtiwari/Appfile.rb
Ionic Build IPA with Fastlane tool
View Appfile.rb
app_identifier "com.yourorganization.mytodoapp" # The bundle identifier of your app
apple_id "<You Apple Id>" # Your Apple email address
# You can uncomment any of the lines below and add your own
# team selection in case you're in multiple teams
# team_name "CAMobileApp"
# team_id "Q2CBPJ58CA"
# you can even provide different app identifiers, Apple IDs and team names per lane:
# https://github.com/KrauseFx/fastlane/blob/master/docs/Appfile.md
@AilisObrian
AilisObrian / README.md
Last active Apr 25, 2017
Angular4 update async with docker-compose
View README.md

새 npm package를 맞이하는 과정

이상

  1. npm run check로 우리가 사용하는 패키지에 업데이트가 있음을 확인한다.
  2. package.json에서 그 패키지의 버전을 최신으로 고정한다. (또는, 언제나 최신을 따라갈 수 있도록 ^(Caret)를 적절히 활용한다.)
  3. npm install을 하면, 새 패키지를 받아온다.
  4. 새 패키지로 행복하고 재밌게 개발을 한다.

현실

  1. npm run check로 우리가 사용하는 패키지에 업데이트가 있음을 확인한다.
@AilisObrian
AilisObrian / cloudSettings
Last active Aug 10, 2017
Visual Studio Code Sync Settings Gist
View cloudSettings
{"lastUpload":"2017-07-26T09:13:57.753Z","extensionVersion":"v2.8.2"}
@AilisObrian
AilisObrian / mongoose-connection-options.js
Created Jan 12, 2017
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/
View mongoose-connection-options.js
// 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 } },
@AilisObrian
AilisObrian / tm-pushover.sh
Created Jan 6, 2017 — forked from adamlazz/tm-pushover.sh
Time Machine backup completion notifications using Pushover
View tm-pushover.sh
#!/bin/sh
running(){
tmutil status | grep "Running" | awk '{print $3}' | cut -c 1
}
notify() {
DATE=`date`
curl -s \
-F "token=<use your own>" \
View gist:d1f4465123dd1637a9cc165503bd3ca0
### 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 / custom-schedule.component.ts
Last active Mar 9, 2021
PrimeNG's Schedule Component refactored for overriding FullCalendar's configs @ ngOnInit().
View custom-schedule.component.ts
import {
Component,
ElementRef,
IterableDiffers,
OnInit,
Input,
Output,
EventEmitter,
} from '@angular/core';
import { Schedule } from 'primeng/primeng';
@AilisObrian
AilisObrian / README.md
Last active Sep 23, 2016
Backspace deletes +1 letter when we use the Korean letters
View README.md

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 / 0.README.md
Last active Jan 23, 2017
Node.JS 개발 환경 구성!
View 0.README.md

최신 Node.js 설치 및 사용

  • $로 시작하는 줄은, 한줄 한줄 복사해서 터미널에서 실행해주셔야합니다.
  • 터미널을 재시작 하여야 할 수도 있습니다.
    • 재시작 후, 현재 작업하는 폴더로 다시 이동해주셔야합니다.