Skip to content

Instantly share code, notes, and snippets.

View Jehong-Ahn's full-sized avatar

Jehong Ahn Jehong-Ahn

  • Seoul, South Korea
View GitHub Profile
@Jehong-Ahn
Jehong-Ahn / hunet_hrd.user.js
Last active November 1, 2023 03:21
휴넷 자동진행
// ==UserScript==
// @name 휴넷 HRD 자동진행
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 휴넷 HRD 자동진행
// @author JH
// @match https://study.hunet.co.kr/contents/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=hunet.co.kr
// @grant none
// ==/UserScript==
@Jehong-Ahn
Jehong-Ahn / create-layer.sh
Last active August 18, 2021 05:51
Publish AWS Lambda Layer
#!/bin/bash
packages=$1
select="select(.key==\"${1// /\" or .key==\"}\")"
esc1=${1// /__}
esc2=${esc1//[\/]/-}
esc3=${esc2//[^a-zA-Z0-9-_]/}
name=${esc3:0:64}
@Jehong-Ahn
Jehong-Ahn / code.gs
Created September 17, 2018 07:46
조편성 프로그램
var sheet = SpreadsheetApp.getActiveSheet();
var room = "";
var token = "";
var sheetUrl = "";
function chatClear() {
clear();
chat(
"오늘은 런치미팅을 진행합니다.\n"
+ "12시 30분까지 아래 시트에 부재사유 및 추가인원을 기입하여 주십시오.\n"
@Jehong-Ahn
Jehong-Ahn / quire.css
Last active October 26, 2019 16:57
Enhance quire.io
#body .ws-cnt-wrap { padding-left: 0; }
#task-tree:before {
content: "";
visibility: visible;
position: absolute;
width: 21px;
height: 100%;
margin-left: 68px;
border-left: 1px dotted #9ac656;
@Jehong-Ahn
Jehong-Ahn / snippets.cson
Created September 6, 2016 11:42
atom snippet
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
function createCORSRequest(method, url) {
var xhr = new XMLHttpRequest();
if ("withCredentials" in xhr) {
// XHR for Chrome/Firefox/Opera/Safari.
xhr.open(method, url, true);
} else if (typeof XDomainRequest != "undefined") {
// XDomainRequest for IE.
xhr = new XDomainRequest();
xhr.open(method, url);
} else {
@Jehong-Ahn
Jehong-Ahn / form-load.js
Created May 27, 2016 09:06
jQuery form loader
function formLoad(data){
$.each(data, function(key, val){
var $el = $("[name="+key+"]:first");
var tagName = $el.prop("tagName");
var type = $el.attr("type");
@Jehong-Ahn
Jehong-Ahn / swagger.yaml
Last active May 12, 2016 00:52
Social Monitoring API
swagger: '2.0'
info:
title: Social Monitoring API
description: |
# Firebase ################################
version: '1.0.0'
host: 'appspot.com'
basePath: '/v1'
schemes:
@Jehong-Ahn
Jehong-Ahn / swagger.yaml
Created May 8, 2016 13:33
OPENDC(Jigum) API
swagger: '2.0'
info:
title: Jigum API
description: ...
version: "0.1.0"
host: api.foo.com
schemes:
- https
basePath: /v1
produces:
@Jehong-Ahn
Jehong-Ahn / swagger.yaml
Last active May 12, 2016 00:52
SMS Auth API
swagger: '2.0'
info:
title: SMS Auth API
description: |
# Firebase #######################################
## Services
연계된 서비스 정보를 기록
- `id`
- `name`