| #! /bin/bash | |
| # Simple Utility Script for allowing debug of hardened macOS apps. | |
| # This is useful mostly for plug-in developer that would like keep developing without turning SIP off. | |
| # Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg | |
| # Update 2022-03-10: Based on Fabian's feedback, add capability to inject DYLD for sanitizers. | |
| # | |
| # Please note: | |
| # - Modern Logic (on M1s) uses `AUHostingService` which resides within the system thus not patchable and REQUIRES to turn-off SIP. | |
| # - Some hosts uses separate plug-in scanning or sandboxing. | |
| # if that's the case, it's required to patch those (if needed) and attach debugger to them instead. |
| PLAN_OPTIONS ?= | |
| APPLY_OPTIONS ?= | |
| EXCLUDE ?= | |
| INCLUDE ?= | |
| # For Terraform 0.12 (using `-no-color` to avoid dealing with terminal color) | |
| define PLAN_OPTIONS_EXCLUDE | |
| $(shell terraform show -no-color current.plan | perl -nle 'if (/\s# (.*?)\s/) {print $$1}' | grep -E -v '$(1)' | sed -e 's/^/-target="/g' -e 's/$$/"/g' | xargs) | |
| endef |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # If file exists (likely) copy fragment below into existing script: | |
| # If stdin is a terminal | |
| if [ -t 0 ]; then | |
| # Set GPG_TTY so gpg-agent knows where to prompt. See gpg-agent(1) | |
| export GPG_TTY="$(tty)" | |
| # Set PINENTRY_USER_DATA so pinentry-auto knows to present a text UI. | |
| export PINENTRY_USER_DATA=USE_TTY=1 |
Run mdadm - this command is used to manage and monitor software RAID devices in linux.
mdadm --detail /dev/md0 or md<N>
mount -t ext4 /dev/md0 /share/MD0_DATA
Check disks
mdadm --examine /dev/sdd3
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" src="https://getfirebug.com/firebug-lite-debug.js"></script> | |
| <meta name="description" content="Three.js Custom AxisHelper Axis Arrows" /> | |
| <meta charset="utf-8" /> | |
| <title>Three.js Custom AxisHelper Axis Arrows</title> | |
| <style> | |
| #container { | |
| background: #000000; |
Since this recipe was rejected because of the volatile nature of pCloud links (see homebrew-cask#57634) I try to maintain this myself because it is useful to me and might be for others.
- Download
pcloud-drive.rb. - Run
brew cask install pcloud-drive.rb.
To uninstall run brew cask uninstall pcloud-drive.rb.
This tutorial is a follow-up to the discussion we had on davidchall/homebrew-hep#114.
It relies on a fork of the test-bot provided by davidchall; you can get it with brew tap maelvalais/test-bot.
First:
- the Github project must be of the form
https://github.com/<user>/homebrew-<tap>with the following tree (I give the example of one of my formulas, touist):
It's a common confusion about terminal colours... Actually we have this:
- plain ascii
- ansi escape codes (16 colour codes with bold/italic and background)
- 256 colour palette (216 colours + 16 ansi + 24 gray) (colors are 24bit)
- 24bit true colour ("888" colours (aka 16 milion))
printf "\x1b[${bg};2;${red};${green};${blue}m\n"
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html