Skip to content

Instantly share code, notes, and snippets.

@cj3kim
cj3kim / gist:31ea7f7f1d63de38f5812c74e3642c28
Created May 3, 2017 06:11
Notes from Talk with Social Media specialist
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 06:11
Notes from Talk with Social Media specialist
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
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 July 1, 2016 20:30
What is causing babel to be so slow here?
{
"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",
export default connect(
state => ({ number: state.count.number }),
{ increase, decrease }
)(Home)
[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
let vim_notes = "~/texts/vim-notes.txt"
nnoremap <F3> :call SplitOpenFile(vim_notes) <CR>
function! SplitOpenFile(file_path)
:vs
:edit a:file_path
endfunction
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 ...]]
#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];
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