This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default connect( | |
state => ({ number: state.count.number }), | |
{ increase, decrease } | |
)(Home) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let vim_notes = "~/texts/vim-notes.txt" | |
nnoremap <F3> :call SplitOpenFile(vim_notes) <CR> | |
function! SplitOpenFile(file_path) | |
:vs | |
:edit a:file_path | |
endfunction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ...]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder