This command updates the index using the content found in the working tree.
git add name/of/our/file
This command updates the index using the content found in the working tree.
git add name/of/our/file
npm uninstall -g name-of-package
Size Limit is a tool to prevent JavaScript libraries bloat.
// import $ from 'jquery'; | |
/** | |
* Map | |
*/ | |
class Map { | |
/** | |
* Map.constructor | |
* |
/** | |
* Countdown | |
* | |
* @see https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_countdown | |
*/ | |
class Countdown { | |
/** | |
* Countdown.constructor | |
*/ | |
constructor() { |
/** | |
* Font | |
* | |
* A map containing all information about fonts | |
* | |
* @type map | |
*/ | |
$font: ( | |
/** |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Document</title> | |
</head> | |
<body> | |
<div class="js-form-duration"> | |
<label for=""> |
<?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, | |
); |
/** | |
* 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; |