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
/* | |
* USAGE | |
* Add the code in the Advanced section of the Archive Posts Widget | |
* Change the text color in the Style Tab of the Archive Posts Widget | |
* Author: @davidofug | |
*/ | |
/* Normal state */ | |
selector .page-numbers { | |
border: 2px dashed #000; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
/* Hide the default arrow */ | |
select { | |
-webkit-appearance: none; | |
-moz-appearance: none; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Master PHP Arrays</title> | |
</head> | |
<body> | |
<h1>Master PHP Arrays </h1> |
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 | |
//php code here | |
?> |
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
# 1. Navigate to the Nginx server directive directory. | |
cd /etc/nginx/conf.d/ | |
or | |
/etc/nginx/sites-available/ | |
# 2. Create a the Server block configuration file. | |
sudo nano domain.com.conf | |
# 3. Add configuration code to the configuration file and save. |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>PHP Mentorship - Master loops - Part 2</title> | |
</head> | |
<body> | |
<h1>Master Loops</h1> |
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
-- How to use sort data | |
-- ORDER BY keyword | |
SELECT * FROM Districts ORDER BY id; | |
SELECT * FROM Districts ORDER BY id DESC; | |
SELECT * FROM Districts ORDER BY name; | |
SELECT * FROM Districts ORDER BY name DESC; |
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
-- ALTER: Modifies the Table | |
-- Syntax: ALTER TABLE TABLE_NAME | |
ALTER TABLE Districts | |
ADD dCode SMALLINT | |
-- DROP Column; | |
-- Drops the hint column of the demo table |
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
-- DML - Data Manipulation Language Commands | |
-- INSERT, UPDATE, DELETE | |
-- Syntax INSERT INTO table_name (column1, column2, column3, columnN...) VALUES (..., ..., ... ); | |
-- INSERT into demo (id, name, hint) VALUES (7, 'Coach Wampamba David', 'Apps Developer Coach' ); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Embeddable Form</title> | |
<link | |
rel="stylesheet" | |
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" |
NewerOlder