Figure out how to install ScrapyLearn Scrapy basics- Learn full parsing rules
- Learn to make pipeline, goal to pipe to ElasticSearch
Integrate Scrapy and Tor- Make multi-threaded Tor instances somehow, might need a Linux VM.
- Figure everything about EasticSearch.
- How to only save new/edited pages?
- How long does it take to crawl a site?
| def sorter wordlist, sorted_array=[], index=0 | |
| if index==wordlist.length() | |
| return sorted_array | |
| end | |
| sorted_array.push(wordlist[index]) | |
| def check_and_swap sorted_array, index | |
| if index != 0 | |
| if sorted_array[index]<sorted_array[index-1] | |
| sorted_array[index], sorted_array[index-1] = sorted_array[index-1], sorted_array[index] |
| # CRUD Quiz | |
| Use the solution to this afternoon's Property Tracker lab to answer the following questions. Please write your answers under each question, push the file to GitHub, and submit in the usual way. | |
| ## MVP Questions | |
| In our Property Tracker application: | |
| Q1. Where are we instantiating instances of the `Property` class? |
| first install python-gdal https://medium.com/@vascofernandes_13322/how-to-install-gdal-on-macos-6a76fb5e24a4 | |
| then create tiles from your image https://github.com/commenthol/gdal2tiles-leaflet |
Disable ipv6: Edit /etc/default/grub and add ipv6.disable=1 after quiet splash, then do sudo update-grub and reboot.
gforgeeks.com/install-docker-and-docker-compose-on-linux-mint-19/
https://lowendbox.com/blog/running-your-own-openvpn-vpn-server/
This setup lets me smash sub-hour screentimes and I hope it might help you as I've spent a lot of time honing it! Let me know if you have any tips to further my setup and please share yours!
I used a Hisense A5 eink smartphone for over two years. Great phone but a horrible camera. After two years it was bettered as hell and I did miss being able to take and share to my family photographs that didn't look horrific. The eink screen had totally changed my relationship with my phone so I wanted to recreate the grayscale experience on a normal smartphone. I'm really happy with things after a couple of months.
My personal rule is to have nothing on my phone to allows me to browse social media, the internet, or video content. That includes no app-stores, and having no apps that have an in-app browser. For example with Facebook Messenger I would cheat by messaging myself a link to a website and clicking on the link to view it on the in-app browser. In this case I can use Messenger Lite instead which has n
This has four parts,
- Flash and configure the Xiaomi LYWSD03MMC device with custom firmware [complete]
- Write Python script to capture BTLE advertisement packets and POST the detalis to Google apps endpoint.
- Write and publish the simple Google apps script to create endpoint which adds lines to Sheet from data in POST request.
- Configure Google Looker Studio to display time series data from GSheets.
Notes:
Firmware docs and flasher: https://github.com/pvvx/ATC_MiThermometer
| grep -rn -i "permitrootlogin" /etc/ssh/sshd_config /etc/ssh/sshd_config.d/ 2>/dev/null | |
| echo ---FIXING--- | |
| sed -i -E 's/^[[:space:]]*PermitRootLogin[[:space:]]+.*/PermitRootLogin prohibit-password/I' /etc/ssh/sshd_config | |
| find /etc/ssh/sshd_config.d/ -type f -exec sed -i -E 's/^[[:space:]]*PermitRootLogin[[:space:]]+.*/PermitRootLogin prohibit-password/I' {} \; 2>/dev/null | |
| echo ---VERIFY-CONFIG--- | |
| sshd -t 2>&1 && echo CONFIG_OK | |
| echo ---RESTART--- | |
| systemctl restart ssh 2>&1 || systemctl restart sshd 2>&1 | |
| sleep 1 | |
| systemctl is-active ssh 2>&1 || systemctl is-active sshd 2>&1 |