Skip to content

Instantly share code, notes, and snippets.

View w3dg's full-sized avatar
:fishsticks:

Debopam Gupta w3dg

:fishsticks:
View GitHub Profile
@w3dg
w3dg / ssh-setup.md
Last active May 20, 2024 07:40
SSH Setup

SSH Setup

On remote, SSH must be installed and running

sudo apt install openssh-server # also maybe openssh-client

check if its running or not

@w3dg
w3dg / create-express-starter.sh
Created April 5, 2022 10:13
Bash Script for quicky setting up a express-api. From https://github.com/w3dg/express-api-starter
#! /usr/bin/env bash
set -euo pipefail
FOLDER_NAME=$@
echo "Cloning starter..."
echo ""
git clone https://github.com/w3dg/express-api-starter.git ${FOLDER_NAME:=express-api-starter} &> /dev/null

Live Boot / Install Ubuntu 20.04 LTS

Debopam Gupta | November 6th , 2021

First things first

  1. Get Ubuntu LTS ISO https://ubuntu.com/#download
  2. Get a USB stick ( at least 4 GB ) Warning: Make sure you dont care about the files on the USB as it willl be formatted completely, any data on there will be lost
  3. Download Rufus https://rufus.ie/en/# Github Link : https://github.com/pbatard/rufus
  4. Flash the ISO onto the USB with Rufus. Keep all defaults - MBR, UEFI/BIOS etc
@fourjr
fourjr / Discord Join Messages.js
Last active July 13, 2025 02:55
new member messages discord
loading lines: "https://gist.github.com/fourjr/f94fc112cef6da07fc274216d5755420"
Somewhere in 2020, they reduced the messages from 38 to 13.. This is the updated list on 5 December 2020.
Ctrl+Shift+I > Application > Frames > top > Scripts > a3762dfb973e0a7a21ba.js > ctrl+f "GUILD_MEMBER_JOIN" or https://canary.discordapp.com/assets/a3762dfb973e0a7a21ba.js
SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_001: "[!!{username}!!](usernameOnClick) joined the party.",
SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_002: "[!!{username}!!](usernameOnClick) is here.",
SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_003: "Welcome, [!!{username}!!](usernameOnClick). We hope you brought pizza.",
SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_004: "A wild [!!{username}!!](usernameOnClick) appeared.",
SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_005: "[!!{username}!!](usernameOnClick) just landed.",
@coco-napky
coco-napky / hyper.js
Created March 8, 2017 23:21
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active November 4, 2025 21:16
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line