-
Launch Terminal on Mac.
-
To enable aptX, type in the following command:
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true
- To enable AAC, type the following:
| version: "3" | |
| services: | |
| traefik: | |
| image: traefik:v2.10 | |
| container_name: 'traefik' | |
| command: | |
| - '--log.level=DEBUG' | |
| - '--api.insecure=true' | |
| - '--api.dashboard=true' |
| ./Google\ Chrome --headless --disable-gpu --disable-logging --dump-dom http://google.com |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <sys/sysctl.h> | |
| #include <string.h> | |
| #define SC_OPT(KEY) { .id = KEY, .label = #KEY } | |
| typedef struct sc_opt { | |
| int id; | |
| char* label; |
| import AppKit | |
| import PlaygroundSupport | |
| import SwiftUI | |
| @objc protocol _NSWindow { | |
| var title: String? { get set } | |
| var styleMask: UInt { get set } | |
| func setFrame(_ frameRect: NSRect, display flag: Bool) | |
| func center() | |
| func makeKeyAndOrderFront(_ sender: Any?) |
| [ | |
| { | |
| "code": "100", | |
| "phrase": "Continue", | |
| "type": "Continue" | |
| }, | |
| { | |
| "code": "101", | |
| "phrase": "Switching Protocols", | |
| "type": "SwitchingProtocols" |
| #!/usr/bin/env python3 | |
| # brew install pygit2 | |
| # pip3 install pygit2 | |
| from pygit2 import Repository | |
| import sys | |
| import re | |
| regex = r"^([a-z]{1,5})/([A-Z]{1,5}-[0-9]{1,4})" |
Launch Terminal on Mac.
To enable aptX, type in the following command:
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true
| curl -i https://cloudflare.com/cdn-cgi/trace | grep ip | awk -F'=' '{print $2}' |
| import React from "react"; | |
| /** | |
| * Performs partial object update | |
| * @param obj | |
| * @param value | |
| * @param path | |
| */ | |
| export function partialUpdateObject<T=any>(obj: T, value: any, path: string[]): T { | |
| const key = path.pop(); |