Skip to content

Instantly share code, notes, and snippets.

Jaedong Kim jdssem

  • 초등교사 커뮤니티 인디스쿨
  • Seoul, South Korea
View GitHub Profile
@jdssem
jdssem / slack.sh
Last active Jul 3, 2019 — forked from andkirby/slack.sh
Shell/Bash script for sending slack messages.
View slack.sh
#!/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
View cla_directzip.php
<?php
class DirectZip
{
private static $BUFFER_SIZE = 4194304; // 4MiB
private $currentOffset;
private $entries;
public function open($filename)
{
View .vimrc
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
View 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'
@jdssem
jdssem / laracast-theme.icls
Created Jan 31, 2016
Laracast theme updated
View laracast-theme.icls
<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" />
@jdssem
jdssem / .vimrc
Last active Feb 2, 2016
vim configure file
View .vimrc
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.
@jdssem
jdssem / install-comodo-ssl-cert-for-nginx.rst
Last active Aug 29, 2015 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.
View install-comodo-ssl-cert-for-nginx.rst

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

You can’t perform that action at this time.