Skip to content

Instantly share code, notes, and snippets.

View imgul's full-sized avatar
🖥️
Implementing Ideas

Gul Zaib imgul

🖥️
Implementing Ideas
View GitHub Profile
@imgul
imgul / all-countries-php-array-list.md
Last active September 2, 2025 21:33
List of all countries with country code, phone format, currency and much more related fields as PHP Array.

All Countries PHP Array

Countries with fields:

  1. name
  2. phone
  3. alpha_3
  4. continent
  5. continent_code
  6. capital
  7. currency_code
@imgul
imgul / belvus-be-postman-api-collection-salesdock.json
Created August 22, 2025 02:40
Belvus.be Postman API Collection for Salesdock
{
"info": {
"_postman_id": "ea570f48-d112-4f8b-8495-58fe4c3c3950",
"name": "Belvus.be Postman API Collection for Salesdock",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "22928355",
"_collection_link": "https://belvus.postman.co/workspace/Belvus-Workspace~63b554ae-8626-470c-80db-55b7bb89ee6e/collection/22928355-ea570f48-d112-4f8b-8495-58fe4c3c3950?action=share&source=collection_link&creator=22928355"
},
"item": [
{
@imgul
imgul / .htaccess
Created May 3, 2024 22:11
HTACCESS file for the shared hosting for laravel project
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://sgpt.xsill.com/public/$1 [R,L]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ ^$1 [N]
@imgul
imgul / todohighlight VSCode Extension Settings
Last active April 19, 2023 06:44
Extension by: Wayou Liu
// to do higlight
"todohighlight.isEnable": true,
"todohighlight.isCaseSensitive": false,
"todohighlight.include": [
"**/*.php"
],
"todohighlight.exclude": [
"**/node_modules/**",
"**/bower_components/**",
"**/dist/**",
@imgul
imgul / .bash_aliases
Last active July 22, 2024 01:04
Awesome BASH Aliases
#
# Python
#
alias python=python3.11
#

How to install Laravel globally in Ubuntu

===================================================================

Open your terminal using Ctrl+Alt+T and type the following commands

Step 1: Install Laravel

composer global require "laravel/installer"
@imgul
imgul / History\-1308274b\14g7.json
Last active December 19, 2022 08:05
These are the VS Code Editor Settings Synchronized by Setting Sync Extension. Synchronize settings, snippets, themes, icons, launch, keybindings, workspaces and extensions across machines using GitHub Gist.
{
"security.workspace.trust.untrustedFiles": "open",
"workbench.editorAssociations": {
"*.mp4": "default"
},
"git.autofetch": true,
"git.enableSmartCommit": true,
"gitlens.hovers.currentLine.over": "line",
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
@imgul
imgul / wp-standard-theme.bash
Last active August 25, 2022 18:13
Standard files for WordPress Block Theme BASH Script for instant work
mkdir theme-name && cd theme-name && mkdir assets inc template-parts && touch 404.php archive.php comments.php footer.php front-page.php functions.php header.php index.php page.php README.txt rtl.css screenshot.png search.php searchform.php sidebar.php single.php style.css && cd assets && mkdir css images js && cd ../template-parts && mkdir footer header navigation page post
# wow