Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Kim cj3kim

View GitHub Profile
@cj3kim
cj3kim / gist:31ea7f7f1d63de38f5812c74e3642c28
Created May 3, 2017
Notes from Talk with Social Media specialist
View gist:31ea7f7f1d63de38f5812c74e3642c28
Initial plan:
1. Reach to friends who own or are connected to media networks to see if there's a fit and hopefully get them to publicize in a biz deal
2. Do a soft launch on facebook and get feed back
Marketing Plan:
1. Get your social media in order
@cj3kim
cj3kim / gist:08503e2c833253be376af6abc5ba26fd
Created May 3, 2017
Notes from Talk with Social Media specialist
View gist:08503e2c833253be376af6abc5ba26fd
Initial plan:
1. Reach to friends who own or are connected to media networks to see if there's a fit and hopefully get them to publicize in a biz deal
2. Do a soft launch on facebook and get feed back
Marketing Plan:
1. Get your social media in order
View gist:3cfce8283589bd2329c276d97f968e4b
import os, sys, csv
from os import listdir
from os.path import join, isdir
from operator import itemgetter
from ast import literal_eval
import re
import matplotlib.pyplot as plt
import shutil
def retrieve_var(var_name, file_path):
@cj3kim
cj3kim / package.json
Created Jul 1, 2016
What is causing babel to be so slow here?
View package.json
{
"name": "rrr-server-example",
"version": "0.0.0",
"repository": "reactjs/react-router-redux",
"license": "MIT",
"dependencies": {
"react": "^0.14.7",
"react-dom": "^0.14.7",
"react-redux": "^4.3.0",
"react-router": "^2.0.0",
View question.js
export default connect(
state => ({ number: state.count.number }),
{ increase, decrease }
)(Home)
View gist:2b0a974514603c75b3dd
[root@localhost etc]# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 36 bytes 34030 (33.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 36 bytes 34030 (33.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
View notes.vim
let vim_notes = "~/texts/vim-notes.txt"
nnoremap <F3> :call SplitOpenFile(vim_notes) <CR>
function! SplitOpenFile(file_path)
:vs
:edit a:file_path
endfunction
View gist:7ef2e59d2ae83cf27112
XARGS(1) BSD General Commands Manual XARGS(1)
NAME
xargs -- construct argument list(s) and execute utility
SYNOPSIS
xargs [-0opt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr] [-L number] [-n number [-x]]
[-P maxprocs] [-s size] [utility [argument ...]]
View gist:a991074d1261ec190ede
#include <stdio.h>
#define MAXN 6
int main() {
char c[MAXN] = {'h', 'e', 'l', 'l', 'o' };
/*phao: Declare `a` as an array of 6 elements of pointer to char.*/
char *a[MAXN];
View gist:c0db32ba27face6fe2a7
module LogAnalysis where
import Log
parseMessage :: String -> LogMessage
parseMessage s = LogMessage messageType timestamp message
where wordAry = words s
firstChar = wordAry !! 0
secondChar = wordAry !! 1
messageType = case firstChar of
"I" -> Info
You can’t perform that action at this time.