Quick reference for T2 SDE development, system maintenance and hacking. Run commands from /usr/src/t2-src.
Reference docs:
Quick reference for T2 SDE development, system maintenance and hacking. Run commands from /usr/src/t2-src.
Reference docs:
| { | |
| "hooks": { | |
| "PreToolUse": [ | |
| { | |
| "matcher": "Grep|Glob|Regex", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/vexp-guard.sh", | |
| "timeout": 3000 |
| #!/bin/bash | |
| # ============================================================================= | |
| # OMD Backup Script | |
| # ============================================================================= | |
| PROGNAME=$(basename "$0") | |
| FILEDATE=$(date '+%Y%m%d') | |
| # --- Site Configuration ------------------------------------------------------ |
| def splitOnceByToken(String input, String sep) { | |
| def tokens = ["", ""]; | |
| def startPosition = 0; | |
| def isInQuotes = false; | |
| char quote = (char)"\""; | |
| for (def currentPosition = 0; currentPosition < input.length(); currentPosition++) { | |
| if (input.charAt(currentPosition) == quote) { | |
| isInQuotes = !isInQuotes; | |
| } | |
| else if (input.charAt(currentPosition) == (char)sep && !isInQuotes) { |
| #!/usr/bin/env python3 | |
| """ This module is used for monitoring directory sizes and reporting these to CheckMK. | |
| The status is automatically calculated based on WARN and CRIT levels of directory sizes. | |
| If a max_size (see: dictionary host_paths) has been configured, WARN is 80% and CRIT is 90% of max_size. | |
| """ | |
| ############### | |
| ### imports ### | |
| ############### |
| 00001 PF.Magic's Petz 3 Player | |
| 00002 Headspace Beatnik Player Stub V1.0.0.1 | |
| 00003 ZingWeb Plug-in for Netscape | |
| 00004 Windows Media Player Plug-in | |
| 00005 Parable ThingViewer 1.0 | |
| 00006 Cosmo Player 2.1 | |
| 00007 Adobe Acrobat | |
| 00008 Microsoft ActiveX Portability Container (NPWrap) | |
| 00009 VDOLive small plugin | |
| 00010 RealPlayer G2 LiveConnect (32-bit) |
| @echo off | |
| cls | |
| ::Clean Manually for deleted users on Windows HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList | |
| ::This is not a complete script!!!; supplement it with other tools if you wish. | |
| ::This script has already been tested on Windows 10 | |
| ::I am not responsible for any use that may be made of it. It is for research purposes only. | |
| netsh wlan delete profile * | |
| ipconfig /flushdns | |
| powershell -Command "Clear-DnsClientCache" | |
| arp -d * |
| import json | |
| import boto3 | |
| import os | |
| from datetime import datetime | |
| s3 = boto3.client('s3') | |
| def lambda_handler(event, context): | |
| incoming_data = json.loads(event['body']) if 'body' in event else event | |
DESTINATION_PATH with your path for storing the binaries downloaded.The point of this script is to be used with a web-server that can serve the directory for hosting offline artifactory. See https://www.elastic.co/docs/reference/fleet/air-gapped#host-artifact-registry
| (function () { | |
| const rows = document.querySelectorAll('tr.result-row'); | |
| const csvRows = []; | |
| // CSV Header | |
| csvRows.push([ | |
| 'Date', | |
| 'Time', | |
| 'Ping (ms)', | |
| 'Download (Mbps)', |