git config --global diff.tool vimdiff
git config --global difftool.prompt false
git config --global alias.d difftool
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
from random import randint | |
from operator import add | |
times = 10 | |
# Step 1: Rooling dice and record result into array | |
genseq = map (lambda _: randint(1,6) , [i for i in range(times)] ) | |
#Steap 2: Count occurances | |
# bmap : map a number into bitmap array, eg: 2 -> [0,1,0,0,0,0](one hot encoding) |
This file contains hidden or 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
body { | |
background-color: #fdf6e3; | |
color: black; | |
font-family: 'Source Serif Pro',Arial, sans-serif; | |
font-size: 18px; | |
line-height: 140%; | |
text-shadow: 0px 1px 1px #fff; | |
} | |
h3 { font-size: 180%; |
This file contains hidden or 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
body { | |
font-family: 'Source Serif Pro','Lucida Grande', 'Lucida Sans Unicode', 'Geneva', | |
'Verdana', sans-serif; | |
font-size: 18px; | |
background-color: #fdf6e3; | |
line-height: 140%; | |
} | |
#page-wrapper { | |
background-color: #fdf6e3; |
Search keywords in a text file
Hadoop(hdfs)
, Apache Spark
, gcc
C,Shell Script, Python
- Oldschool / Standard way Link
NewerOlder