Put sync-cloudinit-ubuntu-2404.sh on /etc/cron.daily/ and give executable permission, with root as file owner.
PLEASE CONFIGURE BEFORE USE.
| #!/bin/bash | |
| set -euo pipefail | |
| # Configure IMDSv2 | |
| TOKEN=$(curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600") | |
| # Get instance ID | |
| INSTANCE_ID=$(curl -H "X-aws-ec2-metadata-token: $TOKEN" http://169.254.169.254/latest/meta-data/instance-id) | |
| # Get region |
| { | |
| "createdAt": "2025-05-12T01:02:44.119Z", | |
| "updatedAt": "2025-05-13T03:09:50.753Z", | |
| "name": "자기 인식과 판단 성향 테스트", | |
| "description": [ | |
| { | |
| "type": "doc", | |
| "content": [ | |
| { | |
| "type": "paragraph", |
| # Frontend Design Guideline | |
| This document summarizes key frontend design principles and rules, showcasing | |
| recommended patterns. Follow these guidelines when writing frontend code. | |
| # Readability | |
| Improving the clarity and ease of understanding code. |
| Test sizes: 125x128 * 124x128 -> 124x124 | |
| Running reference case (single thread)... | |
| Running with 1 threads... | |
| Running with 2 threads... | |
| Running with 3 threads... | |
| Running with 4 threads... | |
| Running with 5 threads... | |
| Running with 6 threads... | |
| Running with 7 threads... | |
| Running with 8 threads... |
| 613 440 | |
| 41 92 17 79 4 44 89 31 42 71 55 86 13 59 37 61 62 94 22 13 29 70 46 27 9 23 75 31 13 78 95 10 86 62 16 73 33 14 73 95 51 75 63 6 13 32 38 33 38 83 100 58 91 75 62 26 46 68 6 100 24 30 100 82 4 34 69 24 31 64 91 98 26 39 58 86 20 63 16 8 98 100 67 22 51 69 79 86 10 95 35 15 53 83 88 64 54 16 13 57 23 32 55 74 64 7 59 50 75 18 62 87 37 77 19 86 12 35 10 17 60 36 55 53 2 80 12 28 81 87 89 71 47 68 30 83 50 39 10 100 21 41 45 30 80 84 57 55 17 80 96 100 86 75 4 27 97 35 26 92 91 37 55 28 45 16 26 12 88 15 8 21 35 8 59 86 51 23 71 48 29 53 17 49 85 40 76 29 2 51 51 29 95 5 55 58 77 63 73 91 2 52 75 14 93 39 19 59 91 84 5 57 44 6 74 40 33 77 96 41 16 35 84 90 54 97 89 43 96 96 97 30 10 59 97 93 52 49 61 87 21 79 28 23 90 8 93 31 68 49 15 51 81 76 79 75 41 20 25 88 30 95 10 37 30 10 88 77 35 57 19 58 74 89 17 29 3 53 89 22 47 86 22 79 34 92 83 22 34 88 50 77 4 46 67 78 47 59 26 85 33 42 18 83 99 48 43 61 43 68 20 46 54 72 12 43 75 6 100 49 1 38 20 90 20 53 11 40 72 100 76 69 88 63 83 5 26 29 56 9 7 67 26 80 |
| #!/bin/bash | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 <port> [-v]" | |
| exit 1 | |
| fi | |
| PORT=$1 | |
| VERBOSE=$([ "$2" == "-v" ]) |
| import type { Config } from "@payload/types"; | |
| import * as payloadZod from "@payload/zod"; | |
| import type { Where } from "payload/dist/types"; | |
| import qs from "qs"; | |
| import { z } from "zod"; | |
| type KebabCaseToCamelCase<S extends string> = S extends `${infer L}-${infer R}` | |
| ? `${Lowercase<L>}${Capitalize<KebabCaseToCamelCase<R>>}` | |
| : Lowercase<S>; |
| ################################################################################### | |
| # File Name: RDSHCert.ps1 # | |
| # Description: Script to Configure RDSH Certificate in WMI RDP-TCP # | |
| # Version: 1.0 # | |
| # Creator: Ryan Mangan # | |
| # Emails: [email protected] # | |
| # Blog: Ryanmangansitblog.com # | |
| # # | |
| # Date: March 2014 # | |
| # Notes: RDSH Certificate Deployment # |
| #!/bin/bash | |
| if [ $# -ne 1 ]; then | |
| echo "usage: kp [port]" | |
| exit 1 | |
| fi | |
| NODE_PID=$(ss -lptn "sport = :$1" | grep -o 'pid=[0-9]\+' | cut -d '=' -f 2) | |
| if [ -z $NODE_PID ]; then |