Skip to content

Instantly share code, notes, and snippets.

View andweeb's full-sized avatar
:shipit:
Busy being a big fan of @aaparella

Andrew Kwon andweeb

:shipit:
Busy being a big fan of @aaparella
View GitHub Profile
@andweeb
andweeb / scrape-tsv-airbnb-listings.js
Last active May 14, 2022 21:35
Scrape Airbnb listings to TSV rows
// Copy and paste into your browser console
(() => {
// Selectors
const LISTING_SELECTOR = '[itemprop="itemListElement"]';
const LISTING_TITLE_SELECTOR = '[id^="title_"]';
const LISTING_LINK_SELECTOR = 'meta[itemprop="url"]';
const NEXT_BUTTON_SELECTOR = 'a[aria-label="Next"]';
// Rows of listing data objects
const listingData = [];
color: 8A9CFE
font: uni sans heavy
tool: https://fontmeme.com/discord-logo-font/

Keybase proof

I hereby claim:

  • I am andweeb on github.
  • I am andrewshky (https://keybase.io/andrewshky) on keybase.
  • I have a public key ASBiXLmWUGzYMMjGs3rCA1iDWE98b0uMKp9D5sbpCZK6UAo

To claim this, I am signing this object:

@andweeb
andweeb / demo.gif
Last active June 2, 2020 19:55
Genki
demo.gif
@andweeb
andweeb / Unicode® Character Name Index.md
Last active February 1, 2020 22:41
Unicode® Character Name Index

About the Unicode® Character Name Index

https://unicode.org/charts/charindex.html

The Unicode Character Name Index contains three types of entries:

  • Formal character names—ALL UPPPERCASE
  • Alternative character names (aliases)—all lowercase
  • Character group names—Mixed Case (titlecase)

Clicking on a character code in the index opens the PDF chart for the corresponding character block.

@andweeb
andweeb / SoundCloud Chrome Next.scpt
Created January 19, 2016 06:34
YouTube, SoundCloud Control AppleScripts for Quicksilver (Chrome & Safari)
tell application "Google Chrome"
repeat with t in tabs of windows
tell t
if URL starts with "https://soundcloud.com" then
set test to execute javascript "document.getElementsByClassName('skipControl playControls__icon sc-ir skipControl__next')[0].click()"
exit repeat
end if
end tell
end repeat
end tell