Skip to content

Instantly share code, notes, and snippets.

View AnalyticETH's full-sized avatar

Analytic.eth AnalyticETH

View GitHub Profile
@queerviolet
queerviolet / zillow-export.js
Last active June 18, 2024 20:02
Export Saved Homes from Zillow
const homes = [...new Set(
[...document.querySelectorAll('a[href]')]
.map(x => x.href)
.filter(u => u.includes('_zpid'))
)]
.map(id => {
const addr = id.split('/')[4].replace(/-/g, ' ')
const short = addr.split(' ').slice(0, -3).join(' ')
return { addr, zillow: id,
streeteasy: `https://streeteasy.com/search?search=${short}`,
@quantum77
quantum77 / autopilot-autosteer.sh
Created April 2, 2020 17:00
An extension to Lunar's Tesla scripts
#!/bin/sh
# Allows autosteer at all speeds
# Does not disable autopilot nag
KEY1="GUI_disableAutosteerRestrictions"
KEY2="GUI_handsOnRequirementDisable"
WANTSTATE="true"
while true; do
@quantum77
quantum77 / listen-for-code.sh
Created April 5, 2020 21:21
An extension to Lunar's Tesla scripts
#!/bin/sh
cidIp="192.168.90.100"
cidPort="4070"
# shellcheck disable=SC2154
mainPath="$homeOfLunars/scripts"
pattern=AccessPopup
last_command="NoNe"
if ps ax | grep "$0" | grep -v $$ | grep bash | grep -v grep; then
echo "The script is already running."
@hrkrshnn
hrkrshnn / generic.org
Last active April 21, 2024 01:51
Some generic writeup about common gas optimizations, etc.

Upgrade to at least 0.8.4

Using newer compiler versions and the optimizer gives gas optimizations and additional safety checks for free!

The advantages of versions 0.8.* over <0.8.0 are:

  • Safemath by default from 0.8.0 (can be more gas efficient than some library based safemath).
  • Low level inliner from 0.8.2, leads to cheaper runtime gas. Especially relevant when the contract has small functions. For
@throwaway96
throwaway96 / crashd.md
Last active July 21, 2024 15:58
crashd instructions

News

EOL (2024-07-21)

I'm not going to be maintaining this document anymore. I'm leaving it as-is since much of the FAQ section is still accurate and has yet to be incorporated into other resources.

Use CanI.RootMy.TV to find an exploit for your TV.

New exploit for webOS 3.5+: DejaVuln (2024-04-21)