VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated
use utf8; | |
use Mojolicious::Lite; | |
use Mojo::JWT; | |
use 5.20.0; | |
use experimental 'signatures'; | |
my $payload = {id => 1, api_key => '1a2b3c4d5e6f7a8b9c'}; |
curl -d '{ | |
"to": DEVICE_ID, | |
"notification": { | |
"title" : " This is my title new ", | |
"body" : " This is the body of my message " | |
} | |
}' \ | |
-i -H "Application/json" \ | |
-H "Content-type: application/json" \ | |
-H "Authorization: key=YOUR_AUTH_KEY \ |
# based off of this code https://gist.github.com/nandajavarma/a3a6b62f34e74ec4c31674934327bbd3 | |
# Brandon Skerritt | |
# https://skerritt.tech | |
def binary_search(the_array, item, start, end): | |
if start == end: | |
if the_array[start] > item: | |
return start | |
else: | |
return start + 1 |
import logging | |
from celery.app.defaults import DEFAULT_TASK_LOG_FMT, DEFAULT_PROCESS_LOG_FMT | |
class CeleryTaskFilter(logging.Filter): | |
def filter(self, record): | |
return record.processName.find('Worker') != -1 |
VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated