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
[ | |
{"reviewText": "Absolutely loved the Margherita pizza here! The crust was just perfect."}, | |
{"reviewText": "The spaghetti carbonara was a bit too salty for my taste. Might try something else next time."}, | |
{"reviewText": "Best pepperoni pizza in town! A must-try for pizza lovers."}, | |
{"reviewText": "Wasn't a fan of the four cheese pasta. It was too heavy and lacked seasoning."}, | |
{"reviewText": "The mushroom pizza had an amazing blend of flavors. Definitely coming back for more."}, | |
{"reviewText": "Tried the seafood pasta. It was undercooked and not what I expected."}, | |
{"reviewText": "The pizza crust was too thick for my liking. Prefer thinner crust pizzas."}, | |
{"reviewText": "Loved the pesto pasta! The sauce was rich and flavorful."}, | |
{"reviewText": "The BBQ chicken pizza lacked BBQ flavor. Was quite disappointed."}, |
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
INSERT INTO `prefix.table_name` (created_at) VALUES | |
('2024-08-26 21:02:05.995148'), | |
('2024-02-07 14:44:10.370606'), | |
('2024-05-24 13:07:09.540437'), | |
('2024-03-24 06:04:30.275087'), | |
('2023-12-15 11:02:31.863878'), | |
('2024-10-01 10:45:24.416494'), | |
('2024-09-11 01:35:17.717285'), | |
('2023-12-26 05:29:36.774685'), | |
('2024-07-15 10:48:48.950686'), |
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
CREATE table IF NOT EXISTS posts ( | |
created_at TIMESTAMP | |
); | |
INSERT INTO posts (created_at) VALUES | |
('2024-08-26 21:02:05.995148'), | |
('2024-02-07 14:44:10.370606'), | |
('2024-05-24 13:07:09.540437'), | |
('2024-03-24 06:04:30.275087'), | |
('2023-12-15 11:02:31.863878'), |
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
<html> | |
<head> | |
</head> | |
<body> | |
<div class="chart-container"> | |
<canvas id="myChart" width="400" height="200"></canvas> | |
<div id="tooltip"> |
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
from seleniumwire import webdriver | |
import time | |
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities | |
import json | |
caps = DesiredCapabilities.CHROME | |
caps['loggingPrefs'] = {'performance': 'ALL'} | |
options = webdriver.ChromeOptions() | |
# Go to: chrome://version |
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
var vm = new Vue({ | |
data: { | |
a: 1 | |
} | |
}) | |
// `vm.a` is now reactive | |
vm.b = 2 | |
// `vm.b` is NOT reactive |
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 | |
/** | |
* Get the table associated with the model. | |
* | |
* @return string | |
*/ | |
public function getTable() | |
{ | |
if (! isset($this->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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |