Skip to content

Instantly share code, notes, and snippets.

@evgenys91
evgenys91 / get-python.sh
Last active Feb 23, 2021 — forked from vbe0201/get-python.sh
A script to install Python 3.7.2 on your Debian, Ubuntu or Mint server.
View get-python.sh
#!/bin/bash
#
# A bash script for installing Python 3.7.2 on your Debian, Ubuntu or Mint server.
# (c) 2019 Valentin B.
#
# Open your terminal and enter the following command:
# wget https://gist.github.com/evgenys91/af10f4c860316afe06d55264719f3b21/raw/get-python.sh && chmod +x get-python.sh && ./get-python.sh
apt update -y
apt upgrade
View dataset-formatted.json
{"ID":1, "Date":"2015–09–01T00:00:00", "Title":"", "Sponsor": ""}
{"ID":1, "Date":"2015–09–01T00:00:00", "Title":"", "Sponsor": ""}
...
View dataset-not-formatted.json
[
{"ID":1, "Date":"2015–09–01T00:00:00", "Title":"", "Sponsor": ""},
{"ID":1, "Date":"2015–09–01T00:00:00", "Title":"", "Sponsor": ""}
]
@evgenys91
evgenys91 / RN remote redux devtools
Created Mar 7, 2018
RN + remote-redux-devtools + remotedev-server via docker
View RN remote redux devtools
docker run -d --name db mongo
docker run -d -p 8000:8000 --name remotedev --link db:db jhen0409/remotedev-server
// in app
// const composeEnhancers = composeWithDevTools({
// realtime: true,
// hostname: <docker-machine-ip>,
// port: 8000
// });
@evgenys91
evgenys91 / docker-compose build with no-cache
Created Oct 13, 2017
ensure docker service uses the latest code
View docker-compose build with no-cache
docker volume prune
docker-compose build --no-cache {service}
docker-compose up --force-recreate --no-deps services