Skip to content

Instantly share code, notes, and snippets.

View baldawayash15's full-sized avatar
๐ŸŽฏ
Focusing

Yash Baldawa baldawayash15

๐ŸŽฏ
Focusing
  • Pune
View GitHub Profile
@baldawayash15
baldawayash15 / starship.toml
Last active July 21, 2023 13:30
Starship Custom Terminal Config
[aws]
symbol = "๎Œฝ "
[c]
symbol = "๎˜ž "
[dart]
symbol = "๎ž˜ "
[directory]
@bradtraversy
bradtraversy / tailwind-webpack-setup.md
Last active June 27, 2025 23:59
Setup Webpack with Tailwind CSS

Webpack & Tailwind CSS Setup

Create your package.json

npm init -y

Create your src folder

Create a folder called src and add an empty index.js file. The code that webpack compiles goes in here including any Javascript modules and the main Tailwind file.

@ashokmhrj
ashokmhrj / custom-template-plugin.php
Last active October 21, 2023 13:36
Get Template Part From plugin directory
<?php
/**
* The below function will help to load template file from plugin directory of wordpress
* Extracted from : http://wordpress.stackexchange.com/questions/94343/get-template-part-from-plugin
*/
define('PLUGIN_DIR_PATH','Your-plugin-directory-path');
function ccm_get_template_part($slug, $name = null) {
do_action("ccm_get_template_part_{$slug}", $slug, $name);