Skip to content

Instantly share code, notes, and snippets.

View karanpal-dhillon's full-sized avatar

karan dhillon karanpal-dhillon

View GitHub Profile
@adibhanna
adibhanna / .tmux.conf
Last active March 12, 2025 01:03
.tmux.conf
#--------------------------------------------------------------------------
# Configuration
#--------------------------------------------------------------------------
# Use Vi mode
setw -g mode-keys vi
# Increase scrollback buffer size
set -g history-limit 10000
@bradtraversy
bradtraversy / vsc_js_snippets.json
Last active October 16, 2024 17:39
VSCode JavaScript Snippets
{
"Console Log": {
"prefix": "cl",
"body": "console.log($1);",
"description": "Console Log"
},
"Named Function": {
"prefix": "nfn",
"body": ["function ${1:functionName}($2) {", " $3", "}"],
"description": "Named Function"
@bradtraversy
bradtraversy / vscode_shortcuts.md
Last active March 9, 2025 02:54
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

@karanpal-dhillon
karanpal-dhillon / docker_wordpress.md
Created January 20, 2019 14:44 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@bradtraversy
bradtraversy / docker_wordpress.md
Last active March 14, 2025 13:09
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active March 4, 2025 07:44
Online Resources For Web Developers (No Downloading)