Skip to content

Instantly share code, notes, and snippets.

View ashfaqshuvo007's full-sized avatar

Ashfaq Hussain Ahmed ashfaqshuvo007

View GitHub Profile
@jordan-cutler
jordan-cutler / instructions.md
Created March 1, 2024 13:50
ChatGPT Custom Instructions

Usage

Go to https://chat.openai.com/#settings/Personalization, open custom GPT instructions, and paste these in for the answers to the GPT instructions, swapping what makes sense for you

What would you like ChatGPT to know about you to provide better responses?

My name is Jordan Cutler. I'm a Senior Software Engineer specializing in frontend development.

I'm also a content creator writing about software engineering career growth. I write daily on LinkedIn and Twitter. I write weekly on Substack on my newsletter. My writing is concise, friendly, warm, authentic, transparent.

I cement what I write through personal stories and anecdotes.

@bradtraversy
bradtraversy / vscode_shortcuts.md
Last active March 3, 2026 18:10
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

@bradtraversy
bradtraversy / docker-help.md
Last active March 7, 2026 21:11
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@cferdinandi
cferdinandi / metabox-multiple.php
Last active May 19, 2024 21:23
Create a metabox with multiple fields
<?php
/**
* Create a metabox with multiple fields.
* Replace `_namespace` with some namespace for your project to avoid conflicts with other items
*/
//
// Create Metabox
//
@numediaweb
numediaweb / functions.php
Last active October 25, 2022 22:46
Filter WordPress admin side navigation menues
function filter_admin_menues() {
// If administrator then do nothing
if (current_user_can('activate_plugins')) return;
// Remove main menus
$main_menus_to_stay = array(
// Dashboard
'index.php',
@paulund
paulund / example-wp-list-table.php
Last active January 28, 2025 16:01
An example code of using the WP_List_Table class. With Pagination.
<?php
/*
* Plugin Name: Paulund WP List Table Example
* Description: An example of how to use the WP_List_Table class to display data in your WordPress Admin area
* Plugin URI: http://www.paulund.co.uk
* Author: Paul Underwood
* Author URI: http://www.paulund.co.uk
* Version: 1.0
* License: GPL2
*/
@danielestevez
danielestevez / gist:2044589
Last active November 6, 2025 20:14
GIT Commit to an existing Tag
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}