Skip to content

Instantly share code, notes, and snippets.

View gaejabong's full-sized avatar

개자봉 gaejabong

View GitHub Profile
@gaejabong
gaejabong / slack.sh
Last active July 3, 2019 02:07 — forked from andkirby/slack.sh
Shell/Bash script for sending slack messages.
#!/usr/bin/env bash
####################################################################################
# Slack Bash console script for sending messages.
####################################################################################
# Installation
# $ curl -s https://gist.githubusercontent.com/jdssem/3ab7ae435d94ba0663dc56f6d2c6c972/raw/afd13cd7c6b8543806fa409d9560141f738af32a/slack.sh --output /usr/bin/slack
# $ chmod +x /usr/bin/slack
####################################################################################
# USAGE
# Send message to slack channel/user
@gaejabong
gaejabong / cla_directzip.php
Created August 5, 2018 06:20 — forked from sunghwan2789/cla_directzip.php
묶어 받습니다
<?php
class DirectZip
{
private static $BUFFER_SIZE = 4194304; // 4MiB
private $currentOffset;
private $entries;
public function open($filename)
{
syntax enable
"-------------General Settings--------------"
set backspace=indent,eol,start "Make backspace behave like every other editor.
let mapleader = ',' "The default leader is \, but a comma is much better.
set number "Let's activate line numbers.
"-------------Visuals--------------"
colorscheme atom-dark
@gaejabong
gaejabong / plugins.vim
Created February 2, 2016 13:19
plugins.vim
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-vinegar'
Plugin 'scrooloose/nerdtree'
Plugin 'ctrlpvim/ctrlp.vim'
@gaejabong
gaejabong / laracast-theme.icls
Created January 31, 2016 12:32
Laracast theme updated
<scheme name="laracasts-theme-updated" version="142" parent_scheme="Default">
<option name="LINE_SPACING" value="1.7" />
<option name="EDITOR_FONT_SIZE" value="15" />
<option name="CONSOLE_FONT_NAME" value="Menlo" />
<option name="CONSOLE_FONT_SIZE" value="10" />
<option name="CONSOLE_LINE_SPACING" value="1.4" />
<option name="EDITOR_FONT_NAME" value="Menlo" />
<colors>
<option name="ADDED_LINES_COLOR" value="292d38" />
<option name="ANNOTATIONS_COLOR" value="8b999f" />
@gaejabong
gaejabong / .vimrc
Last active February 2, 2016 13:18
vim configure file
set nocompatible "We want the latest vim settings/options.
so ~/.vim/plugins.vim
syntax enable
set backspace=indent,eol,start "Make backspace behave like every other editor.
let mapleader = ',' "The default is \ but a comma is much better.
set number "Let's activate line numbers.
@gaejabong
gaejabong / install-comodo-ssl-cert-for-nginx.rst
Last active August 29, 2015 14:27 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert