macOS 11.6.1 (20G224) (bigSur) on ARM M1
The following will be running stuff every minute
sudo kmutil log stream
Info here:
| # Configure a Windows host for remote management with Ansible | |
| # ----------------------------------------------------------- | |
| # | |
| # This script checks the current WinRM/PSRemoting configuration and makes the | |
| # necessary changes to allow Ansible to connect, authenticate and execute | |
| # PowerShell commands. | |
| # | |
| # Set $VerbosePreference = "Continue" before running the script in order to | |
| # see the output messages. | |
| # Set $SkipNetworkProfileCheck to skip the network profile check. Without |
| #!/usr/bin/env bash | |
| set -e | |
| set -x | |
| MY_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
| pushd "${MY_DIR}" | |
| MY_SDXC=/var/run/disk/by-serial/SD_Card_Reader-000000000000 | |
| diskutil info $MY_SDXC |
| #!/usr/bin/env bash | |
| set -e | |
| set -o pipefail | |
| THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| T_STAMP=$(date -u +"%Y%m%d_%H%M%SZ") | |
| set -x | |
| # docker rm -f gitlab-runner-dind gitlab-dind-host |
| ## Unity ## | |
| *.cs diff=csharp text | |
| *.cginc text | |
| *.shader text | |
| *.mat merge=unityyamlmerge eol=lf | |
| *.anim merge=unityyamlmerge eol=lf | |
| *.unity merge=unityyamlmerge eol=lf | |
| *.prefab merge=unityyamlmerge eol=lf |
| #!/bin/bash | |
| set -o nounset | |
| ########################################## | |
| # Defaults | |
| ########################################## | |
| : ${recipient:=} | |
| : ${host:=localhost} | |
| : ${port:=5432} | |
| : ${databases:=} |
| #!/bin/bash | |
| # $Id: fulldump.sh,v 1.4 2013/10/31 14:25:36 postgres Exp postgres $ | |
| # $Source: /var/lib/postgresql/8.2/RCS/fulldump.sh,v $ | |
| # $Log: fulldump.sh,v $ | |
| # | |
| # Revision 1.4 2013/10/31 14:25:36 postgres | |
| # Removed pg_dump '-D' option, added $RETVAL | |
| # default value for the initial case - MS. | |
| # | |
| # Revision 1.3 2007/09/28 13:29:07 postgres |
| -- Refresh materialized views recursively | |
| -- DEPENDS: | |
| -- List the tables that a view depends on. | |
| -- Thanks to Dave: http://stackoverflow.com/questions/4229468/getting-a-list-of-tables-that-a-view-table-depends-on-in-postgresql | |
| create or replace function inf_view_dependencies(v text) | |
| returns table (kind text, name text) as $$ | |
| SELECT cl_d.relkind::text as kind | |
| , cl_d.relname::text AS name | |
| FROM pg_rewrite AS r |
| # USE WITH CARE... NO WARRANTIES!!! | |
| # THESE ARE NOTES ON HOW TO CLEANUP OR REMOVE SOME KEXTS | |
| # AS A MATTER OF FACT, YOUR SYSTEM MAY START MALFUNCTIONING | |
| # IF YOU DO FOLLOW THIS WITHOUT UNDERSTANDING WHAT YOU ARE DOING | |
| (after the disclaimer, just some notes for my future reference) | |
| (glad if they help you, but taking no responsibility) | |
| this came across as the need to cleanup some Auxiliary Kernel Collection (AuxKC) | |
| * com.samsung.portablessd.driver |
| # https://arindamhazra.com/list-azure-ad-roles-and-role-assignments/ | |
| Connect-AzureAD | |
| $allAZADUserWithRoleMapping = @() | |
| # Get all Azure AD roles and loop through members of those roles | |
| # Add user/service principal details in psObject array | |
| Get-AzureADDirectoryRoleTemplate | ForEach-Object{ | |
| $roleName = $_.DisplayName |