Open your terminal.
In the root directory run the command:
sudo nano /etc/bluetooth/main.conf
var serialNumber: String? { | |
let platformExpert = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("IOPlatformExpertDevice") ) | |
guard platformExpert > 0 else { | |
return nil | |
} | |
guard let serialNumber = (IORegistryEntryCreateCFProperty(platformExpert, kIOPlatformSerialNumberKey as CFString, kCFAllocatorDefault, 0).takeUnretainedValue() as? String)?.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines) else { | |
return nil | |
} |
// exporting from a bs58 private key to an Uint8Array | |
// == from phantom private key to solana cli id.json key file | |
// npm install bs58 @solana/web3.js | |
const web3 = require("@solana/web3.js"); | |
const bs58 = require('bs58'); | |
let secretKey = bs58.decode("[base58 private key here]"); | |
console.log(`[${web3.Keypair.fromSecretKey(secretKey).secretKey}]`); | |
// exporting back from Uint8Array to bs58 private key |
Type | Emoji | code |
---|---|---|
feat | β¨ | :sparkles: |
fix | π | :bug: |
docs | π | :books: |
style | π | :gem: |
refactor | π¨ | :hammer: |
perf | π | :rocket: |
test | π¨ | :rotating_light: |
build | π¦ | :package: |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare git@github.com:usi-systems/easytrace.git
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | π :tada: |
Version tag | π :bookmark: |
New feature | β¨ :sparkles: |
Bugfix | π :bug: |
cmake_minimum_required(VERSION 3.17.0) | |
project(onnx_test) | |
set(CMAKE_BUILD_TYPE "Release") | |
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | |
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/" ${CMAKE_MODULE_PATH}) | |
set("OpenCV_DIR" "/usr/local/include/opencv4") | |
find_package(OpenCV REQUIRED) |
# Date: 10-2015 | |
# Author: Felipe Molina (@felmoltor) | |
# Summary: Authomatize the backup proccess of GPO for a domain. | |
# Create a folder with the time when this script was executed and inside it a folder for each GPO of the domain | |
# The program needs two mandatory parameters: | |
# * Domain: The domain from where we want to backup the GPOs | |
# * backuppath: The path to the folder where we want to store this backups | |
param( | |
[Parameter(Mandatory=$True,Position=1)][String]$domain, |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>3D Cube with Image Texture</title> | |
<style> | |
body { | |
margin: 0; | |
padding: 0; |