Skip to content

Instantly share code, notes, and snippets.

View HubCodes's full-sized avatar
😀

Taemin Cha HubCodes

😀
  • Seoul
View GitHub Profile
@pat
pat / LICENSE.txt
Last active February 4, 2023 21:02
Running Setup SQL scripts on an RDS instance within a VPC, via Terraform
The MIT License (MIT)
Copyright (c) 2018 Pat Allan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@LeoHeo
LeoHeo / tmux command basic.md
Last active January 17, 2024 12:22
기본적인 tmux 사용법

Tmux Command

mac 기준으로 Tmux 설치부터 기본적인 명령어를 알아가고자 한다.
Tutorial용으로 참고할만한 블로그는 아래와같다.
Tmux-Part1 Tmux-Part2

Install

@reiki4040
reiki4040 / signal.go
Created October 2, 2014 14:38
signal handling example for golang
package main
import (
"fmt"
"os"
"os/signal"
"syscall"
)
func main() {
@kelvinn
kelvinn / cmd.sh
Created July 24, 2014 02:55
Example of using Apache Bench (ab) to POST JSON to an API
# post_loc.txt contains the json you want to post
# -p means to POST it
# -H adds an Auth header (could be Basic or Token)
# -T sets the Content-Type
# -c is concurrent clients
# -n is the number of requests to run in the test
ab -p post_loc.txt -T application/json -H 'Authorization: Token abcd1234' -c 10 -n 2000 http://example.com/api/v1/locations/
@osa1
osa1 / gist:2730819
Created May 19, 2012 13:13
hand-written lexer for EtuLang (a hypothetical PL for a PL course) in Haskell
{-# OPTIONS_GHC -Wall #-}
module Lexer where
import Prelude hiding (lex)
import Control.Monad.State
import qualified Data.Set as S
import Char (toLower)
data LexemeClass
= LLParen
@hisui
hisui / OperatorPrecedencePersers.scala
Last active September 6, 2020 17:41
Parser combinator for Operator-precedence
package jp.segfault.scala.util
import scala.util.parsing.combinator._
/**
* Parser combinator for Operator-precedence parser(http://en.wikipedia.org/wiki/Operator-precedence_parser).
*/
trait OperatorPrecedenceParsers extends Parsers {
trait Op[+T,U] {