Skip to content

Instantly share code, notes, and snippets.

View gelfandbein's full-sized avatar
👁️‍🗨️
Make it work. Make it right. Make it fast.

Boris Gelfandbein gelfandbein

👁️‍🗨️
Make it work. Make it right. Make it fast.
  • Ukraine, Kherson
View GitHub Profile
@markheath
markheath / docker-compose-v1.yml
Last active June 19, 2024 12:48
Elasticsearch docker compose examples
version: '2.2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.1
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
hashtag_list = ['travelblog', 'travelblogger', 'traveler']
# prev_user_list = [] - if it's the first time you run it, use this line and comment the two below
prev_user_list = pd.read_csv('20181203-224633_users_followed_list.csv', delimiter=',').iloc[:,1:2] # useful to build a user log
prev_user_list = list(prev_user_list['0'])
new_followed = []
tag = -1
followed = 0
likes = 0