This file contains hidden or 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
#!/usr/bin/env bash | |
## | |
# Update the SSH key for the azureuser account on the specified AKS node. | |
# | |
cluster_resource_group="${1:-}" | |
node="${2:-}" | |
public_key_path="${3:-}" | |
AZURE_USER="azureuser" |
This file contains hidden or 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
#!/usr/bin/env bash | |
mogrify -format png *.jpg | |
mogrify \ | |
-resize 4096x4096 \ | |
-background black \ | |
-gravity center \ | |
-extent 4096x4096 \ | |
-format png \ |
This file contains hidden or 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
<?php | |
/** | |
* Uninstall Multiversion and related modules. | |
*/ | |
function modulename_update_8000() { | |
// !!! IMPORTANT !!! | |
// First, make sure to check and see if any of the below entities have a | |
// value of NULL in "_deleted" or "workspace" columns, because if so, | |
// you'll want to update that. See this issue for more information: |
This file contains hidden or 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
$('.space-name').each(function () { console.log($(this).text()); }); |
This file contains hidden or 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
<?php | |
namespace Drupal\my_utiilities\Utility; | |
use Drupal\Core\Entity\ContentEntityInterface; | |
use Drupal\Core\Entity\EntityInterface; | |
use Drupal\Core\Entity\Plugin\DataType\EntityAdapter; | |
use Drupal\Core\Field\EntityReferenceFieldItemListInterface; | |
use Drupal\Core\Field\FieldItemInterface; | |
use Drupal\Core\TypedData\DataReferenceInterface; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
ffmpeg \ | |
-i INPUT_FILE.mp4 \ | |
-vf drawtext="fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf: fontsize=96: box=1: [email protected]: boxborderw=5: fontcolor=white: x=(w-text_w)/2: y=((h-text_h)/2)-(3*((h-text_h)/8)):timecode='00\:00\:00\:00':rate=28.09" \ | |
OUTPUT_FILE.mp4 |
This file contains hidden or 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
################################################################################ | |
# Script that renews a Let's Encrypt certificate for the Application Proxy of an | |
# Enterprise Application. | |
################################################################################ | |
# This script can be run standalone from your local machine to automate the | |
# steps of a specific ACME renewal for Azure AD App Proxy application. | |
# | |
# Prior to using this script, you will need to ensure you have a DNS zone setup | |
# that points to your Azure AD App Proxy deployment. Azure AD will give you a | |
# hostname that will need to be referenced by a CNAME record in the zone. So, |
This file contains hidden or 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
# This script has moved to: | |
# https://github.com/GuyPaddock/BlenderScripts/blob/main/LiveHome3dFbxCleanupAndExport.py |
This file contains hidden or 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
## | |
# A script to split simple, architectural geometry into convex pieces. | |
# | |
# This script makes use of Blender's built-in "Split Concave Faces" clean-up | |
# algorithm to break-up the faces of an object into convex pieces. The script | |
# attempts to identify all the edges that represent convex boundaries, and then | |
# it splits objects up along those edges. Each resulting piece is then made into | |
# a closed object by converting it into a convex hull. | |
# | |
# Be sure to select the object you wish the split into convex pieces before |