Skip to content

Instantly share code, notes, and snippets.

View sc-ahn's full-sized avatar

안성철 sc-ahn

View GitHub Profile
@sc-ahn
sc-ahn / index.html
Created November 29, 2024 08:14
spining cube
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CONCRETE</title>
<style>
body {
margin: 0;
padding: 0;
@sc-ahn
sc-ahn / Convert .mov or .MP4 to .gif.md
Created January 2, 2024 08:30 — forked from SheldonWangRJT/Convert .mov or .MP4 to .gif.md
Convert Movie(.mov) file to Gif(.gif) file in one command line in Mac Terminal

This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.

Need

Convert .mov/.MP4 to .gif

Reason

As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.

This is not limited to developer, anyone has this need can use this method to convert the files.

@sc-ahn
sc-ahn / docker-compose.yaml
Last active March 21, 2023 10:57
docker compose example
version: "3"
services:
your_project_name:
image: your_project_name
build:
context: .
dockerfile: your_project_name.Dockerfile
ports:
- "21227:8000"
volumes:
@sc-ahn
sc-ahn / README.md
Last active August 31, 2022 07:31
Serverless 프레임워크, 로컬환경 테스트

테스트 환경

  1. handler.py에 각 엔드포인트와 매핑될 handler 함수들 정의
  2. serverless.yml의 function 하위에 lambda에 생성될 함수정보 기록
    a. 여기서 각 function -> {{lambda_name}} -> handler 에 handler.py에 정의된 함수 매핑
  3. 테스트에 사용될 템플릿 파일 생성
    a. 참조
  4. sls invoke local --function {{ 함수이름 }} --path {{ 템플릿 파일 이름 }} 으로 로컬환경 테스트 진행
    a. test.sh 참조