In your terminal, enter the following command
ssh username@host
Then the terminal ask your password
username@host's password:
In your terminal, enter the following command
ssh username@host
Then the terminal ask your password
username@host's password:
# see https://sql.sh/988-requetes-migrer-wordpress | |
# Change the URL of the site | |
UPDATE wp_options | |
SET option_value = replace(option_value, 'http://localhost:8888/site', 'http://www.site.fr') | |
WHERE option_name = 'home' | |
OR option_name = 'siteurl'; | |
# Change GUID URL | |
UPDATE wp_posts |
/** | |
* Get mouse position | |
* | |
* @param obj event | |
* @return obj { x, y } | |
* @see from http://www.quirksmode.org/js/events_properties.html#position | |
*/ | |
export default function getMousePositions(event) { | |
let positionX = 0; | |
let positionY = 0; |
<?php | |
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; | |
$args = array( | |
'post_type' => 'post', | |
'posts_per_page' => 12, | |
'post_status' => 'publish', | |
'paged' => $paged, | |
); |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Document</title> | |
</head> | |
<body> | |
<div class="js-form-duration"> | |
<label for=""> |
/** | |
* Font | |
* | |
* A map containing all information about fonts | |
* | |
* @type map | |
*/ | |
$font: ( | |
/** |
/** | |
* Countdown | |
* | |
* @see https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_countdown | |
*/ | |
class Countdown { | |
/** | |
* Countdown.constructor | |
*/ | |
constructor() { |
// import $ from 'jquery'; | |
/** | |
* Map | |
*/ | |
class Map { | |
/** | |
* Map.constructor | |
* |
Size Limit is a tool to prevent JavaScript libraries bloat.
npm uninstall -g name-of-package