Skip to content

Instantly share code, notes, and snippets.

View azamara's full-sized avatar

William Kim azamara

View GitHub Profile
@azamara
azamara / gist:f4718312b445d09ab8964c0e848090ce
Created May 6, 2017 11:35 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@azamara
azamara / swagger-github-api.yml
Last active May 6, 2017 11:01
Swagger Github API
swagger: '2.0'
info:
description: This is a sample Github API
version: 1.0.0
title: Github API
termsOfService: 'http://swagger.io/terms/'
contact:
email: azamara@me.com
license:
name: Apache 2.0
@azamara
azamara / CloudCode.js
Created March 26, 2017 16:30 — forked from gimdongwoo/CloudCode.js
Background Job in Parse Server (node/cron)
// src/CloudCode.js
"use strict"
var Cron = require('./Cron');
var Job = require('./Job');
class CloudCode {
constructor(Parse, timezone){
this.Parse = Parse;
@azamara
azamara / dockerinstall_xenial.sh
Last active February 18, 2017 15:30 — forked from indykish/dockerinstall_xenial.sh
Install Docker 1.12 on Ubuntu Xenial 16.04.1 x64
# Install Docker on Xenial 16.04.1 x64
# Ref https://docs.docker.com/engine/installation/linux/ubuntulinux/
# No interactive for now.
# export DEBIAN_FRONTEND=noninteractive
# IMPORTANT
# # Add docker.list
# sudo echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list
# Update your APT package index.
sudo apt-get -y update
# Update package information, ensure that APT works with the https method, and that CA certificates are installed.
๋งˆ์ง€๋ง‰ ์‚ฌ์šฉ์ž ๋‹จ๊ณ„์—์„œ ๋ณด์—ฌ์ง€๋Š” ์—ฌ๋Ÿฌ๊ฐ€์ง€ ๋ถ„์„ ๋ฐ์ดํ„ฐ๋ฅผ ๋ชจ๋‹ˆํ„ฐ๋งํ•œ๋‹ค.
๊ณผ์—ฐ?
RUM ์ด๋ผ๋Š” ๊ธฐ๋Šฅ ์ž์ฒด๊ฐ€ ์ •๋ง๋กœ ๊ฐœ๋ฐœ์ž์—๊ฒŒ ํ•„์š”ํ•œ ๊ฒƒ์ธ๊ฐ€?
๋‹จ์ง€ ๋ธŒ๋ผ์šฐ์ €๋งŒ ๊ฐ€์ง€๊ณ  ๋ช‡๊ฐ€์ง€ ๊ณ ๋ฏผ์„ ํ•ด๋ณด์ž.
1. ๋ธŒ๋ผ์šฐ์ € ์ข…๋ฅ˜๊ฐ€ ๋„ˆ๋ฌด ๋งŽ๋‹ค.
2. ๋ธŒ๋ผ์šฐ์ € ์ข…๋ฅ˜๋ณ„๋กœ ์„ฑ๋Šฅ ์ฐจ์ด๊ฐ€ ์‹ฌํ•˜๊ฒŒ ๋‚  ์ˆ˜ ์žˆ๋‹ค.
@azamara
azamara / genymotionwithplay.txt
Created November 3, 2016 14:52 — forked from wbroek/genymotionwithplay.txt
Genymotion with Google Play Services
Download the following ZIPs:
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
Download the correct GApps for your Android version:
Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip)
Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip)
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)
Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip)
Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip)
@azamara
azamara / Android ๊ฐœ๋ฐœ์„ ์ˆ˜์ฃผํ•ด์„œ Kotlin์„ ์ œ๋Œ€๋กœ ์จ๋ดค๋”๋‹ˆ ์ตœ๊ณ ์˜€๋‹ค.md
Created September 4, 2016 14:25
Android ๊ฐœ๋ฐœ์„ ์ˆ˜์ฃผํ•ด์„œ Kotlin์„ ์ œ๋Œ€๋กœ ์จ๋ดค๋”๋‹ˆ ์ตœ๊ณ ์˜€๋‹ค๋ผ๋Š” ๊ธ€์„ ๋ฒˆ์—ญํ–ˆ์Šต๋‹ˆ๋‹ค.

Android ๊ฐœ๋ฐœ์„ ์ˆ˜์ฃผํ•ด์„œ Kotlin์„ ์ œ๋Œ€๋กœ ์จ๋ดค๋”๋‹ˆ ์ตœ๊ณ ์˜€๋‹ค.

๊ธ€์— ์•ž์„œ

์ด ๊ธ€์€ ์ผ๋ณธ์˜ omochimetaru๋‹˜์ด Qiita์— ์˜ฌ๋ฆฐ Android ๊ฐœ๋ฐœ์„ ์ˆ˜์ฃผํ•ด์„œ Kotlin์„ ์ œ๋Œ€๋กœ ์จ๋ดค๋”๋‹ˆ ์ตœ๊ณ ์˜€๋‹ค.๋ผ๋Š” ๊ธ€์„ ๋ฒˆ์—ญํ•ด์„œ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค. ๋ฒˆ์—ญ์„ ํ”์พŒํžˆ ํ—ˆ๋ฝํ•ด์ฃผ์‹  omochimetaru๋‹˜๊ป˜ ๊ฐ์‚ฌํ•˜๋‹ค๋Š” ๋ง์”€ ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ๋˜ํ•œ ๊ธ€์—์„œ ํ•œ๊ตญ์—์„œ๋Š” ์“ฐ์ด์ง€ ์•Š๋Š” ํ‘œํ˜„๋“ค ๋“ฑ์— ๋Œ€ํ•ด์„œ๋Š” ์˜์—ญ์ด ์„ž์—ฌ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ์  ์–‘ํ•ด ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ๋Šฆ์€ ์‹œ๊ฐ„๊นŒ์ง€ ์˜ค์—ญ์„ ์ฐพ๊ณ  ๋ฒˆ์—ญ์˜ ์งˆ์„ ๋†’์ด๋Š”๋ฐ ๋งŽ์€ ๋„์›€์„ ์ฃผ์‹œ๊ณ  ์˜คํžˆ๋ ค ์ €๋ณด๋‹ค ๋งŽ์ด ๊ณ ์ƒํ•ด์ฃผ์‹  ์ด์ƒํ•œ๋ชจ์ž„์˜ pluulove๋‹˜, chiyodad๋‹˜, lemonade๋‹˜๊ป˜๋„ ๊ฐ์‚ฌํ•˜๋‹ค๋Š” ๋ง์”€ ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ์ฝ์–ด์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

Kotlin์„ ์‹ค๋ฌด ํ”„๋กœ์ ํŠธ์—์„œ ์‚ฌ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค.

๋ฉฐ์น  ์ „, ์ œ๊ฐ€ ์†Œ์†๋œ Qoncept์—์„œ "๋ฆฌ์–ผ ์ˆ ๋ž˜์žก๊ธฐ"xํ›„์ง€ํ ํ•˜์ด๋žœ๋“œ ๊ฑฐ๋Œ€ ์œ ์›์ง€์—์„œ๋ถ€ํ„ฐ์˜ ๋„์ฃผ๋ฅผ ๊ฐœ๋ฐœํ–ˆ๊ณ  ์ถœ์‹œํ–ˆ์Šต๋‹ˆ๋‹ค.

@azamara
azamara / 0_reuse_code.js
Created September 3, 2016 15:32
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@azamara
azamara / gist:25b71f2fba9da0b94209cacb141995a5
Created July 16, 2016 16:20 — forked from tylersticka/gist:2045067
Simpler IE fixes with conditional comments and LESS

Simpler IE fixes with conditional comments and LESS

This assumes that you're using conditional comments on the html tag to define classes for certain versions of IE. This technique was originally proposed by Paul Irish and refined in the HTML5 Boilerplate to something like this:

<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->

You can omit the "no-js" class if you aren't using Modernizr, and feel free to remove or tweak the conditional comments to suit the versions of IE that actua

@azamara
azamara / HTML5 DTD with old IE conditional comments.html
Created July 16, 2016 16:14
HTML: IE conditional comment classes on HTML-tag
<!doctype html>
<!--[if IE 6]><html lang="nl" class="no-js ie lte9 lte8 lte7 ie6"><![endif]-->
<!--[if IE 7]><html lang="nl" class="no-js ie lte9 lte8 ie7"><![endif]-->
<!--[if IE 8]><html lang="nl" class="no-js ie lte9 ie8"><![endif]-->
<!--[if IE 9]><html lang="nl" class="no-js ie ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html lang="nl" class="no-js"><!--<![endif]-->