Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

@chaudharyachint08
chaudharyachint08 / gate_da_material.md
Last active September 18, 2025 07:58
GATE(DA) Preparation Material

Probability and Statistics (with Counting/Combinatorics)

  • Mathematics (Class 11 & 12) - NCERT Relevant Chapters
    • Class 11 - Ch 1. Sets
    • Class 11 - Ch 2. Relations and Functions
    • Class 12 - Ch 1. Relations and Functions
    • Class 11 - Ch 6. Permutations and Combinations
@Mike-Schvedov
Mike-Schvedov / MouseMovement.cs
Created August 29, 2024 12:37
MouseMovement - Survival Series Episode 1
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MouseMovement : MonoBehaviour
{
public float mouseSensitivity = 100f;
float xRotation = 0f;
@Mike-Schvedov
Mike-Schvedov / PlayerMovement.cs
Created August 29, 2024 12:36
PlayerMovement - Survival Series Episode 1
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public CharacterController controller;
public float speed = 12f;
public float gravity = -9.81f * 2;
@peterpeterparker
peterpeterparker / check_npm_malwares.sh
Last active September 18, 2025 07:55
Check npm malwares
#!/bin/sh
# Original source: https://github.com/AndrewMohawk/RandomScripts/blob/main/scan_for_deps_qix-2025-08-09.sh
# - Enhanced with additional compromised libraries in supply-chain attacks.
# - Added some references
# - Count vulnerabilities
# - Review outputs to the terminal
# - Support for libraries scoped with @
echo "------------------------------------------------"
@iam-veeramalla
iam-veeramalla / aws_resource_list.sh
Created August 14, 2024 13:50
Script to automate the process of listing all the resources in an AWS account
#!/bin/bash
###############################################################################
# Author: Abhishek Veeramalla
# Version: v0.0.1
# Script to automate the process of listing all the resources in an AWS account
#
# Below are the services that are supported by this script:
# 1. EC2
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active September 18, 2025 07:51
set -e, -u, -o, -x pipefail explanation
@ancientGlider
ancientGlider / keenetic_auth.py
Last active September 18, 2025 07:50
Authentication for Keenetic routers for work with CLI via REST API (Python)
# -*- coding: utf-8 -*-
"""
Данные с адресом, логином, паролем хранятся в конфигурационном файле следующего вида:
[Router]
ip_addr = 192.168.1.1:8080
login = admin
passw = anyPassword
@Rel1cx
Rel1cx / dprint.json
Last active September 18, 2025 07:46
dprint.json
{
"lineWidth": 120,
"typescript": {
"indentWidth": 2,
"quoteStyle": "preferDouble",
"quoteProps": "asNeeded",
"importDeclaration.sortNamedImports": "caseSensitive",
"exportDeclaration.sortNamedExports": "caseSensitive",
"module.sortImportDeclarations": "caseSensitive",
"module.sortExportDeclarations": "caseSensitive"
@codemoo
codemoo / scan_dropbox_conflicts.sh
Last active September 18, 2025 07:46
Bash script to scan Dropbox folders for conflicted copies and optionally delete them.
#!/usr/bin/env bash
# ------------------------------------------------------------
# scan_dropbox_conflicts.sh
#
# Scan a Dropbox folder for conflicted copy files and optionally delete them.
# Fast mode uses Spotlight (mdfind) on macOS; fallback uses find with name filters.
#
# Features:
# - Recursive scan of target folder (default: current directory).
# - Multi-language patterns ("conflicted copy", "충돌된 사본"; extensible).