Snippets Collections
I want you to write me VBA code for a PowerPoint presentation about the history of Al. You are to fill in all the text with your own knowledge, no placeholders. I need 5 slides
All output should be in English
When creating written content, two important aspects are "perplexity" and "burstiness." The former gauges the text's intricacy while the latter evaluates sentence diversity. Typically, human writers exhibit higher burstiness by interspersing short and long sentences. In contrast, AI-generated sentences tend to be uniform in length. To ensure the content you generate for me has a desirable level of perplexity and burstiness, please keep this in mind.

Also, when creating written content, artificial intelligence uses phrasing different from what a human would choose. Utilize uncommon terminology to enhance the originality of the piece.

Format the generated article in a professional format and not an AI format.
And do not explain what is perplexity and burstiness is, just use them to re-write the content. Consider this while generating output.

Do not say anything about perplexity and burstiness.

Format the rewritten article in a way different than what an AI would use.

These are the settings for your response:

Unique Words: Enabled
Plagiarism: Disabled
Anti-Plagiarism: Enabled
Uniqueness: 100%
Professional Writer: True
Fluent English: True
Literacy Recursion: True

Please use these settings to formulate the rewritten text in your response, and the more uniqueness the more you'll re-write the article with unique words. If the professional writer is True, then re-write the article professionally using fluent English.

Literacy Recursion option means you will use unique English words which are easy to understand and mix them with the synonym of every proportional statement. Or vice-versa. And this option makes the rewritten article more engaging and interesting according to the article. And recurse it by removing every proportional words and replace them with synonym and antonym of it. Replace statements with similes too.

Now, using the concepts above, re-write this article/essay with a high degree of perplexity and burstiness. Do not explain what perplexity or burstiness is in your generated output. Use words that AI will not often use.

The next message will be the text you are to rewrite. Reply with "What would you like me to rewrite." to confirm you understand.
Give me 20 title ideas for a youtube video on [Topic]. I want this video to go viral on youtube, keep it under 70 characters
What are some good YouTube keywords for the [topic] niche
Help me create a comprehensive personal development plan that aligns with my goals in [AREA]. Include assessments, milestones, and resources for continuous growth.
add_filter( 'enqueue_modern_header_banner_style', '__return_false' );
Outline a strategy to balance my work responsibilities with personal life. Include time management techniques and ways to prioritize tasks.
Design an exhaustive blueprint for individuals aiming to produce for wealth creation, invest for preservation, and ensure consistent growth. Dive deep into savings strategies, the significance of producing more than consuming, and the golden rule of saving at least 20% of earnings. Highlight potential pitfalls and strategies to overcome them. Conclude with tools for financial planning, success stories, and resources for continuous financial growth.
Guides individuals to think beyond the present and anticipate future shifts, essential for visionary leadership
A. Feynman technique - "explain this in the simplest terms possible" - similar to ELI5  B. Create mental models or analogies to help me understand and remember ...
$(window).resize(function(){
    var winWidth = $(window).width();
    var boxWidth = $('.box').width();
    //max-width값인 500px아래서만 작동
    if(winWidth <= 500){
    	//1.681:1
        $('.box').height(boxWidth*0.681);
    }
});
1) mouseenter	마우스가 해당 요소(태그) 영역 안에 들어갔을 때 실행
2) mouseleave	마우스가 해당 요소 영역 안에서 나왔을 때 실행
3) mouseover	마우스가 해당 요소 영역 안에 들어갔을 때 실행
4) mouseout	마우스가 해당 요소 영역 안에서 나왔을 때 실행
5) hover	마우스가 해당 요소 영역 안에 들어갔을 때 실행
var jwt = require('jsonwebtoken');

function auth(req, res, next) {
    try {
        // Assuming the token is sent in the Authorization header as "Bearer <token>"
        const token = req.headers.authorization.split(' ')[1];
        jwt.verify(token, 'hello', function(err, decoded) {
            if (err) {
                return res.status(401).json({
                    status: "error",
                    message: "Unauthorized"
                });
            }
            req.userData = decoded;
            next();
        });
    } catch (error) {
        return res.status(500).json({
            status: "error",
            message: "Internal Server Error"
        });
    }
}

module.exports = auth;
var express = require('express');
var router = express.Router();
var db = require('../views/db')
const multer = require('multer');
const xlsx = require('xlsx');


const storage = multer.memoryStorage();
const upload = multer({ storage: storage });

router.get('/upload', upload.single('excelFile') ,async (req, res, next) => {
    try {

        const fileBuffer = req.file.buffer;
        const workbook = xlsx.read(fileBuffer, { type: 'buffer' });
        const sheetName = workbook.SheetNames[0];
        const sheet = workbook.Sheets[sheetName];
        const data = xlsx.utils.sheet_to_json(sheet, { header: 1 });

        const columns = data[0];

        data.shift();

        const tableName = 'test';
        const columnsString = columns.join(', ');
        const placeholders = columns.map(() => '?').join(', ');
        const query = `INSERT INTO ${tableName} (${columnsString}) VALUES (${placeholders})`;

         data.forEach(row => {
            db.query(query, row, (err, results) => {
                console.log(row);
            if (err) {
                console.error('Error inserting data: ' + err);
            } else {
                console.log('Data inserted successfully.');
            }
            });
        });

        res.json({ message: 'Data insertion process initiated.' });

    } catch (error) {
        if(error) throw error;
    }
});



router.post('/LogIn',async function(req, res, next) {

    try {
        const {
            Email,
            password
        } = req.body
        const getUserData = "select * from test where Email = '"+Email+"'";
        db.query(getUserData,function(err, result){
            if(err) throw err;
            console.log(result);
            if(result[0]?.Email === Email){
                if(result[0]?.password === password){
                    res.status(200).json({
                        status:"Login successful"
                    })
                }else{
                    res.status(200).json({
                        status:"Invalid password"
                    })
                }
            }else{
                res.status(200).json({
                    status:"Invalid email id"
                })
            }
        })
        
    } catch (error) {
        if(error) throw error;
    }
});

module.exports = router;
var express = require('express');
var router = express.Router();
var db = require('../views/db')
const multer = require('multer');
const xlsx = require('xlsx');


const storage = multer.memoryStorage();
const upload = multer({ storage: storage });

router.get('/upload', upload.single('excelFile') ,async (req, res, next) => {
    try {

        const fileBuffer = req.file.buffer;
        const workbook = xlsx.read(fileBuffer, { type: 'buffer' });
        const sheetName = workbook.SheetNames[0];
        const sheet = workbook.Sheets[sheetName];
        const data = xlsx.utils.sheet_to_json(sheet, { header: 1 });

        const columns = data[0];

        data.shift();

        const tableName = 'test';
        const columnsString = columns.join(', ');
        const placeholders = columns.map(() => '?').join(', ');
        const query = `INSERT INTO ${tableName} (${columnsString}) VALUES (${placeholders})`;

         data.forEach(row => {
            db.query(query, row, (err, results) => {
                console.log(row);
            if (err) {
                console.error('Error inserting data: ' + err);
            } else {
                console.log('Data inserted successfully.');
            }
            });
        });

        res.json({ message: 'Data insertion process initiated.' });

    } catch (error) {
        if(error) throw error;
    }
});



router.post('/LogIn',async function(req, res, next) {

    try {
        const {
            Email,
            password
        } = req.body
        const getUserData = "select * from test where Email = '"+Email+"'";
        db.query(getUserData,function(err, result){
            if(err) throw err;
            console.log(result);
            if(result[0]?.Email === Email){
                if(result[0]?.password === password){
                    res.status(200).json({
                        status:"Login successful"
                    })
                }else{
                    res.status(200).json({
                        status:"Invalid password"
                    })
                }
            }else{
                res.status(200).json({
                    status:"Invalid email id"
                })
            }
        })
        
    } catch (error) {
        if(error) throw error;
    }
});

module.exports = router;
from datasets import load_dataset
from random import randrange
import torch
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM,TrainingArguments,pipeline
from peft import LoraConfig, prepare_model_for_kbit_training, get_peft_model, AutoPeftModelForCausalLM
from trl import SFTTrainer
from huggingface_hub import login, notebook_login
const express = require('express');
const app = express();

// Our first foute
app.get('/home', (request, response, next) => {
  console.log(request);
  response.send('<h1>Welcome Ironhacker. :)</h1>');
});

// Start the server
app.listen(3000, () => console.log('My first app listening on port 3000! '));
// ./src/components/Counter.jsx
import React, { useState } from 'react';

function Counter() {
  const [count, setCount] = useState(0);

  return (
    <div className="Counter">
      <h2>Counter</h2>

      <p>You clicked {count} times</p>

      <button onClick={() => setCount((prevCount) => prevCount - 1)}> - </button>
      <button onClick={() => setCount((prevCount) => prevCount + 1)}> + </button>
    </div>
  );
}

export default Counter;
// index.js

fetch("https://api.spacexdata.com/v4/launches")
  .then((response) => { 
    return response.json();
  })
  .then((data) => {
    console.log("Parsed response: ", data);
  })
  .catch( (err) => console.log(err));

// 
// index.js

fetch("https://api.spacexdata.com/v4/launches")
  .then((response) => response.json())
  .then((data) => {

  data.forEach((launchObj) => {
    const patchImage = launchObj.links.patch.small;
    const imgElement = document.createElement("img");

    imgElement.setAttribute("src", patchImage);
    imgElement.setAttribute("width", 200);
    document.body.appendChild(imgElement);
  });

}).catch((err) => console.log(err));
<?php
/**
 * Import CSV example for Pods
 *
 * @param string $file File location
 *
 * @return true|WP_Error Returns true on success, WP_Error if there was a problem
 */
function my_import_csv( $file ) {
	if ( ! is_readable( $file ) ) {
		return new WP_Error( '', sprintf( 'Can\'t read file: %', $file ) );
	}
	if ( ! function_exists( 'pods_migrate' ) ) {
		return new WP_Error( '', 'pods_migrate function not found' );
	}
	/**
	 * @var $migrate \PodsMigrate
	 */
	$migrate = pods_migrate();
	$contents = file_get_contents( $file );
	$parsed_data = $migrate->parse_sv( $contents, ',' );
	$pod = pods( 'your_pod' ); // @todo Update to your pod name
	if ( ! empty( $parsed_data['items'] ) ) {
		$total_found = count( $parsed_data['items'] );
		foreach ( $parsed_data['items'] as $row ) {
			// Do what you want with $row
			// $row has the column names from the first row of the CSV
			// Example: $row['column heading 1']
			// Example: $row['user_email']
			$data = array(
				'some_field' => $row['some_field'],
			);
			$new_item_id = $pod->add( $data );
		}
	} else {
		return new WP_Error( '', 'No items to import.' );
	}
	return true;
}
<?php
/**
 * Set the title of a custom post type Pod, based on the value of other fields, in this case the fields "sandwich" and "beverage" in the Pod "meal"
 *
 * This function only acts when a new item is created, but can be modified to act on all saves.
 */
add_filter( 'pods_api_pre_save_pod_item_meal', 'slug_set_title', 10, 2);
function slug_set_title($pieces, $is_new_item) {
	//check if is new item, if not return $pieces without making any changes
	if ( ! $is_new_item ) {
		return $pieces;
	}
	//make sure that all three fields are active
	$fields = array( 'post_title', 'sandwich', 'beverage' );
	foreach( $fields as $field ) {
		if ( ! isset( $pieces[ 'fields_active' ][ $field ] ) ) {
			array_push ($pieces[ 'fields_active' ], $field );
		}
	}
	//set variables for fields empty first for saftey's sake
	$sandwich = $beverage = '';
	//get value of "sandwich" if possible
	if ( isset( $pieces[ 'fields' ][ 'sandwich' ] ) && isset( $pieces[ 'fields'][ 'sandwich' ][ 'value' ] ) && is_string( $pieces[ 'fields' ][ 'sandwich' ][ 'value' ] ) ) {
		$sandwich = $pieces[ 'fields' ][ 'sandwich' ][ 'value' ]
	}
	//get value of "beverage" if possible
	if ( isset( $pieces[ 'fields' ][ 'beverage' ] ) && isset( $pieces[ 'fields'][ 'beverage' ][ 'value' ] ) && is_string( $pieces[ 'fields' ][ 'beverage' ][ 'value' ] ) ) {
		$beverage = $pieces[ 'fields' ][ 'beverage' ][ 'value' ]
	}
	//set post title using $sandwich and $beverage
	$pieces[ 'object_fields' ][ 'post_title' ][ 'value' ] = $sandwich . ' and ' . $beverage;
	//return $pieces to save
	return $pieces;
}
	$params = array (
		'where' =>
			array (
				'relation' => 'OR',
					array (
						'field' => 'post_tag.name',
						'value' =>
							array (
								0 => 'foods',
							),
						'compare' => 'IN',
					),
					array (
						'field' => 'post_tag.name',
						'value' =>
							array (
								0 => 'NULL',
							),
						'compare' => 'NOT IN',
					),
			),
	);
	$pods = pods( 'industry', $params );
<?php
/**
 * Set the title of a custom post type Pod, based on the value of other fields, in this case the fields "sandwich" and "beverage" in the Pod "meal"
 *
 * This function only acts when a new item is created, but can be modified to act on all saves.
 */
add_filter( 'pods_api_pre_save_pod_item_meal', 'slug_set_title', 10, 2);
function slug_set_title($pieces, $is_new_item) {
	//check if is new item, if not return $pieces without making any changes
	if ( ! $is_new_item ) {
		return $pieces;
	}
	//make sure that all three fields are active
	$fields = array( 'post_title', 'sandwich', 'beverage' );
	foreach( $fields as $field ) {
		if ( ! isset( $pieces[ 'fields_active' ][ $field ] ) ) {
			array_push ($pieces[ 'fields_active' ], $field );
		}
	}
	//set variables for fields empty first for saftey's sake
	$sandwich = $beverage = '';
	//get value of "sandwich" if possible
	if ( isset( $pieces[ 'fields' ][ 'sandwich' ] ) && isset( $pieces[ 'fields'][ 'sandwich' ][ 'value' ] ) && is_string( $pieces[ 'fields' ][ 'sandwich' ][ 'value' ] ) ) {
		$sandwich = $pieces[ 'fields' ][ 'sandwich' ][ 'value' ]
	}
	//get value of "beverage" if possible
	if ( isset( $pieces[ 'fields' ][ 'beverage' ] ) && isset( $pieces[ 'fields'][ 'beverage' ][ 'value' ] ) && is_string( $pieces[ 'fields' ][ 'beverage' ][ 'value' ] ) ) {
		$beverage = $pieces[ 'fields' ][ 'beverage' ][ 'value' ]
	}
	//set post title using $sandwich and $beverage
	$pieces[ 'object_fields' ][ 'post_title' ][ 'value' ] = $sandwich . ' and ' . $beverage;
	//return $pieces to save
	return $pieces;
}
function initialize_admin () {
    add_menu_page('Exhibition', 'Exhibitions', 'manage_options', 'ua-pods', 'display_exhibitions_page', '');
}

function display_exhibitions_page() {
    //initialize pods
    $object = pods('exhibition');

    //for this pod type we will also use all available fields
    $fields = array();
    foreach($object->fields as $field => $data) {
        $fields[$field] = array('label' => $data['label']);
    }       

    // exclude a specific field by field name
    unset($fields['slug']); 
    unset($fields['entry_deadline']); 
    unset($fields['call_description']); 
    unset($fields['prospectus']); 
    unset($fields['author']); 
    unset($fields['created']); 
    unset($fields['modified']); 

    //adding few basic parameters
    $object->ui = array(
        'item'   => 'exhibition',
        'items'  => 'exhibitions',
        'fields' => array(
            'add'       => $fields,
            'edit'      => $edit_fields,
            'duplicate' => $fields,
            'manage'    => $fields,
        ),
        'orderby' => 'start_date DESC',
    );         

    //pass parameters
    pods_ui($object);
}

add_action('admin_menu','initialize_admin');
function return_current_age( $id ) {
  $pods = pods('case',$id);
  $age = intval($pods->field('age_d'));
  $date_missing = $pods->field('c_date');
  $date = date("Y-m-d");
  $date_diff = intval($date - $date_missing);
  $age_now = intval($age + $date_diff);
  return $age_now;
}
<?php
​
/* Plugin Name: GNT */
​
/**
 * This filter fills in the post name for our custom post type
 */
add_filter( 'wp_insert_post_data' , 'gnt_modify_post_title' , '99', 2 );
function gnt_modify_post_title($data) {
		
	//only run for our post type
	if ($data['post_type'] == 'accel_feedback') {		
	
		//make a simple date
		$date = date('d-M-Y', strtotime($data['post_date']));
		
		//get user full name or login name
		$user_info = get_userdata($data['post_author']);
		$user_full_name = trim($user_info->first_name ." ". $user_info->last_name);
		if (empty($user_full_name)) {
			$user_full_name = $user_info->user_login;
		}
			
		//create a post title	
		$data['post_title'] =  "$user_full_name - $date";				
		
	}
	
	return $data;
		
}
​
/**
 * This filter updates our read-only pod field to match the real WP title
 */
add_action('pods_api_post_save_pod_item_accel_feedback', 'gnt_post_save_accel_feedback', 10, 3);  
function gnt_post_save_accel_feedback($pieces, $is_new_item, $id) {
	
	//unhook action to avoid infinite loop! :)
	remove_action('pods_api_post_save_pod_item_accel_feedback', 'gnt_post_save_accel_feedback');  
	
	//get the pod and set our read-only 'label' to match the post title
	$pod = pods('accel_feedback', $id);
	$pod->save('label', get_the_title($id));
	
	//reinstate the action
	add_action('pods_api_post_save_pod_item_accel_feedback', 'gnt_post_save_accel_feedback');  			
			
}
function change_order_for_events( $query ) {
    //only show future events and events in the last 24hours
    $yesterday = current_time('timestamp') - 24*60*60; 

    if ( $query->is_main_query() && (is_tax('event_type') || is_post_type_archive('wr_event')) ) {
        $query->set( 'meta_key', '_wr_event_date' );
        $query->set( 'orderby', 'meta_value_num' );
        $query->set( 'order', 'ASC' );

        //Get events after 24 hours ago
        $query->set( 'meta_value', $yesterday );
        $query->set( 'meta_compare', '>' );

       //Get events before now
       //$query->set( 'meta_value', current_time('timestamp') );
       //$query->set( 'meta_compare', '<' );
    }

}

add_action( 'pre_get_posts', 'change_order_for_events' );
#include <iostream>
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>

using namespace std;

// Initializing Dimensions.
// resolutionX and resolutionY determine the rendering resolution.
// Don't edit unless required. Use functions on lines 43, 44, 45 for resizing the game window.
const int resolutionX = 960;
const int resolutionY = 960;
const int boxPixelsX = 32;
const int boxPixelsY = 32;
const int gameRows = resolutionX / boxPixelsX; // Total rows on grid
const int gameColumns = resolutionY / boxPixelsY; // Total columns on grid

// Initializing GameGrid.
int gameGrid[gameRows][gameColumns] = {};

// The following exist purely for readability.
const int x = 0;
const int y = 1;
const int exists = 2;                                    //bool exists;//                       
const int direction = 3;
/////////////////////////////////////////////////////////////////////////////
//                                                                         //
// Write your functions declarations here. Some have been written for you. //
//                                                                         //
/////////////////////////////////////////////////////////////////////////////

void drawPlayer(sf::RenderWindow& window, float player[], sf::Sprite& playerSprite);
void movePlayer(float player[],float bullet[]);
void moveBullet(float bullet[], sf::Clock& bulletClock);
void drawBullet(sf::RenderWindow& window, float bullet[], sf::Sprite& bulletSprite);
void drawShrooms(sf::RenderWindow& window, int shroom[][2], sf::Sprite& shroomSprite,int maxShrooms);
void initializeShrooms(int shroom[][2],int maxShrooms);
void initialize_centipede(float centipede[12][4],int totalSegments);
void drawCentipede(sf::RenderWindow& window, float centipede[12][4], sf::Sprite& centipedeSprite,const int totalSegments); 
void move_centipede(float centipede[12][4], sf::Clock& bulletClock);   

int main()
{
	srand(time(0));
  /*
  //centipede stuff:
  const int totalSegments = 12;
float centipede[totalSegments][2]; // 2D array to store x and y positions of each segment

// Initialize centipede positions (for example, starting from the top left)
const int startX = 100; // Adjust as needed
const int startY = 100; // Adjust as needed
const int segmentGap = 20; // Gap between segments

for (int i = 0; i < totalSegments; ++i) {
    centipede[i][0] = startX + i * segmentGap; // x position
    centipede[i][1] = startY; // y position (same for all segments in this example)
    
}
                     */

       



	// Declaring RenderWindow.
	sf::RenderWindow window(sf::VideoMode(resolutionX, resolutionY), "Centipede", sf::Style::Close | sf::Style::Titlebar);

	// Used to resize your window if it's too big or too small. Use according to your needs.
	window.setSize(sf::Vector2u(640, 640)); // Recommended for 1366x768 (768p) displays.
	//window.setSize(sf::Vector2u(1280, 1280)); // Recommended for 2560x1440 (1440p) displays.
	// window.setSize(sf::Vector2u(1920, 1920)); // Recommended for 3840x2160 (4k) displays.
	
	// Used to position your window on every launch. Use according to your needs.
	window.setPosition(sf::Vector2i(100, 0));

	// Initializing Background Music.
	sf::Music bgMusic;
	bgMusic.openFromFile("Centipede_Skeleton/Music/field_of_hopes.ogg");
	bgMusic.play();
	bgMusic.setVolume(50);

	// Initializing Background.
	sf::Texture backgroundTexture;
	sf::Sprite backgroundSprite;
	backgroundTexture.loadFromFile("Centipede_Skeleton/Textures/background.png");
	backgroundSprite.setTexture(backgroundTexture);
	backgroundSprite.setColor(sf::Color(255, 255, 255, 200)); // Reduces Opacity to 25%
        
	// Initializing Player and Player Sprites.
	float player[2] = {};
	player[x] = (gameColumns / 2) * boxPixelsX;
	player[y] = (gameColumns * 3 / 4) * boxPixelsY;
	sf::Texture playerTexture;
	sf::Sprite playerSprite;
	playerTexture.loadFromFile("Centipede_Skeleton/Textures/player.png");
	playerSprite.setTexture(playerTexture);
	playerSprite.setTextureRect(sf::IntRect(0, 0, boxPixelsX, boxPixelsY));
	
	sf::Clock playerClock;

	// Initializing Bullet and Bullet Sprites.
	float bullet[3] = {};                              
	                                  //bool bullet1[3];
	bool request = false;
	bullet[x] = player[x];
	bullet[y] = player[y] - boxPixelsY;
	bullet[exists] = false;
	sf::Clock bulletClock;
	sf::Texture bulletTexture;
	sf::Sprite bulletSprite;
	bulletTexture.loadFromFile("Centipede_Skeleton/Textures/bullet.png");
	bulletSprite.setTexture(bulletTexture);
	bulletSprite.setTextureRect(sf::IntRect(0, 0, boxPixelsX, boxPixelsY));
	
	//initializing centipede
	const int totalSegments = 12;
	float centipede[totalSegments][4];
	
	//centipede[x] = (gameColumns / 2) * boxPixelsX;           //the position from where centipede will start its journey x-co-ordinate//
	//centipede[y] = (gameColumns * 3 / 4) * boxPixelsY;         //the position from where centipede will start its journey y-co-ordinate//
	//centipede[1][exists] = false;
	for(int i=0;i<totalSegments;i++){
 
	centipede[i][exists] = true;
	
	
	                                 }
	               
	sf::Texture centipedeTexture;
	sf::Sprite centipedeSprite;
	centipedeTexture.loadFromFile("Centipede_Skeleton/Textures/c_body_left_walk.png");
	centipedeSprite.setTexture(centipedeTexture);
	centipedeSprite.setTextureRect(sf::IntRect(0, 0, boxPixelsX, boxPixelsY));
	
	sf::Clock centipedeClock;
	
	//initializing shrooms:
	const int maxShrooms = 18;
	int shroom[maxShrooms][2] = {};
        
	sf::Texture shroomTexture;
	sf::Sprite shroomSprite;
	shroomTexture.loadFromFile("Centipede_Skeleton/Textures/mushroom.png");
	shroomSprite.setTexture(shroomTexture);
	shroomSprite.setTextureRect(sf::IntRect(0, 0, boxPixelsX, boxPixelsY));
      
        initializeShrooms(shroom,maxShrooms);           //calling shroom's function to initialize position;
	while(window.isOpen()) {

		///////////////////////////////////////////////////////////////
		//                                                           //
		// Call Your Functions Here. Some have been written for you. //
		// Be vary of the order you call them, SFML draws in order.  //
		//                                                           //
		///////////////////////////////////////////////////////////////

		window.draw(backgroundSprite);
		
		drawPlayer(window, player, playerSprite);
		movePlayer(player,bullet);
		/*shootBullet(bullet,request);
		if(request){
		bullet[exists] = true;
		request = false;          
		    }                       */  
		
		if (bullet[exists] == true) {
			moveBullet(bullet, bulletClock);
			drawBullet(window, bullet, bulletSprite);
			
		}
		
		
		drawShrooms(window,shroom,shroomSprite,maxShrooms);
		
		
		//initialize_centipede(centipede,totalSegments);
		drawCentipede(window, centipede, centipedeSprite,totalSegments);
		move_centipede(centipede,centipedeClock);
		
		
		
           sf::Event e;
		while (window.pollEvent(e)) {
			if (e.type == sf::Event::Closed) {
				return 0;
			}
		
		}		
		window.display();
		window.clear();
	}
	 
	
	
 }

////////////////////////////////////////////////////////////////////////////
//                                                                        //
// Write your functions definitions here. Some have been written for you. //
//                                                                        //
////////////////////////////////////////////////////////////////////////////

void drawPlayer(sf::RenderWindow& window, float player[], sf::Sprite& playerSprite) {
	playerSprite.setPosition(player[x], player[y]); 
	window.draw(playerSprite);
}




void drawBullet(sf::RenderWindow& window, float bullet[], sf::Sprite& bulletSprite) {
	bulletSprite.setPosition(bullet[x], bullet[y]);
	window.draw(bulletSprite);
	
    }





                 
                       



void moveBullet(float bullet[], sf::Clock& bulletClock) {
 float bullet_speed = 10.0f;
        
    
 	if (bulletClock.getElapsedTime().asMilliseconds() < 10)
		return;
        
	bulletClock.restart(); 
	bullet[y] += -32;	 
	if (bullet[y] < -32)    
       {  bullet[exists] = false; }
		
                                               }  
                                               


       
                                               
                                               


void drawShrooms(sf::RenderWindow& window, int shroom[][2], sf::Sprite& shroomSprite,int maxShrooms){
     
     for(int i=0;i<maxShrooms;i++){
                          
                          
                          
                          shroomSprite.setPosition(shroom[i][x],shroom[i][y]);
                          window.draw(shroomSprite);                            
                                                                                  } 
                                                                                      
                  } 

void initializeShrooms(int shroom[][2],int maxShrooms){
                                                                                                
                                                                                               
     for(int i=0;i<maxShrooms;i++){
                          shroom[i][x] =     rand()%gameRows * boxPixelsX; 
                          shroom[i][y] =     rand()%gameColumns * boxPixelsY;            
                                                                }
                                                                        }
                                                                                                                                                               
void movePlayer(float player[],float bullet[]) {
    float movementSpeed = 5.0f;
    int bottomLimit = resolutionY - (6 * boxPixelsY); // Calculate the bottom limit
    
    if (sf::Keyboard::isKeyPressed(sf::Keyboard::W) && player[y] > bottomLimit) {
        player[y] -= movementSpeed + 3;
    }
    if (sf::Keyboard::isKeyPressed(sf::Keyboard::S) && player[y] < resolutionY - boxPixelsY) {
        player[y] += movementSpeed + 3;
    }
    if (sf::Keyboard::isKeyPressed(sf::Keyboard::D) && player[x] < resolutionX - boxPixelsX) {
        player[x] += movementSpeed + 3;
    }
    if (sf::Keyboard::isKeyPressed(sf::Keyboard::A) && player[x] > 0) {
        player[x] -= movementSpeed + 3;
    }
    
    if(sf::Keyboard::isKeyPressed(sf::Keyboard::Space) && bullet[exists]==false){
    
    bullet[exists] = true;
    bullet[x] = player[x];
    bullet[y] = player[y] - boxPixelsY;
    
}
    }

void initialize_centipede(float centipede[12][4],int totalSegments){
     
     for(int i=0;i<gameRows;i++){
         for(int j=0;j<totalSegments;j++){
     centipede[j][x] = boxPixelsX*j;
     centipede[i][y] = boxPixelsY*i;
     centipede[j][exists] = true;
     centipede[j][direction] = 1;              //1 for right and 0 for left;
     
     

                                             }
                                                 }
             
             
                                                       }   

void drawCentipede(sf::RenderWindow& window, float centipede[12][4], sf::Sprite& centipedeSprite,const int totalSegments) {
    const int segmentWidth = boxPixelsX; // Width of each centipede segment
    const int segmentHeight = boxPixelsY; // Height of each centipede segment

    
    for (int i = 0; i < totalSegments; ++i) {
        
        centipedeSprite.setPosition(centipede[i][x], centipede[i][y]);
        window.draw(centipedeSprite);
    }
}

	
        
                                            
 void move_centipede(float centipede[12][4], sf::Clock& centipedeClock) {
    int totalSegments = 12;

    if (centipedeClock.getElapsedTime().asMilliseconds() < 200)
        return;

    centipedeClock.restart();

    for (int j = 0; j < totalSegments; j++) {
        if (centipede[j][direction] == 1) { // Moving right
            if (centipede[j][x] < 928) {
                centipede[j][x] += 32;
            } else {
                centipede[j][direction] = 0; // Change direction to left
                centipede[j][y] += 32;      // Move down a row
            }
        } else { // Moving left
            if (centipede[j][x] > 0) {
                centipede[j][x] -= 32;
            } else {
                centipede[j][direction] = 1; // Change direction to right
                centipede[j][y] += 32;      // Move down a row
            }
        }
    }
}
    

		
                                                
                                                       
                                                 */
                                                                                              /*  direction 1 = right;
                                                                                                  direction 0 = left;   */
            
                        
                                
                                                             
                                                                     
                                         
                                             

 
           
                                                                  
                        /* TO DO centipede sprite,centepede movement,mushrooms alignment i-e above a particulr row number,*/


                                       
                                                                                             
# sincronizar el listado de ramas
git fetch -p

# ver últimos commits
git log 
# ver últimos commits bonitos
git log --pretty=oneline

# eliminar rama local que ya ha sido pusheada
git branch -d localBranchName
# eliminar rama local que aún no ha sido pusheada ni mergeada
git branch -D localBranchName
# eliminar rama remota
git push origin --delete remoteBranchName

#include <iostream>

using namespace std;

int dvejetai(int x) {
    int count = 0;

    while (x > 0) {
        if (x % 10 == 2) {
            count++;
        }
        x /= 10;
    }

    return count;
}

int main() {
    int x;
    cout << "Įveskite dviženklį teigiamą skaičių: ";
    cin >> x;

 if (x < 10 || x > 99) {
        cout << "Įvestas skaičius nėra dviženklis." << endl;
        return 1;
    }

    int totalSum = 0;

    for (int i = 0; i < x; ++i) {
        if (i % 2 == 0) {
            totalSum += dvejetai(i);
        }
    }

    cout << "Sunaudojo dvejetų skaičiui parašyti " << x << " yra: " << totalSum <<" dvejetai." <<endl;

    return 0;
}
#include <fstream>
#include <iostream>

using namespace std;

int main() 
{
 
   int n, s1,s2,s3;
   cin>>n;
   
   if(n%2==0) cout<<"Lyginis";
   else cout<<"Nelyginis";
   
   // skaicius n trizenklis.Kaip rasti jo skaitmenis?
   s1=n/100;
   s2=(n/10)%10;
   s3=n%10;//paskutinis skaitmuo bet kuriuo atveju
   
   




return 0;
}
#include <fstream>
#include <iostream>

using namespace std;

int main() 
{
 
   int n;
   cin>>n;
   
   if(n%2==0) cout<<"Lyginis";
   else cout<<"Nelyginis";




return 0;
}
#include <fstream>
#include <iostream>

using namespace std;

int main() 
{
 
    int n;
    int kiek=0;
    cin>>n;
    while(n!=0){
        if (n%2==1) n=n-1;
        else n=n/2;
        kiek++;
    }
    cout<<kiek;

return 0;
}
Arrange the following work steps in the correct chronological order of their creation.
#include <fstream>
#include <iostream>

using namespace std;

int main() 
{
    ifstream df("U1.txt");
    if(df.fail()) cout<<"Nera failo!";
    else {
        int n;
        df>>n;
        int kiek=0;
        for(int d=1; d<=n; d++)
        {
            if(n % d==0) kiek++;   
            }
            ofstream rf("U1rez.txt");
            rf<<kiek;
            rf.close();
    }
    

return 0;
}
#include <fstream>
#include <iostream>

using namespace std;

int main() 
{
ifstream duom ("U1.txt");
int a,b,c;
duom>>a>>b>>c;
duom.close();
int x, y;
ofstream rez("U1rez.txt");
for(int x=-3; x<=3; x++)
{
    y=a*x*x+b*x+c;
    rez<<"Kai x="<<x<<", tai y="<<y<<endl;
}
rez.close();
return 0;
}
#include <fstream>
#include <iostream>

using namespace std;

int main() {
  ifstream df ("U1.txt");
  ofstream rf ("U1rez.txt");
  int a,n;
  df >> a >> n;
  int suma=0;
  for (int i = a; i <= n; i++) 
  {
  suma=suma + i;
  
  }
  rf<<suma;
  df.close();
  rf.close();
  return 0;
}
#include <fstream>
#include <iostream>

int main() {
  ifstream df("U1.txt");
  ofstream rf("U1rez.txt");
  int n;
  df >> n;
  for (int i = 1; i <= n; i++) {
    rf << "*\n";
  }
  df.close();
  rf.close();
  return 0;
}
# settings.py

MIDDLEWARE = [
    "django.middleware.cache.UpdateCacheMiddleware", # add this middleware
    "django.middleware.common.CommonMiddleware",
    "django.middleware.cache.FetchFromCacheMiddleware", # add this middleware
]

CACHE_MIDDLEWARE_SECONDS = 60 * 15 # time the cached data should last
# core/settings.py 

# other settings....

CACHES = {
        "default": {
            "BACKEND": "django_redis.cache.RedisCache",
            "LOCATION": "redis://redis:6379/",
            "OPTIONS": {
                "CLIENT_CLASS": "django_redis.client.DefaultClient"
            },
        }
    }
def generate_database_backup():
    host = os.environ.get("DATABASE_HOST")  # Database host
    port = os.environ.get("DATABASE_PORT")  # Database port
    db_name = os.environ.get("POSTGRES_DB")  # Database name
    db_username = os.environ.get("POSTGRES_USER")  # Database username
    db_password = os.environ.get("POSTGRES_PASSWORD")  # Database password
    current_datetime = datetime.now()
    date_folder = current_datetime.strftime("%Y-%m-%d")  # Date folder
    download_sql_file = f'db_backup_{db_name}_{current_datetime.strftime("%Y-%m-%d_%H:%M")}.sql'  # SQL file name
    compressed_sql_file = f"{download_sql_file}.zip"  # Compressed SQL file name
    # zip_file_name = f'backup_{db_name}_{current_datetime.strftime("%H:%M")}.zip'  # Zip file name
    s3_bucket_name = settings.AWS_STORAGE_BUCKET_NAME  # Name of your S3 bucket
    s3_key = f"dailyDataBaseBackup/{date_folder}/{compressed_sql_file}"  # Key (path) under which the file will be stored in S3
    aws_access_key_id = settings.AWS_ACCESS_KEY_ID
    aws_secret_access_key = settings.AWS_SECRET_ACCESS_KEY

    # Calculate the date 1 month ago from today in UTC
    one_month_ago = datetime.now(timezone.utc) - timedelta(days=30)

    # Upload the backup file to S3
    s3 = boto3.client(
        "s3",
        aws_access_key_id=aws_access_key_id,
        aws_secret_access_key=aws_secret_access_key,
    )

    # List objects in the S3 bucket
    objects = s3.list_objects_v2(Bucket=s3_bucket_name)["Contents"]

    # Iterate through the objects and delete backup files older than 1 month
    for obj in objects:
        key = obj["Key"]
        last_modified = obj["LastModified"]

        # Check if the key represents a compressed SQL backup file and if it's older than 1 month
        if (
            key.startswith("dailyDataBaseBackup/")
            and key.endswith(".sql.gz")
            and last_modified < one_month_ago
        ):
            s3.delete_object(Bucket=s3_bucket_name, Key=key)

    # Command to create a database backup file
    backup_command = f"export PGPASSWORD='{db_password}' && pg_dump -h {host} -p {port} -U {db_username} {db_name} -w --clean > {download_sql_file}"

    print(f"Running command: {backup_command}")
    exit_code = subprocess.call(backup_command, shell=True)

    if exit_code == 0:

        # Compress the SQL backup file using gzip
        
        # Create a zip archive of the compressed SQL file
        with zipfile.ZipFile(compressed_sql_file, "w", zipfile.ZIP_DEFLATED) as zipf:
            zipf.write(compressed_sql_file, os.path.basename(compressed_sql_file))

        # Upload the new backup file to S3
       
    
        with open(compressed_sql_file, "rb") as file:
            s3.upload_fileobj(file, s3_bucket_name, s3_key)

            # Remove the files from the project folder
        os.remove(compressed_sql_file)
        os.remove(download_sql_file)
        # os.remove(zip_file_name)

        # db_backup_{db_name}_2023-10-11_11:00.sql.gz

        # Get the full S3 file path
        s3_file_path = f"https://{s3_bucket_name}.s3.amazonaws.com/{s3_key}"

        sender_email = settings.DEFAULT_FROM_EMAIL
        password = settings.EMAIL_HOST_PASSWORD
        receiver_email = "devteam@hikartech.in"
        context = ssl.create_default_context()
        msg = MIMEMultipart("alternative")
        msg["Subject"] = "Database Backup For Hikemm"
        msg["From"] = sender_email
        msg["To"] = receiver_email
        body = f"""

        <!DOCTYPE html>
        <html>
        <head>
            <meta charset="UTF-8">
            <title>Link to S3 File</title>
        </head>
        <body>
            <h1>Link to S3 File</h1>
            <p>Dear all,</p>
            <p>I hope this email finds you well. I wanted to share a link to an S3 file that you might find useful:</p>
            <p><a href="{s3_file_path}"> S3 File URL</a> </p>
            <p>You can click on the link above to access the file. If you have any trouble accessing it or need further assistance, please don't hesitate to reach out to me.</p>
            <p>Thank you, and have a great day!</p>
            <p>Best regards</p>
        </body>
        </html>



        
"""

        html_part = MIMEText(body, "html")
        msg.attach(html_part)
        message = msg.as_bytes()
        email_client = boto3.client(
            "ses",
            aws_access_key_id=settings.AWS_ACCESS_KEY_ID,
            aws_secret_access_key=settings.AWS_SECRET_ACCESS_KEY,
            region_name="ap-south-1",
        )
        response = email_client.send_raw_email(
            Source=sender_email,
            Destinations=[receiver_email],
            RawMessage={"Data": message},
        )
        message_id = response["MessageId"]
        logger.error(f"Email sent successfully {message_id}")




RUN apt-get update && apt-get install -y postgresql-client  # add this in docker file 
// Loop through each item in the order
                        // This loop processes each individual item within the order to extract its specific info
                        foreach ($order->get_items() as $item_id => $item) {

                            // Retrieve the ID of the product associated with the current item in the order
                            $product_id = $item->get_product_id();
                            // Check if the current item's product ID matches the product ID we're processing in this loop iteration
                            if ($product_id == $pid) {
                                // Get the total price and subtotal price specific to this order item
                                // These values are specific to each item in the order, rather than the order as a whole
                                $line_total = wc_get_order_item_meta($item_id, '_line_total', true);
                                $line_subtotal = wc_get_order_item_meta($item_id, '_line_subtotal', true);
                                // ... extract other relevant data ... for now the amounts are ok
            
                                // Build the report entry for this product
                                array_push($order_data,[
                                    'order_id'         => $order_id,
                                    'customer_first'   => $order->get_billing_first_name(),
                                    'customer_last'    => $order->get_billing_last_name(),
                                    'order_created'    => date("d/m/Y",strtotime($order->get_date_created())),
                                    'email'            => $order->get_billing_email(),
                                    'phone'            => $order->get_billing_phone(),
                                    'orders_status'    => $order_status,
                                    'invoice_no'       => $formatted_invoice_number,
                                    'credit_note'      => $credit_note,
                                    'invoice_date'     => $invoice_date,
                                    'credit_note_date' => $credit_note_date,//date("d/m/Y",strtotime($credit_note_date)),
                                    'wooco_currency'   => $currency_symbol,
                                    'gross'            => round($line_subtotal,2),
                                    'discount'         => round($order->get_total_discount(),2),
                                    'net_total'        => round($line_total,2),
                                    'course_id'        => self::get_product_sku($pid),
                                    'course_start'     => $course_start,
                                    'course_ends'      => $course_end,
                                    'student_id'       => $assign_student_id_value
                                ]);
                            }  
                        }
[cap] => stdClass Object
(
	// Meta capabilities

	[edit_post]		 => "edit_{$capability_type}"
	[read_post]		 => "read_{$capability_type}"
	[delete_post]		 => "delete_{$capability_type}"

	// Primitive capabilities used outside of map_meta_cap():

	[edit_posts]		 => "edit_{$capability_type}s"
	[edit_others_posts]	 => "edit_others_{$capability_type}s"
	[publish_posts]		 => "publish_{$capability_type}s"
	[read_private_posts]	 => "read_private_{$capability_type}s"

	// Primitive capabilities used within map_meta_cap():

	[read]                   => "read",
	[delete_posts]           => "delete_{$capability_type}s"
	[delete_private_posts]   => "delete_private_{$capability_type}s"
	[delete_published_posts] => "delete_published_{$capability_type}s"
	[delete_others_posts]    => "delete_others_{$capability_type}s"
	[edit_private_posts]     => "edit_private_{$capability_type}s"
	[edit_published_posts]   => "edit_published_{$capability_type}s"
	[create_posts]           => "edit_{$capability_type}s"
)
curl -v --trace out.txt http://google.com
cat out.txt
const header = document.querySelector('header');
let lastScroll = 0;
const scrollThreshold = 10; 

window.addEventListener('scroll', () => {
    const currentScroll = window.scrollY;

    if (currentScroll > lastScroll && currentScroll > scrollThreshold) {
        header.classList.add('small');
    } else if (currentScroll === 0) {
        header.classList.remove('small');
    }

    lastScroll = currentScroll;
});

const hamburger = document.querySelector(".hamburger");
const navmenu = document.querySelector(".nav-menu");

hamburger.addEventListener("click", () => {
    hamburger.classList.toggle("active");
    navmenu.classList.toggle("active");
});

document.querySelectorAll(".nav-link").forEach(n => n.addEventListener("click", () => {
    hamburger.classList.remove("active");
    navmenu.classList.remove("active");
}));
t = int(input(""))
p = 0
mylist = []
if t >= 0 and t < 101:
    while p<t:
        a = int(input("a "))
        b = int(input("b "))
        c = int(input("c "))
        if a <= 20000 and a >= 1:
            if b <= 20000 and a >=1:
                if c <= 20000 and c >=1:
                    if a+b<=c or a+c<=b or b+c<=a:
                        txt = ("nelze sestrojit")
                    else:
                        if a == b and b == c and c == a:
                            txt = ("rovnostranny")
                        elif a == b or b == c or c == a:
                            txt = ("rovnoramenny")
                        else:
                            txt = ("obecny")
                else:
                    txt = ("moc velké nebo malé číslo")
            else:
                txt = ("moc velké nebo malé číslo")
        else:
            txt = ("moc velké nebo malé číslo")
        p = p+1
        mylist.append(txt)
        print(p)
    print(mylist)
else:
    print("syntax")
def res(vys):
    for x in vys:
        print(x)
try:
    s = int(input("s "))
    p = 0
    lst = []
    if s >=1 and s <=100:
        while p<s:
            z = input("z ")
            if len(z) >= 1 and len(z) <= 50:
                try:
                    num = int(z)
                    kys = type(num) == int
                except:
                    kys = z.isupper()     
                if kys == True:
                    pal = z[::-1]
                    if z == pal:
                        txt = "yes"
                    else:
                        txt = "no"
                else:
                    txt = "syntax"
            else:
                txt = "syntax"
            p = p+1
            lst.append(txt)
            print("")
        res(lst)
    else:
        print("syntax")
except:
    print("syntax")
3. Longest Substring Without Repeating Characters


class Solution {
    public int lengthOfLongestSubstring(String s) {
        int arr[]=new int[122];
        char c[]=s.toCharArray();
        int m=0,m1=0;
        for(int i=0;i<c.length;i++){
            if(arr[c[i]]==0){
                arr[c[i]]=1;
                m++;
            } else {
                // m1=Math.max(m1,m);
                Arrays.fill(arr,0);
                m=0;i--;
            }
            m1=Math.max(m1,m);
        }
        return m1;
    }
}
star

Tue Nov 28 2023 07:37:28 GMT+0000 (Coordinated Universal Time) https://promptvibes.com

@SabsZinn123

star

Tue Nov 28 2023 07:36:24 GMT+0000 (Coordinated Universal Time) https://promptvibes.com/

@SabsZinn123

star

Tue Nov 28 2023 07:34:09 GMT+0000 (Coordinated Universal Time) https://promptvibes.com/

@SabsZinn123

star

Tue Nov 28 2023 07:27:49 GMT+0000 (Coordinated Universal Time) https://promptvibes.com/

@SabsZinn123

star

Tue Nov 28 2023 07:23:58 GMT+0000 (Coordinated Universal Time) https://promptvibes.com/

@SabsZinn123

star

Tue Nov 28 2023 07:17:51 GMT+0000 (Coordinated Universal Time)

@omnixima #jquery

star

Tue Nov 28 2023 07:15:18 GMT+0000 (Coordinated Universal Time) https://promptvibes.com/

@SabsZinn123

star

Tue Nov 28 2023 07:14:02 GMT+0000 (Coordinated Universal Time) https://promptvibes.com/

@SabsZinn123

star

Tue Nov 28 2023 07:13:11 GMT+0000 (Coordinated Universal Time) https://promptvibes.com/

@SabsZinn123

star

Tue Nov 28 2023 07:10:25 GMT+0000 (Coordinated Universal Time) https://promptvibes.com

@SabsZinn123

star

Tue Nov 28 2023 06:06:11 GMT+0000 (Coordinated Universal Time) https://code-study.tistory.com/13

@wheedo

star

Tue Nov 28 2023 06:02:43 GMT+0000 (Coordinated Universal Time) https://comymel.tistory.com/9

@wheedo

star

Tue Nov 28 2023 05:54:42 GMT+0000 (Coordinated Universal Time) https://kkamagui.tistory.com/796

@wheedo

star

Tue Nov 28 2023 04:20:24 GMT+0000 (Coordinated Universal Time)

@sid_balar

star

Tue Nov 28 2023 04:19:29 GMT+0000 (Coordinated Universal Time)

@sid_balar

star

Tue Nov 28 2023 04:18:03 GMT+0000 (Coordinated Universal Time)

@sid_balar

star

Tue Nov 28 2023 03:48:56 GMT+0000 (Coordinated Universal Time) https://medium.com/data-science-in-your-pocket/lora-for-fine-tuning-llms-explained-with-codes-and-example-62a7ac5a3578

@mikeee

star

Mon Nov 27 2023 22:29:33 GMT+0000 (Coordinated Universal Time)

@marianacarvalho #javascript

star

Mon Nov 27 2023 21:57:11 GMT+0000 (Coordinated Universal Time)

@marianacarvalho #javascript

star

Mon Nov 27 2023 21:56:19 GMT+0000 (Coordinated Universal Time)

@marianacarvalho #javascript

star

Mon Nov 27 2023 19:42:55 GMT+0000 (Coordinated Universal Time) https://docs.pods.io/code-snippets/import-csv-example/

@dmsearnbit

star

Mon Nov 27 2023 19:42:24 GMT+0000 (Coordinated Universal Time) https://docs.pods.io/code-snippets/create-post-title-from-fields-in-the-post-using-pods_api_pre_save/

@dmsearnbit

star

Mon Nov 27 2023 19:41:31 GMT+0000 (Coordinated Universal Time) https://docs.pods.io/code-snippets/posts-without-specific-term/

@dmsearnbit

star

Mon Nov 27 2023 19:40:16 GMT+0000 (Coordinated Universal Time) https://docs.pods.io/code-snippets/create-post-title-from-fields-in-the-post-using-pods_api_pre_save/

@dmsearnbit

star

Mon Nov 27 2023 19:38:44 GMT+0000 (Coordinated Universal Time) https://docs.pods.io/code-snippets/example-using-pods-ui-create-admin-table/

@dmsearnbit

star

Mon Nov 27 2023 19:35:39 GMT+0000 (Coordinated Universal Time) https://docs.pods.io/code-snippets/return-calculated-value-pods-template/

@dmsearnbit

star

Mon Nov 27 2023 19:15:54 GMT+0000 (Coordinated Universal Time) https://docs.pods.io/code-snippets/update-post-title-with-values-from-other-fields-and-make-post-title-uneditable/

@dmsearnbit

star

Mon Nov 27 2023 18:30:28 GMT+0000 (Coordinated Universal Time) https://wordpress.stackexchange.com/questions/48652/sort-custom-posts-in-archive-php-via-meta-key/48658#48658

@dmsearnbit

star

Mon Nov 27 2023 18:02:17 GMT+0000 (Coordinated Universal Time)

@yolobotoffender

star

Mon Nov 27 2023 17:43:58 GMT+0000 (Coordinated Universal Time)

@pag0dy

star

Mon Nov 27 2023 17:12:52 GMT+0000 (Coordinated Universal Time)

@AdomsNavicki

star

Mon Nov 27 2023 16:25:06 GMT+0000 (Coordinated Universal Time)

@AdomsNavicki

star

Mon Nov 27 2023 16:20:23 GMT+0000 (Coordinated Universal Time)

@AdomsNavicki

star

Mon Nov 27 2023 15:57:52 GMT+0000 (Coordinated Universal Time)

@AdomsNavicki

star

Mon Nov 27 2023 15:37:08 GMT+0000 (Coordinated Universal Time) https://www.moodle.tum.de/mod/quiz/attempt.php?attempt

@pimmelpammel

star

Mon Nov 27 2023 15:35:55 GMT+0000 (Coordinated Universal Time)

@AdomsNavicki

star

Mon Nov 27 2023 15:21:29 GMT+0000 (Coordinated Universal Time)

@AdomsNavicki

star

Mon Nov 27 2023 15:13:56 GMT+0000 (Coordinated Universal Time)

@AdomsNavicki

star

Mon Nov 27 2023 14:34:53 GMT+0000 (Coordinated Universal Time)

@AdomsNavicki

star

Mon Nov 27 2023 11:44:32 GMT+0000 (Coordinated Universal Time) https://medium.com/@raykipkorir/what-is-caching-caching-with-redis-in-django-a7d117adfbc5

@Utsav

star

Mon Nov 27 2023 11:41:31 GMT+0000 (Coordinated Universal Time) https://tamerlan.dev/django-caching-using-redis/

@Utsav #python

star

Mon Nov 27 2023 11:17:11 GMT+0000 (Coordinated Universal Time)

@Utsav #db

star

Mon Nov 27 2023 07:13:43 GMT+0000 (Coordinated Universal Time)

@dinovas #php

star

Mon Nov 27 2023 01:09:53 GMT+0000 (Coordinated Universal Time) https://developer.wordpress.org/reference/functions/register_post_type/

@dmsearnbit

star

Sun Nov 26 2023 21:06:05 GMT+0000 (Coordinated Universal Time)

@pag0dy

star

Sun Nov 26 2023 19:53:31 GMT+0000 (Coordinated Universal Time)

@dannyholman #css

star

Sun Nov 26 2023 18:46:33 GMT+0000 (Coordinated Universal Time)

@Matess08 #python

star

Sun Nov 26 2023 18:44:56 GMT+0000 (Coordinated Universal Time)

@Matess08 #python

star

Sun Nov 26 2023 18:03:26 GMT+0000 (Coordinated Universal Time)

@samee

star

Sun Nov 26 2023 17:46:01 GMT+0000 (Coordinated Universal Time) https://cdn.discordapp.com/attachments/1153282397740224542/1178387566370750494/Captura_de_Tela_484.png?ex=6575f5f1&is=656380f1&hm=1cebbd85971136d4f2662942d187e10fde7276dd2f562280cc9523f1210d2774&=$url

@Macaco

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension