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
    
  
  
    
  | import cv2 | |
| import matplotlib.pyplot as plt | |
| from skimage.feature import hog | |
| from skimage import color, exposure | |
| img = cv2.imread('test2.png') | |
| image = color.rgb2gray(img) | |
| fd, hog_image = hog(image, orientations=9, pixels_per_cell=(8, 8), | 
  
    
      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
    
  
  
    
  | cat a.tsv | awk -F$'\t' '"2017-05-13 07:50" <= $4 && $4 <= "2017-05-18 01:58"' | sort -k4 | 
  
    
      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
    
  
  
    
  | if [ "$0" = "$BASH_SOURCE" ]; then | |
| echo "subshell!!" | |
| else | |
| echo "sourced!!" | |
| fi | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| D=$(date +'%Y-%m-%d') | |
| for x in $(seq 1 100); do | |
| echo $D | |
| D=$(date +'%Y-%m-%d' --date "$D 7 day") | |
| done | |
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| # for mac | |
| : diskutil list | |
| DISK=/dev/disk2 | |
| ISO=CentOS-7-x86_64-Minimal-1611.iso | |
| : diskutil eraseDisk MS-DOS UNTITLED $DISK | |
| : diskutil unmountDisk $DISK | 
  
    
      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
    
  
  
    
  | #!/usr/bin/env python | |
| import os | |
| import io | |
| import click | |
| import pandas as pd | |
| from bottle import Bottle, request | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| rm -f fifo | |
| mkfifo fifo | |
| cat fifo | sort > out & | |
| cat <<EOD | tee >(cut -f1 >fifo) >(cut -f2 >fifo) >(cut -f3 >fifo) >(cut -f4 >fifo) >/dev/null | |
| aaa 111 444 777 | |
| bbb 222 555 888 | 
  
    
      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
    
  
  
    
  | g google.com | 
  
    
      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
    
  
  
    
  | import pickle | |
| def dump_seq(r, of): | |
| with open(of, "wb") as f: | |
| pickle.dump(next(r), f) | |
| try: | |
| while True: | |
| with open(of, "ab") as f: | |
| pickle.dump(next(r), f) | 
  
    
      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
    
  
  
    
  | [WARN] A plugin uses a deprecated constructor of org.embulk.spi.time.TimestampFormatter. | |
| [WARN] Please tell the plugin developer to stop using the constructor, or report this to: | |
| [WARN] https://github.com/embulk/embulk/issues/745 | |
| [WARN] java.lang.Thread.getStackTrace(Thread.java:1559) | |
| [WARN] org.embulk.spi.time.TimestampParser.<init>(TimestampParser.java:116) | |
| [WARN] org.embulk.filter.column.ColumnVisitorImpl.getDefault(ColumnVisitorImpl.java:154) | |
| [WARN] org.embulk.filter.column.ColumnVisitorImpl.getDefault(ColumnVisitorImpl.java:115) | |
| [WARN] org.embulk.filter.column.ColumnVisitorImpl.buildOutputDefaultMap(ColumnVisitorImpl.java:92) | |
| [WARN] org.embulk.filter.column.ColumnVisitorImpl.<init>(ColumnVisitorImpl.java:56) | |
| [WARN] org.embulk.filter.column.ColumnFilterPlugin$1.<init>(ColumnFilterPlugin.java:224) |