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
/* | |
Theme Name: Kinsta Blog Theme | |
Author: Joel Olawanle | |
Author URI: https://kinsta.com/blog/author/joelolawanle/ | |
Description: A thoughtfully designed WordPress theme crafted specifically for illustrating the process of theme creation. This theme provides a clean, responsive layout suitable for showcasing articles and tutorials, making it an ideal choice for blog posts and educational content related to web development and design. | |
Version: 1.0 | |
License: GNU General Public License v3 or later | |
License URI: http://www.gnu.org/licenses/gpl-3.0.html | |
*/ |
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
docker run -it --rm \ | |
--volume /var/run/docker.sock:/var/run/docker.sock \ | |
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \ | |
--entrypoint="install" \ | |
appwrite/appwrite:0.15.3 |
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
import { useState, useEffect } from "react"; | |
const App = () => { | |
const [posts, setPosts] = useState([]); | |
useEffect(() => { | |
fetch("https://jsonplaceholder.typicode.com/posts") | |
.then((res) => res.json()) | |
.then((data) => { | |
console.log(data); |
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
import { useState, useEffect } from "react"; | |
// import axios library - make sure you install it using - npm i axios | |
import axios from "axios"; | |
const App = () => { | |
const [posts, setPosts] = useState([]); | |
useEffect(() => { | |
axios |
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
import React, { Component } from "react"; | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
posts: [] | |
}; | |
} |
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
import React, { Component } from "react"; | |
// import axios library - make sure you install it using - npm i axios | |
import axios from "axios"; | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { |
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
import React, { useState, useEffect } from 'react'; | |
import { request } from 'graphql-request'; | |
import Paginate from './Paginate'; | |
const App = () => { | |
const [blogPosts, setBlogPosts] = useState([]); | |
const [currentPage, setCurrentPage] = useState(1); | |
const [totalPosts, setTotalPosts] = useState(); | |
const [postsPerPage] = useState(3); |
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 | |
if (isset($_POST['generate'])) { | |
$name = strtoupper($_POST['name']); | |
//designed certificate picture | |
$image = "certi.png"; | |
$createimage = imagecreatefrompng($image); |
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
<form method="post" action=""> | |
<div class="form-group col-sm-6"> | |
<input type="text" name="name" class="form-control" id="name" placeholder="Enter Name Here..."> | |
</div> | |
<button type="submit" name="generate" class="btn btn-primary">Generate</button> | |
</form> |
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
imagettftext ( resource $image , float $size , float $angle , int $x , int $y , int $color , string $fontfile , string $text ) |
NewerOlder