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
#v3 | |
#Unload all Launch Agents | |
find /Library/LaunchAgents -iname '*wacom*.plist' -maxdepth 1 -exec launchctl unload {} \; | |
#Kill all Wacom Processes | |
kill $(ps aux | grep -v grep | grep -i wacom | awk '{print $2}' | grep -v 141) | |
sleep 2 | |
#Relaunch all Wacom LaunchAgents |
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
function Show-Notification { | |
[cmdletbinding()] | |
Param ( | |
[string] | |
$ToastTitle, | |
[string] | |
[parameter(ValueFromPipeline)] | |
$ToastText | |
) |
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
//It overwrites the same image in the current location. Thus run only on Smart Objects!!!!! | |
//////////////////////////////////////////////////////////////////////////////////////////// | |
//Photoshop Script to save TIFF as JPEG Compression 10, ZIP. | |
//////////////////////////////////////////////////////////////////////////////////////////// | |
//When run through the Droplet, user will not be prompted which Compression to use when saving transparency and/or together with Smart Objects. | |
//Another workaround was to use PSDs. Which also do not prompt thus allow for easy batching of images. | |
//But PSDs are 2x sometimes 3x bigger in size. Thus slow down the whole batching process. Not to mention those big files slow down, my already super slow machine. | |
//Using TIFF Jpegg 10, ZIP - saves space, runs faster, allows for batching. | |
// Start====================================================== |
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
```dataviewjs | |
// If too many connections are found, mermaid wont render them. | |
// Thus, we have to limit either how deep we go via "var specifiedDepth = X;" | |
// Or, we can reduce amount of links shown "maxLinks = X" | |
var inlinks = [...new Set(dv.current().file.inlinks.map(link => link.path.split('/').pop().replace('.md', '')))]; | |
var outlinks = [...new Set(dv.current().file.outlinks.map(link => link.path.split('/').pop().replace('.md', '')))]; | |
var graph = []; | |
var classList = []; | |
var nodeNames = {}; |