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
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' |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title></title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> | |
<h2>Hello from outside the Shadow DOM!</h2> | |
'use strict'; | |
const {readFileSync} = require('fs'); | |
const {createServer} = require('http'); | |
const {EventEmitter} = require('events'); | |
let bufferIndex = -1; | |
const buffers = [ | |
readFileSync('1.jpg'), | |
readFileSync('2.jpg'), | |
readFileSync('3.jpg'), |
Detecting and Mitigating DDOS Attacks | |
#List all Finish (FIN) packets | |
machine1 : sudo /usr/sbin/tcpdump -Nnn -i any -s0 'tcp[13] & 1 != 0' | |
#List all SYN and SYN-ACK packets | |
machine1 : sudo /usr/sbin/tcpdump -Nnn -i any -s0 'tcp[13] & 2 != 0' | |