Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
- Install Xcode from App Store or install Command Line Tools on your Mac
// ==UserScript== | |
// @name Kindle Download | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-02-20 | |
// @description Download all your kindle books | |
// @author You | |
// @match https://www.amazon.com/hz/mycd/digital-console/contentlist/booksPurchases/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.com | |
// @grant none | |
// ==/UserScript== |
// 1. Log in to your Amazon account | |
// 2. Go to your Content Library > Books - https://www.amazon.com/hz/mycd/digital-console/contentlist/booksAll/dateDsc/ | |
// 3. Open your browser's Javascript console | |
// 4. For each page of books, paste this script into the console | |
function closeNotification() { | |
document.querySelector('span#notification-close').click(); | |
} | |
function pause(duration = 1000) { |
import requests | |
import os | |
import ipfsApi | |
api = ipfsApi.Client(host='https://ipfs.infura.io', port=5001) | |
url = "https://better-call.dev/v1/contract/mainnet/KT1RJ6PbjHpwc3M5rw5s2Nbmefwbuwbdxton/tokens" | |
r = requests.get(url) | |
data = r.json() |
Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
(function () { | |
"use strict"; | |
const MESSAGE_TYPE = { | |
SDP: 'SDP', | |
CANDIDATE: 'CANDIDATE', | |
} | |
let code; | |
let peerConnection; |
I was ready to throw it away, I opened it up and didn't find anything wrong with it. After a quick Google Search, turns out Apple fucked up their users (again) and locked this drive to only one laptop : the MacBook Air.
Bellow is the tweak (found online) to make it usable on Linux
# Debian/linux only - Linux SCSI generic driver
sudo apt install sg3-utils -y
Follow the instructions on Github to Create an Access Token in Github
By default, git credentials are not cached so you need to tell Git if you want to avoid having to provide them each time Github requires you to authenticate. On Mac, Git comes with an “osxkeychain” mode, which caches credentials in the secure keychain that’s attached to your system account.
You can tell Git you want to store credentials in the osxkeychain by running the following:-
const puppeteer = require('puppeteer') | |
const screenshot = 'youtube_fm_dreams_video.png' | |
try { | |
const browser = await puppeteer.launch() | |
const page = await browser.newPage() | |
await page.goto('https://youtube.com') | |
await page.type('#search', 'Fleetwood Mac Dreams') | |
await page.click('button#search-icon-legacy') | |
await page.waitForSelector('ytd-thumbnail.ytd-video-renderer') |
# /etc/default/skybell-sniff | |
# Copyright © 2017 Alexander Thoukydides | |
# SkyBell HD doorbell hostname (or IP address) and name | |
SKYBELL_HOST=skybell | |
SKYBELL_NAME='Doorbell' | |
# Configuration for homebridge-skybell webhooks | |
HOMEBRIDGE_SKYBELL_PORT=47569 | |
HOMEBRIDGE_SKYBELL_SECRET='My webhooks secret' |