Skip to content

Instantly share code, notes, and snippets.

View keizie's full-sized avatar

Jeong-Hee Kang keizie

  • Asia/Seoul
  • 11:59 (UTC +09:00)
View GitHub Profile
#!/bin/bash
###
### my-script — does one thing well
###
### Usage:
### my-script <input> <output>
###
### Options:
### <input> Input file to read.
### <output> Output file to write. Use '-' for stdout.
@s3rj1k
s3rj1k / HowTo
Last active May 4, 2025 21:37
Ubuntu 20.04.3 AutoInstall
# For recent versions of Ubuntu:
- https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/
# Docs:
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference
- https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html
- https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/53
# Download ISO Installer:
@tomhicks
tomhicks / plink-plonk.js
Last active May 15, 2025 13:25
Listen to your web pages
@ExtremeGTX
ExtremeGTX / Ubuntu_AP.md
Last active March 31, 2025 23:40
Setup Ubuntu server as Access point

Introduction

This tutorial for setting up Ubuntu Server (RPi 3B) as Wifi access point

Overview:

The main steps can be listed as following:

  1. Install required packages
  2. Setup hostapd
  3. Setup DNSmasq
  4. Configure AP IP Address
@channprj
channprj / oldman_shaves_opensource.md
Last active September 19, 2023 10:43
퇴근길에 @lqez 님 트윗을 보고 갑자기 영감을 받아 작성해봤습니다. 이미 유행 한참 지난 밯망희 깎던 노인쓰,,,

바닐라 스크립트로 오픈소스 깎던 노인

벌써 3~4여 년 전이다. 내가 개발자로 취직한 지 얼마 안 되어 테헤란로 쪽에서 일할 때다. 퇴근하며 트위터 타임라인을 훑어보는 와중에, 재미있는 트윗을 발견하여 정독하던 중이었다. 스타벅스 앞을 지날 즈음, 그 곳에는 바닐라 자바스크립트로 오픈소스를 깎던 노인이 있었다. 마침 유용할 것 같은 프로젝트라 오픈소스 패키지로 받아 쓰려고 부탁을 했다. 버전을

"좀 빨리 올려 줄 수 없습니까?"

했더니,

"마이너 버전 릴리즈 하나 가지고 에누리하겠소? 비싸거든 다른 오픈소스 받아서 쓰시우."

@kiding
kiding / KakaoTalk+.js
Last active January 28, 2019 02:41
KakaoTalk+: No More Search Pane (macOS)
/*
Hide the annoying search pane.
$ sudo node KakaoTalk+.js
$ nohup /Applications/KakaoTalk.app/Contents/MacOS/KakaoTalk+ </dev/null >/dev/null 2>&1
*/
const { readFileSync, writeFileSync } = require('fs'),
{ execSync } = require('child_process'),
{ ok } = require('assert');
@jakub-g
jakub-g / async-defer-module.md
Last active May 14, 2025 13:50
async scripts, defer scripts, module scripts: explainer, comparison, and gotchas

<script> async, defer, async defer, module, nomodule, src, inline - the cheat sheet

With the addition of ES modules, there's now no fewer than 24 ways to load your JS code: (inline|not inline) x (defer|no defer) x (async|no async) x (type=text/javascript | type=module | nomodule) -- and each of them is subtly different.

This document is a comparison of various ways the <script> tags in HTML are processed depending on the attributes set.

If you ever wondered when to use inline <script async type="module"> and when <script nomodule defer src="...">, you're in the good place!

Note that this article is about <script>s inserted in the HTML; the behavior of <script>s inserted at runtime is slightly different - see Deep dive into the murky waters of script loading by Jake Archibald (2013)

@andromedarabbit
andromedarabbit / Dockerfile
Last active March 26, 2024 04:34
Create or modify the AWS security group, which only allows GitHub servers to access to our services
FROM python:3.7
# Set the timezone to KST
RUN cat /usr/share/zoneinfo/Asia/Seoul > /etc/localtime
RUN set -ex \
&& apt-get clean && apt-get update \
&& apt-get install --no-install-recommends -y groff \
&& rm -rf /var/lib/apt/lists/*
@rturk
rturk / GTM_FORCE_reload.js
Last active January 6, 2025 02:55
GTM Force Reload Tag
<script>
/*
This script will force reload of the page based on the harcoded version.
Create as tag and Use GTM to trigger execution.
*/
var GTMRELOADER_CURRENT_VERION = '1';
var GTMRELOADER_KEY_NAME = 'VERSION';
function canIUseLocalStorage(){
var test = 'test_ls_test';
@serithemage
serithemage / aws-study-resource.md
Last active May 14, 2025 14:06
AWS 학습 자료집

AWS 학습 링크집 시리즈