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
<script> | |
const params = new URLSearchParams(window.location.search) | |
const halalButtonEl = document.getElementById("halalButton") | |
let isFilterHalal = false | |
if (isFilterHalal) { | |
toggleHalalButton(false) | |
} else { | |
toggleHalalButton(true) |
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
curl "https://uat4.myeg.com.my/ETUKARMILIK/etukar/forgotPassword/nurzatulaqilah^@gmail.com" ^ | |
-H "Connection: keep-alive" ^ | |
-H "sec-ch-ua: ^\^" Not;A Brand^\^";v=^\^"99^\^", ^\^"Google Chrome^\^";v=^\^"97^\^", ^\^"Chromium^\^";v=^\^"97^\^"" ^ | |
-H "Accept: application/json" ^ | |
-H "Content-Type: application/json" ^ | |
-H "sec-ch-ua-mobile: ?0" ^ | |
-H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" ^ | |
-H "sec-ch-ua-platform: ^\^"Windows^\^"" ^ | |
-H "Origin: http://localhost:3000" ^ | |
-H "Sec-Fetch-Site: cross-site" ^ |
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
public class Car { | |
public void drive(){ | |
System.out.println("Vroom vroom"); | |
} | |
public void honk(){ | |
System.out.println("Honk Honk"); | |
} | |
public void radio(){ | |
System.out.println("Song Song"); |
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> | |
<?php | |
include 'index.php'; //connects website to database | |
?> | |
<link href="potato.css" rel="stylesheet" type="text/css" /> | |
<html> | |
<head> | |
<h1>Hello potato</h1> | |
<p>It's a wonderful day</p> |
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> | |
<?php | |
include 'index.php'; //connects website to database | |
?> | |
<link href="potato.css" rel="stylesheet" type="text/css" /> | |
<html> | |
<head> | |
<h1>Hello potato</h1> | |
<p>It's a wonderful day</p> |
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
h1{ | |
color:red; | |
} | |
p{ | |
color:blue; | |
} | |
div{ | |
background:#98bf21; | |
height:100px; | |
width:100px; |
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> | |
<head> | |
<h1>Hello potato</h1> | |
<p>It's a wonderful day</p> | |
<div>Square</div> | |
</head> |
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 opencon(){ | |
$dbhost = "localhost"; | |
$dbuser="root"; | |
$dbpass=/*"insert your password here"*/; | |
$db=/*"insert your database name here. Mine's potato"*/; | |
$conn = new mysqli($dbhost, $dbuser, $dbpass, $db) or die("Connection failed: %s \n". $conn->error); | |
return $conn; |