Skip to content

Instantly share code, notes, and snippets.

View atulkadian's full-sized avatar
🎯
Focusing

Atul Kadian atulkadian

🎯
Focusing
View GitHub Profile
Linkedin = {
config: {
scrollDelay: 3000,
actionDelay: 5000,
nextPageDelay: 5000,
// set to -1 for no limit
maxRequests: -1,
totalRequestsSent: 0,
// set to false to skip adding note in invites
addNote: true,
@atulkadian
atulkadian / setup.sh
Last active July 24, 2024 15:49
EC2 Setup for node apps
#!/bin/sh
# Copyright (C) 2024 Atul-Kadian
echo "Updating Packages ..."
sudo apt-get update
echo "Installing unzip"
sudo apt install unzip -y
echo "Install Nginx ..."
@FreddieOliveira
FreddieOliveira / docker.md
Last active November 2, 2025 06:10
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@menushka
menushka / airdropSorter.scpt
Created December 30, 2018 22:47
A Folder Action script written in AppleScript used to separate AirDropped files into a different folder other than the default Downloads folder
property AIRDROP_FOLDER : "Path:to:AirDrop:Folder:in:Alias:format"
property QUARANTINE_KEY : "59"
property GET_QUARANTINE_COMMAND_START : "ls -l -@ '"
property GET_QUARANTINE_COMMAND_END : "' | tr '\\n' ' ' | sed 's/.*com\\.apple\\.quarantine\\s*\\(\\d*\\)/ \\1/' | awk '{$1=$1};1'"
on adding folder items to this_folder after receiving added_items
repeat with i from 1 to length of added_items
set current_item to item i of added_items
set quarantine_type to getQuarantineType(POSIX path of current_item)
@alejandro-martin
alejandro-martin / multiple-ssh-keys-git.adoc
Last active October 26, 2025 07:39
Configure multiple SSH Keys for Git

Use Multiple SSH Keys for Git host websites (Github, Gitlab)

This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.

Creating SSH keys

  1. Create SSH directory:

@msfjarvis
msfjarvis / sepolicy.md
Last active September 27, 2025 18:55
How to write sepolicy to fix a denial
@dehamzah
dehamzah / generate.js
Last active June 23, 2025 09:37
Generate secret key in NodeJS
require('crypto').randomBytes(48, function(err, buffer) { var token = buffer.toString('hex'); console.log(token); });
@martinbuberl
martinbuberl / git-import-repository.md
Last active May 28, 2025 21:05
Import an Existing Git Repository into Another

Import an Existing Git Repository into Another

Before: Folder Structure (Two Separate Repositories)

XXX
 |- .git
 |- (project files)
YYY
 |- .git