Skip to content

Instantly share code, notes, and snippets.

View rozenmd's full-sized avatar
👋
🇦🇺 in 🇫🇷

Max Rozen rozenmd

👋
🇦🇺 in 🇫🇷
View GitHub Profile
@rozenmd
rozenmd / script.js
Created December 19, 2024 19:29
Cars to CSV
const data = window.__NEXT_DATA__.props.pageProps.searchData;
const realData = data.ads.map((ad) => {
const make = ad.attributes.find(
(attribute) => attribute.key === "brand"
).value;
const model = ad.attributes.find(
(attribute) => attribute.key === "model"
).value;
const year = ad.attributes.find(
@rozenmd
rozenmd / index.js
Last active December 2, 2022 10:33
#!/usr/bin/env node
console.log("It's me");
console.log("Hi");
console.log("I'm the problem, it's me");
@rozenmd
rozenmd / macOS-setup.sh
Last active August 1, 2023 22:40
Set up a macOS device for development in one script.
#!/bin/bash
# Brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
####################################
# Brew apps
####################################
brew install cask