This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from aqt import mw | |
from aqt.qt import * | |
from anki.hooks import addHook | |
import os | |
import unicodedata | |
def add_media_to_cards(deck_name, field_name, media_folder, target_field): | |
# Function to normalize Unicode strings | |
def normalize(s): | |
return unicodedata.normalize('NFC', s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "Music.h" | |
MusicApplication* musicApplication = [SBApplication applicationWithBundleIdentifier:@"com.apple.Music"]; | |
[app playpause]; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set WshShell = WScript.CreateObject("WScript.Shell") | |
WScript.Sleep 3000 | |
'Hackery to get the clipboard's contents | |
Set objHTML = CreateObject("htmlfile") | |
text = objHTML.ParentWindow.ClipboardData.GetData("text") | |
WshShell.SendKeys text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project(shaderpanel) | |
FIND_LIBRARY(GLESV2 brcmGLESv2 HINTS /opt/vc/lib) | |
FIND_LIBRARY(EGL brcmEGL HINTS /opt/vc/lib) | |
FIND_LIBRARY(RGBMATRIX rgbmatrix HINTS ${PROJECT_SOURCE_DIR}/matrix/lib) | |
include_directories(/opt/vc/include) | |
include_directories(${PROJECT_SOURCE_DIR}/matrix/include) | |
add_executable(shaderpanel main.cpp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "base64:$(openssl rand -base64 32)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 76d6fd6bd4c16496b27455788922bf2572f59036 Mon Sep 17 00:00:00 2001 | |
From: Colin Edwards <[email protected]> | |
Date: Mon, 7 Dec 2020 18:49:00 -0600 | |
Subject: [PATCH] Defer enabling monitoring | |
--- | |
libobs/obs.c | 35 ++++++++++++++++++++++------------- | |
1 file changed, 22 insertions(+), 13 deletions(-) | |
diff --git a/libobs/obs.c b/libobs/obs.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SBaudrate 19200 | |
// read | |
SSerialSend5 726561640D | |
// sw i08 | |
SSerialSend5 7377206930380D | |
// sw i01 | |
SSerialSend5 7377206930310D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--?xml version="1.0" encoding="UTF-8"?--> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>com.apple.security.cs.allow-unsigned-executable-memory</key> | |
<true/> | |
<key>com.apple.security.device.camera</key> | |
<true/> | |
<key>com.apple.security.device.audio-input</key> | |
<true/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Patches for Qt must be at the very least submitted to Qt's Gerrit codereview | |
# rather than their bug-report Jira. The latter is rarely reviewed by Qt. | |
class Qt < Formula | |
desc "Cross-platform application and UI framework" | |
homepage "https://www.qt.io/" | |
url "https://download.qt.io/official_releases/qt/5.14/5.14.1/single/qt-everywhere-src-5.14.1.tar.xz" | |
mirror "https://mirrors.dotsrc.org/qtproject/archive/qt/5.14/5.14.1/single/qt-everywhere-src-5.14.1.tar.xz" | |
mirror "https://mirrors.ocf.berkeley.edu/qt/archive/qt/5.14/5.14.1/single/qt-everywhere-src-5.14.1.tar.xz" | |
sha256 "6f17f488f512b39c2feb57d83a5e0a13dcef32999bea2e2a8f832f54a29badb8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Patches for Qt must be at the very least submitted to Qt's Gerrit codereview | |
# rather than their bug-report Jira. The latter is rarely reviewed by Qt. | |
class Qt < Formula | |
desc "Cross-platform application and UI framework" | |
homepage "https://www.qt.io/" | |
url "https://download.qt.io/official_releases/qt/5.14/5.14.1/single/qt-everywhere-src-5.14.1.tar.xz" | |
mirror "https://mirrors.dotsrc.org/qtproject/archive/qt/5.14/5.14.1/single/qt-everywhere-src-5.14.1.tar.xz" | |
mirror "https://mirrors.ocf.berkeley.edu/qt/archive/qt/5.14/5.14.1/single/qt-everywhere-src-5.14.1.tar.xz" | |
sha256 "6f17f488f512b39c2feb57d83a5e0a13dcef32999bea2e2a8f832f54a29badb8" |
NewerOlder