Stop spying on me:
launchctl unload /Library/LaunchAgents/com.paloaltonetworks.gp.pangp*
I want to use the VPN again:
launchctl load /Library/LaunchAgents/com.paloaltonetworks.gp.pangp*
// | |
// | |
// Adapted from: | |
// | |
// Original: https://gist.github.com/loudmouth/332e8d89d8de2c1eaf81875cfcd22e24 | |
// Adds encoding: https://github.com/3D4Medical/glTFSceneKit/blob/master/Sources/glTFSceneKit/GLTF/JSONCodingKeys.swift | |
// Adds fix for null inside arrays causing infinite loop: https://gist.github.com/loudmouth/332e8d89d8de2c1eaf81875cfcd22e24#gistcomment-2807855 | |
// | |
struct JSONCodingKeys: CodingKey { | |
var stringValue: String |
using NtApiDotNet; | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; |
Researched by Robert Quattlebaum darco@deepdarc.com.
Last updated 2020-02-03.
def calculate_aspect(width: int, height: int) -> str: | |
def gcd(a, b): | |
"""The GCD (greatest common divisor) is the highest number that evenly divides both width and height.""" | |
return a if b == 0 else gcd(b, a % b) | |
r = gcd(width, height) | |
x = int(width / r) | |
y = int(height / r) | |
return f"{x}:{y}" |
nodes: | |
- id: webcam | |
custom: | |
source: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/opencv_stream.py | |
outputs: | |
- image | |
- id: idefics2 | |
operator: | |
python: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/idefics2_op.py | |
inputs: |
[ | |
{ | |
"kana": "ア", | |
"roumaji": "a", | |
"type": "gojuuon" | |
}, | |
{ | |
"kana": "イ", | |
"roumaji": "i", | |
"type": "gojuuon" |
[ | |
{ | |
"kana": "あ", | |
"roumaji": "a", | |
"type": "gojuuon" | |
}, | |
{ | |
"kana": "い", | |
"roumaji": "i", | |
"type": "gojuuon" |