/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install --cask firefox chrome
brew install ncdu maccy
brew install --cask ghostty
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install --cask firefox chrome
brew install ncdu maccy
brew install --cask ghostty
This setup helps to streamline the process of authenticating with aws cli, especially if you have muliple profiles. It's primary featurs are
AWS_PROFILE environment variable.The visualization demonstrates how to syncronize the state of two side-by-side Mapbox GL based maps. As the user interacts with one of the two maps, the state of the map (center position, zoom level, pitch and bearing) is dynamically copied to the second map (and vice versa). The code also demonstrates how to prevent call stack overflow due to recursive event handler triggering when the map state is updated.
The dataset is based on driver license suspensions from California DMV and East Bay Community Law Center. See prior visualization here
See the script in action at bl.ocks.org/boeric here, and fullscreen here
| ubuntu@carto:~$ sudo docker exec -ti cartodb bash -c /cartodb/script/fill_geocoder.sh | |
| --2018-10-29 16:36:55-- https://s3.amazonaws.com/data.cartodb.net/geocoding/dumps/0.0.1/admin0_synonyms.sql | |
| Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.216.86.109 | |
| Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.216.86.109|:443... connected. | |
| HTTP request sent, awaiting response... 200 OK | |
| Length: 130898 (128K) [application/octet-stream] | |
| Saving to: ‘db_dumps/admin0_synonyms.sql’ | |
| admin0_synonyms.sql 100%[=================================================================================================>] 127.83K --.-KB/s in 0.004s |
| # Home_Weather_Display.py | |
| # | |
| # This is an project for using the Grove RGB LCD Display and the Grove DHT Sensor from the GrovePi starter kit | |
| # | |
| # In this project, the Temperature and humidity from the DHT sensor is printed on the RGB-LCD Display | |
| # | |
| # | |
| # Note the dht_sensor_type below may need to be changed depending on which DHT sensor you have: | |
| # 0 - DHT11 - blue one - comes with the GrovePi+ Starter Kit | |
| # 1 - DHT22 - white one, aka DHT Pro or AM2302 |
| # Run on Windows with C:\Python27\python.exe Desktop/cr1000.py | |
| import requests | |
| import time | |
| from BeautifulSoup import BeautifulSoup | |
| url = "http://192.168.0.102/?command=dataquery&uri=dl:SOIL_MET&format=html&mode=most-recent&p1" | |
| def getdata(): | |
| logger_data = [] # creat a variable to store data | |
| response = requests.get(url) # bring the above url in to play |
h2. Done
| ## AWS | |
| cd /var/lib/cassandra/ | |
| tar -czvf /home/ubuntu/aws-data.tgz data | |
| scp /home/ubuntu/aws-data.tgz sw:~/ | |
| ## SW | |
| cd /var/lib/cassandra/ | |
| rm -rf ./data | |
| tar -zxvf /root/aws-data.tgz |
Host system: MacOS 10.12.2