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
    
  
  
    
  | class Bar | |
| include ActiveModel::Model | |
| attr_accessor :foo, :bar | |
| end | |
| class Foo | |
| include ActiveModel::Model | |
| include ActiveModel::Serializers::JSON | 
  
    
      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 docker.elastic.co/elasticsearch/elasticsearch:6.1.2 | |
| RUN elasticsearch-plugin install analysis-kuromoji | |
| RUN elasticsearch-plugin install org.codelibs:elasticsearch-analysis-kuromoji-neologd:5.6.1 | 
      This file has been truncated, but you can view the full file.
    
    
  
    
      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
    
  
  
    
  | 平成29年版 | |
| 厚生労働白書 | |
| (平成28年度厚生労働行政年次報告) | |
| 厚 生 労 働 省 | |
| ―社会保障と経済成長― | |
  
    
      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
    
  
  
    
  | """ | |
| # pip install pandas sklearn dask_xgboost | |
| """ | |
| from sklearn import datasets | |
| #--- dataset | |
| iris = datasets.load_iris() | |
| print(iris.feature_names) | |
| X = iris.data | 
  
    
      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 docker.elastic.co/elasticsearch/elasticsearch:6.2.1 | |
| LABEL maintainer "kuryu <[email protected]>" | |
| RUN elasticsearch-plugin install analysis-icu | |
| RUN elasticsearch-plugin install analysis-kuromoji | |
| RUN elasticsearch-plugin install ingest-attachment | 
      
      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
    
  
  
    
  | BUCKET_NAME=some_bucket | |
| PATTERN='some_pattern' | |
| aws s3 ls --recursive s3://${BUCKET_NAME} | rev | cut -f1 -d' ' | rev > file_lst | |
| cat file_lst | grep -oP "$PATTERN" | xargs -I{} echo "aws s3 rm --recursive 's3://${BUCKET_NAME}/{}'" > rm_cmd.sh | 
  
    
      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
    
  
  
    
  | curl -s -v -XPOST localhost:6001 --data-binary @all.pdf | 
      
      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
    
  
  
    
  | import itertools | |
| def each_slice(iterable, n): | |
| for i, item in itertools.groupby(enumerate(iterable), lambda x: x[0] // n): | |
| yield (x[1] for x in item) | |
| for x in each_slice(range(10), 3): | |
| print(tuple(x)) | |
| """output | |
| (0, 1, 2) |