You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jetson Flash Script - Interactive script for flashing Jetson devices via Docker SDK Manager
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
Ubuntu Post-Installation Setup Script - NVM, Node.js 22, Chrome, Cursor, VSCode, Python, DBeaver CE, GNOME Extensions, Dash to Dock, RealVNC (No deb downloads)
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 allows you to delete all deployment records in a GitHub repository using the GitHub API. It securely stores your GitHub Personal Access Token (PAT) in a file (~/.github/.deployment_token) after the first use and automatically handles pagination for repositories with more than 100 deployments.
How to Obtain a GitHub Personal Access Token (PAT)
Before running the script, you need a GitHub Personal Access Token (PAT). Follow these steps:
Runtime environmental variables in Next.js 13 with Kubernetes/Docker
Next.js Application Kubernetes Deployment with Runtime Environment Variables
This repository contains a setup for deploying a Next.js application using Kubernetes and Docker. The main objective is to inject environment variables at runtime, all of which are prefixed with NEXT_PUBLIC_ and defined in the Dockerfile.
Purpose
The goal is to allow the use of runtime environment variables in a Next.js application. All environment variables are passed via Docker ARG during the build process and can be used to configure the application dynamically across different environments (development, staging, production).
This script connects to specified SQL Server databases, checks for user sessions that have been active for more than 2 minutes, and terminates those sessions. The script outputs the results of these actions, including the number of terminated sessions for each database. Finally, it provides a countdown before closing.
Explanation
SQL Server Connection Information: Sets the server instance, username, and password for the SQL Server connection.
Time Limit for Terminating Connections: Defines the time limit (in minutes) for terminating active connections.
List of Databases to Check: Specifies the databases to be checked for active user sessions.
This document contains a SQL script and explanations for identifying tables containing records with a specific column value in SQL Server, and then selecting those records. This script iterates through tables with a specified column and dynamically constructs select statements.
Delete Records Based on a Specific Column and Value
Delete Records Based on a Specific Column and Value
This document contains a SQL script and explanations for identifying tables containing records with a specific column and value in SQL Server, and then deleting those records. This script takes the column name and value as parameters and dynamically generates delete commands.
SQL Script
-- Create a temporary table
CREATE TABLE #TableCheckResults (
This T-SQL script is designed to find all foreign key relationships for a specific table, including the corresponding primary key details. It covers both cases where the specific table is either the parent (referencing) or the child (referenced) in the relationship.