- Install Python
- Open your terminal and type
pip install requests
- Create a new file and call it
check.py
and save it inside a folder of your choice - Paste this code
import requests
import os
def search_github_issues(repos, issue_title):
#!/bin/bash | |
# Define categories for posts | |
CATEGORIES=("Nature" "People" "Buildings" "Blog" "Technology" "Science" "History" "Art" "Food" "Travel" "Sports" "Entertainment") | |
# Define project categories | |
PROJECT_CATEGORIES=("Architecture" "Photography" "Design" "Technology" "Art" "Sports" "Travel" "Entertainment" "Science" "History" "Food" "Buildings") | |
# Define tags for posts and projects | |
POST_TAGS=("Adventure" "Travel" "Food" "Lifestyle" "Technology" "Fitness" "Education" "Health" "Business" "Entertainment") |
#!/bin/bash | |
# Step 1: Reset the database | |
wp db reset --yes | |
# Step 2: Install WordPress with the given details | |
wp core install --url="http://d5.test" --title="Divi 5" --admin_user="eduard" --admin_password="thesaint" --admin_email="[email protected]" | |
# Step 3: Clean up the installation by emptying all default content | |
wp site empty --yes |
#!/bin/bash | |
# Function to print folder and branch with colors | |
print_folder_branch() { | |
local dir="$1" | |
# Define colors | |
FOLDER_COLOR="\033[1;34m" # Blue and bold | |
BRANCH_COLOR="\033[1;32m" # Green | |
RESET_COLOR="\033[0m" # Reset to default color |
#!/usr/bin/env bash | |
set -e | |
ROOT_DIR=$(pwd) | |
BOLD=$(tput bold) | |
NORMAL=$(tput sgr0) | |
function green { | |
printf "\e[32m%s\e[0m\n" "${1}" | |
} |
.et_social_networks .et_social_twitter .et_social_icon_twitter:before, | |
.et_social_networks .et_social_twitter .et_social_icon_twitter:after { | |
content: "\e094" !important; | |
font-family: ETModules !important; | |
} | |
.et_social_networks .et_social_twitter{ | |
background-color: #000000 !important; | |
} |
selector .et_pb_image_wrap img { | |
object-fit: cover; | |
height: 295px; | |
} |
pip install requests
check.py
and save it inside a folder of your choiceimport requests
import os
def search_github_issues(repos, issue_title):
<?php | |
get_template_part( '/includes/builder/module/helpers/Overlay.php' ); | |
class custom_ET_Builder_Module_Blog extends ET_Builder_Module_Type_PostBased { | |
/** | |
* Track if the module is currently rendering to prevent unnecessary rendering and recursion. | |
* | |
* @var bool | |
*/ |
<?php | |
echo "hello world; | |
?> |
<?php | |
// Prevent file from being loaded directly | |
if ( ! defined( 'ABSPATH' ) ) { | |
die( '-1' ); | |
} | |
add_theme_support( 'custom-background', apply_filters( 'et_custom_background_args', array() ) ); | |
if ( function_exists( 'add_post_type_support' ) ) { |