Along with the Pulse app, there is the second part of the application. A Node.js app reads CSV files populated with energy usage data and displays them to the user in the web UI. It uses Node.js 0.10.26, Express.js 4.13.3 and Socket.io 1.3.6.
WFH levels have become "flat as a pancake". The latest Census, SWAA and Kastle data all show the same thing. Levels of WFH were falling throughout 2020 to 2022, and office occupancy was rising. That trend ended in 2023, with both now pancake flat. Return to the Office is dead. pic.twitter.com/8PxoY05Ept
#!/bin/bash
interface=$1
event=$2
if [[ "$interface" == "enp6s0f0" && "$event" == "up" ]]; then
ip route add default via 192.168.3.254 table second
ip rule add from 192.168.3.0/24 table second
fi
然後要記得把這個檔案 chmod 755 讓他可以執行。
接著是 Squid 的設定,在 /etc/squid/squid.conf 裡面這樣寫:
#
http_access allow all
#
access_log /var/log/squid/access.log squid
cache deny all
cache_dir null /tmp
cache_log /dev/null
cache_mem 8 MB
dns_v4_first on
forwarded_for off
http_port 3128
tcp_outgoing_address 192.168.3.x
其中最後的 192.168.3.x 換成自己的固定 IP address。這邊因為 traffic 基本上都是 HTTPS 了,也不需要開 cache,就這樣設定...
The state’s Energy Commission is due to vote next week on new energy standards that would require virtually all new homes to be constructed with solar panels from 2020.
如果通過的話,從 20% 直接變成強制性的 100%:
Currently around 20 per cent of single-family homes are constructed with solar capacity built in, but if the new standards are approved as expected this proportion will rise sharply.