This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function my_enquee_scripts() { | |
$label = 'parent-theme-styles'; | |
$fileurl = get_template_directory_uri() . '/style.css'; | |
wp_enqueue_style( $label, $fileurl ); | |
} | |
add_action( 'wp_enqueue_scripts', 'my_enquee_scripts' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yarn add dotenv express joi lodash morgan | |
yarn add -D nodemon ts-node types-installer typescript add-npm-scripts | |
yarn add-npm-scripts start "nodemon" | |
yarn add-npm-scripts build "tsc" | |
yarn types-installer | |
cat > nodemon.json <<EOL | |
{ | |
"watch": ["src"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
mongo: | |
image: mckernanin/mongo-auth:4.0.8 | |
environment: | |
AUTH: "yes" | |
MONGODB_ADMIN_USER: admin | |
MONGODB_ADMIN_PASS: '**********' # set your admin password here | |
MONGODB_APPLICATION_DATABASE: appname # give the db a name | |
MONGODB_APPLICATION_USER: application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": [ | |
{ | |
"id": 30004553, | |
"name": "4-EP12" | |
}, | |
{ | |
"id": 30004552, | |
"name": "XF-TQL" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
COMMITS=$(git cherry -v main $1 | cut -d " " -f 2) | |
for COMMIT in $COMMITS | |
do | |
git checkout $COMMIT | |
./script.sh |
OlderNewer