Skip to content

Instantly share code, notes, and snippets.

👌
I'm OK

Kei Son heycalmdown

👌
I'm OK
Block or report user

Report or block heycalmdown

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
@heycalmdown
heycalmdown / island-docker-entrypoint.sh
Created Oct 18, 2016
docker-entrypoint.sh for *-island
View island-docker-entrypoint.sh
#!/bin/bash
set -e
if [ "$1" = "--help" ]; then
echo "--help"
echo "--version"
exit
fi
if [ "$1" = "--version" ]; then
View dev-ver.js
process.env.WORKSPACE = process.env.WORKSPACE || '.';
const p = require(process.env.WORKSPACE + '/package.json');
const n = new Date();
const d = new Date(+n - (n.getTimezoneOffset() * 60000));
const v = p.version.split('-')[0] + '-dev.' + d.toISOString().slice(0, 10);
console.log(p.version, '->', v);
p.version = v;
const exec = require('child_process').execSync;
const fs = require('fs');
View nexter.js
const json = require('./package.json');
Object.keys(json.dependencies).forEach(i => {
if (isInHousePackage(i)) {
json.dependencies[i] = 'next';
}
});
Object.keys(json.devDependencies).forEach(i => {
if (isInHousePackage(i)) {
json.devDependencies[i] = 'next';
}
View island-types-to-next.js
const fs = require('fs');
const package = require('./package.json');
Object.keys(package.devDependencies).forEach(packageName => {
if (packageName.startsWith('@island/')) {
package.devDependencies[packageName] = 'next';
}
});
fs.writeFileSync('./package.json', JSON.stringify(package, null, 2) + '\n');
View merger.js
const inHousePackages = [
'@island/auth',
'@island/base',
'@island/garena',
'@island/gateway',
'@island/log',
'@island/mobile-tencent',
'@island/nexon-ngs',
'@island/nexon',
'@island/push',
View days.md

<script> const now = new Date(); const e = new Date(2009, 6, 1); const ediff = now - e; const d = document.getElementById("day"); d.innerText = [ "Working at EA ", Math.round(ediff / 1000 / 60 / 60 / 24) + " days" ].join(' ');
View resume.json
{
"basics": {
"name": "손경욱",
"label": "Senior Software Engineer",
"email": "hey.calmdown@gmail.com",
"phone": "010-6617-2134",
"summary": "2000년 게임 업계에 들어와서 구르다가 최근 10년은 EA에서 웹 스택으로 게임을 만들고 있습니다. 조직이 두 번째 성공을 하기 위해서 필요한 역량과 사람들에 대해 관심이 많습니다.",
"location": {
"address": "강남구 영동대로",
"city": "서울",
@heycalmdown
heycalmdown / cloudSettings
Last active May 12, 2020
vscode-setup-sync
View cloudSettings
{"lastUpload":"2020-05-12T02:19:39.773Z","extensionVersion":"v3.4.3"}
You can’t perform that action at this time.