I hereby claim:
- I am thesauri on github.
- I am thesauri (https://keybase.io/thesauri) on keybase.
- I have a public key ASCMYcSUSuSzCW-_vfesdv9dIaIRYnRR9giK84TkVse2YQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| const fs = require('fs').promises; | |
| const main = async () => { | |
| const dataText = await fs.readFile('data.json'); | |
| const data = JSON.parse(dataText); | |
| const matches = data.Messages; | |
| matches.forEach((match) => { | |
| match.messages.forEach((message) => { | |
| console.log(message.message); | |
| }); |
| import markovify | |
| import sys | |
| if len(sys.argv) < 2: | |
| print("tinder.py chat-file.txt") | |
| exit(1) | |
| chat_file = sys.argv[1] | |
| # Get raw text as string. | |
| with open(chat_file) as f: |
| { | |
| "NAS":{ | |
| "code":"NAS", | |
| "names":[ | |
| "Nassau", | |
| "Nassau" | |
| ], | |
| "frequentlyUsed":"false", | |
| "operatedBy":"SAS", | |
| "cityCode":"NAS", |
| city_name | iata | |
|---|---|---|
| Aalborg | AAL | |
| Aarhus | AAR | |
| Billund | BLL | |
| Copenhagen | CPH | |
| the Faroe Islands | FAE | |
| Alta | ALF | |
| Bardufoss | BDU | |
| Bergen | BGO | |
| Bodø | BOO |
| Lennart Forsberg | |
| Julia Lundgren | |
| Max Sandström | |
| Barbro Holmgren | |
| Alexander Hansen | |
| Kent Ström | |
| Oliver Hedlund | |
| Sara Karlsson | |
| Felix Eklund | |
| Marcus Månsson |
I was unable to change the MAC address of the Wi-FI device on a MacBook Air (M1 2020) running macOS Sequoia due to the following error: ifconfig: ioctl (SIOCAIFADDR): Can't assign requested addres.
By running the commands in following sequence I was able to change it successfully:
networksetup -setairportpower en0 onifconfig en0 ether <mac-address-here>networksetup -detectnewhardware