# Turn off your Vagrant machine
$ vagrant halt
# Comment out this line in Vagrantfile
# config.disksize.size = '30GB'
This file contains 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
# # GTFS Viewer | |
# ## Refs | |
# - https://gtfs.org/ja/ | |
# - https://www.gtfs.jp/ | |
# - https://nttdocomo-developers.jp/entry/20231218_1 | |
# ## Setup | |
# $ pip install streamlit streamlit-folium folium pydeck pandas requests geopy gtfs-realtime-bindings | |
# $ streamlit run gtfs-viewer-app.py |
This file contains 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
# # Dynamic Vehicle Routing | |
# ## Refs | |
# - https://github.com/lb-robotics/python-vehicle-routing | |
# - https://zenn.dev/ohtaman/articles/streamlit_start_stop | |
# ## Setup | |
# $ pip install streamlit numpy scipy pandas altair readerwriterlock | |
# $ pip install wandb # Optional. Please do "wandb login" when you use it. | |
# $ streamlit run dynamic-vehicle-routing-streamlit-app.py |
This file contains 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
""" | |
streamlit-folium-example-app | |
Run the following commands to launch the app: | |
$ pip install streamlit streamlit-folium | |
$ streamlit run streamlit-folium-example-app.py | |
""" | |
import time |
This file contains 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 express from 'express' | |
import cluster from 'cluster' | |
import { cpus } from 'os' | |
import process from 'process' | |
const workers = Math.min(Number(process.argv[2]) || 1, cpus().length) | |
const blockTime = Number(process.argv[3]) | |
const app = express() | |
const port = 4000 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder