Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1028 lines (1028 sloc) 36.3 KB
{
"list": [
{
"line": "all: unset",
"note": "Resets all properties to default.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/all",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-01"
},
{
"line": "overflow: initial",
"note": "Sets overflow to default state.",
"link": "https://css-tricks.com/almanac/properties/o/overflow/",
"language": "CSS",
"evergreen": false,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-02"
},
{
"line": "wp_reset_postdata( )",
"note": "Reset context for WordPress query.",
"link": "https://developer.wordpress.org/reference/functions/wp_reset_postdata/",
"language": "PHP",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-03"
},
{
"line": "-moz-osx-font-smoothing: grayscale",
"note": "Fixes font smoothness on MacOS.",
"link": "https://responsivedesign.is/articles/font-smoothing/",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-04"
},
{
"line": "background-repeat: round",
"note": "Tiles background image.",
"link": "https://codepen.io/thewizardjs/pen/WVEBLo",
"language": "CSS",
"evergreen": false,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-05"
},
{
"line": "configs.map(config => config.path)",
"note": "Creates an array with returned paths.",
"link": "https://medium.com/poka-techblog/simplify-your-javascript-use-map-reduce-and-filter-bd02c593cc2d",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-06"
},
{
"line": "position: sticky",
"note": "Makes element sticky.",
"link": "https://caniuse.com/#feat=css-sticky",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-07"
},
{
"line": "br { content: ' ' }",
"note": "Prevents line break.",
"link": "https://www.gallagherwebsitedesign.com/blog/remove-line-break-css-replace-with-space/",
"language": "CSS",
"evergreen": false,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-08"
},
{
"line": "setcookie('myCookie', time() - 3600);",
"note": "Deletes cookie.",
"link": "https://www.pontikis.net/blog/create-cookies-php-javascript",
"language": "PHP",
"evergreen": false,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-09"
},
{
"line": "const { src, dest, series, or parallel } = require('gulp')",
"note": "Deconstructs object.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#Object_destructuring",
"language": "JavaScript",
"evergreen": false,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-12"
},
{
"line": "* + *",
"note": "Universal adjacent sibling combinator aka Lobotomized Owl.",
"link": "https://alistapart.com/article/axiomatic-css-and-lobotomized-owls/",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-13"
},
{
"line": "add_shortcode( 'card' , 'generate_card' )",
"note": "Adds shortcode tag hook.",
"link": "https://codex.wordpress.org/Function_Reference/add_shortcode",
"language": "PHP",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-14"
},
{
"line": "event.preventDefault()",
"note": "Prevents default action.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-15"
},
{
"line": "border-color: currentColor",
"note": "Uses current text color as border color.",
"link": "https://css-tricks.com/currentcolor/",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-16"
},
{
"line": "var_dump( $variable )",
"note": "Dumps variable.",
"link": "https://www.php.net/manual/en/function.var-dump.php",
"language": "PHP",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-26"
},
{
"line": "<wbr/>",
"note": "Sets desired word break position.",
"link": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr",
"language": "HTML",
"evergreen": false,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-27"
},
{
"line": "pointer-events: none",
"note": "Removes clickable context.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-28"
},
{
"line": "const myClass = isHome() ? 'home' : 'category'",
"note": "Ternary operator.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Conditional_Operator",
"language": "JavaScript",
"evergreen": false,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-29"
},
{
"line": "fs.existsSync(path)",
"note": "Checks if file exists.",
"link": "https://nodejs.org/api/fs.html#fs_fs_existssync_path",
"language": "Nodejs",
"evergreen": false,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-08-30"
},
{
"line": "JSON.stringify({ item: \"value\" })",
"note": "Converts JS object or value to a JSON string.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-02"
},
{
"line": "lines.find(line => new Date(line.date) <= new Date())",
"note": "Finds and returns first match in an array.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-03"
},
{
"line": "new Date()",
"note": "Creates current date object.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#Parameters",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-04"
},
{
"line": "let apples = shoppingList.removeLast()",
"note": "Removes the final item from an array.",
"link": "https://docs.swift.org/swift-book/LanguageGuide/CollectionTypes.html",
"language": "Swift",
"author": "Ethan Chin",
"handle": "EthanChinCN",
"date": "2019-09-05"
},
{
"line": "min-height: 100vh",
"note": "Sets the minimum height to 100% of the height of the viewport.",
"link": "https://css-tricks.com/a-couple-of-use-cases-for-calc/",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-06"
},
{
"line": "background: Salmon content-box",
"note": "Sets background to content-box of an element.",
"link": "https://css-tricks.com/nested-gradients-with-background-clip/",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-09"
},
{
"line": "text-decoration: wavy overline Salmon;",
"note": "Sets wavy text decoration over the text.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration#Examples",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-10"
},
{
"line": "text-decoration-thickness: .125em",
"note": "Sets text decoration thickness.",
"link": "https://css-tricks.com/styling-links-with-real-underlines/",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-11"
},
{
"line": "new Promise(resolve => resolve()})",
"note": "Creates a new promise that represents the eventual completion (or failure) of an asynchronous operation, and its resulting value.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-12"
},
{
"line": "articles.every(article => article.published)",
"note": "Returns true or false if all elements in the array pass the test.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-13"
},
{
"line": "articles.some(article => article.published)",
"note": "Returns true or false if at least one element in the array passes the test.",
"link": "https://medium.com/poka-techblog/simplify-your-javascript-use-some-and-find-f9fb9826ddfd",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-16"
},
{
"line": "$parent.contains($child) ",
"note": "Checks if an element contains a child node.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Node/contains",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-17"
},
{
"line": "$myElem.classList.contains('my-class')",
"note": "Checks if an element contains a class.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Element/classList#Methods",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-18"
},
{
"line": "exec(`ruby script.rb`, function (err, stdout, stderr) {})",
"note": "Executes shell command and buffers the output.",
"link": "https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback",
"language": "Nodejs",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-19"
},
{
"line": "string.replace(/$/g, '')",
"note": "Removes all $ (dollar) characters from the string.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-20"
},
{
"line": "wp_list_pluck($menu, 'object_id')",
"note": "Plucks a particular field from each object in a list.",
"link": "https://codex.wordpress.org/Function_Reference/wp_list_pluck",
"language": "PHP",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-23"
},
{
"line": "in_category('Blog')",
"note": "Returns true if the current post is in the category.",
"link": "https://developer.wordpress.org/reference/functions/in_category/",
"language": "PHP",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-24"
},
{
"line": "get_template_directory()",
"note": "Returns directory of the current theme.",
"link": "https://developer.wordpress.org/reference/functions/get_template_directory/",
"language": "PHP",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-25"
},
{
"line": "strtolower($text)",
"note": "Converts a string to lowercase.",
"link": "https://www.php.net/manual/en/function.strtolower.php",
"language": "PHP",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-26"
},
{
"line": "strtoupper($text)",
"note": "Converts a string to uppercase.",
"link": "https://www.php.net/manual/en/function.strtoupper.php",
"language": "PHP",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-27"
},
{
"line": "text.trim()",
"note": "Removes whitespace from string.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-09-30"
},
{
"line": "get_term_by('term_taxonomy_id', $post_id)",
"note": "Returns all terms by “Term” field and data.",
"link": "https://developer.wordpress.org/reference/functions/get_term_by/",
"language": "PHP",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-01"
},
{
"line": "get_the_terms($post_id, 'taxonomy')",
"note": "Returns all terms of the taxonomy for the given post.",
"link": "https://developer.wordpress.org/reference/functions/get_the_terms/",
"language": "PHP",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-02"
},
{
"line": "break-inside: avoid-column",
"note": "Prevents the content to break to a new column.",
"link": "https://css-tricks.com/almanac/properties/b/break-inside/",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-03"
},
{
"line": "column-count: 2",
"note": "Breaks the content into columns.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/column-count",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-04"
},
{
"line": "const greeting = `Hello ${myVar}!`",
"note": "Interpolates string with the variable.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-14"
},
{
"line": "str_replace('$', '€', $str)",
"note": "Replaces all targeted symbols with the replacement symbol.",
"link": "https://www.php.net/str_replace",
"language": "PHP",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-15"
},
{
"line": "window.history.pushState({ state: 1 }, 'My state', '#myHash')",
"note": "Adds a state to the browsers history.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/History/pushState",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-16"
},
{
"line": "window.onpopstate = () => {}",
"note": "Sets EventHandler for processing popstate events on the window.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-17"
},
{
"line": "location.reload(true)",
"note": "Forces reloading the current page from the server.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Window/location#Example_2_Force_reloading_the_current_page_from_the_server",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-18"
},
{
"line": "@media (pointer: fine) { ... }",
"note": "Targets devices with an accurate pointing device input mechanism.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-21"
},
{
"line": "@media (hover: hover) { ... }",
"note": "Targets devices with a supported hover input mechanism.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/@media/hover",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-22"
},
{
"line": "visibility: hidden",
"note": "Hides an element without changing the layout of a document.\n\n",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/visibility",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-23"
},
{
"line": "input::placeholder",
"note": "Targets an input's placeholder.",
"link": "https://css-tricks.com/almanac/selectors/p/placeholder/",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-24"
},
{
"line": "div:empty",
"note": "Targets empty div elements.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/:empty",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-25"
},
{
"line": "div:last-child",
"note": "Targets the last div element among group of siblings.",
"link": "https://css-tricks.com/almanac/selectors/l/last-child/",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-28"
},
{
"line": "div:last-of-type",
"note": "Targets the last div element of its own type among group of siblings.",
"link": "https://css-tricks.com/almanac/selectors/l/last-of-type/",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-29"
},
{
"line": "div:first-child",
"note": "Targets the first div element among group of siblings.",
"link": "https://css-tricks.com/almanac/selectors/f/first-child/",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-30"
},
{
"line": "div:first-of-type",
"note": "Targets the first div element of its own type among group of siblings.",
"link": "https://css-tricks.com/almanac/selectors/f/first-of-type/",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-10-31"
},
{
"line": "div:only-child",
"note": "Targets div element without any siblings.",
"link": "https://css-tricks.com/almanac/selectors/o/only-child/",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-01"
},
{
"line": "window.addEventListener('scroll', () => {...})",
"note": "Sets scroll event listener.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Document/scroll_event",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-04"
},
{
"line": "window.requestAnimationFrame(() => {...})",
"note": "Tells the browser that you wish to perform an animation and requests that the browser calls a specified function to update an animation before the next repaint.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-05"
},
{
"line": "get_template_directory()",
"note": "Returns the WordPress current theme directory.",
"link": "https://developer.wordpress.org/reference/functions/get_template_directory/",
"language": "PHP",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-06"
},
{
"line": "get_template_directory_uri()",
"note": "Returns the WordPress theme directory URI.",
"link": "https://developer.wordpress.org/reference/functions/get_template_directory_uri/",
"language": "PHP",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-07"
},
{
"line": "wp_get_upload_dir()",
"note": "Returns WordPress uploads directory information.",
"link": "https://developer.wordpress.org/reference/functions/wp_get_upload_dir/",
"language": "PHP",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-08"
},
{
"line": "document.body",
"note": "Returns the body of the body or frameset node of the current document.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Document/body",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-11"
},
{
"line": "$myElem.getBoundingClientRect()",
"note": "Returns the size of an element and its position relative to the viewport.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-12"
},
{
"line": "window.scrollY",
"note": "Returns the number of pixels that the document is currently scrolled vertically.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-13"
},
{
"line": "window.scrollX",
"note": "Returns the number of pixels that the document is currently scrolled horizontally.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollX",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-14"
},
{
"line": "window.innerHeight",
"note": "Returns viewport's height in pixels.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-15"
},
{
"line": "window.innerWidth",
"note": "Returns viewport's width in pixels.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-18"
},
{
"line": "$myElem.getAttribute('aria-hidden')",
"note": "Gets aria-hidden attribute from the element.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-19"
},
{
"line": "$myElem.setAttribute('aria-hidden', 'true')",
"note": "Sets aria-hidden attribute to true.",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-20"
},
{
"line": "myArray.push(myElem)",
"note": "Adds new elements to the end of an array. Returns a new array length.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-21"
},
{
"line": "myArray.pop()",
"note": "Gets and removes the last element from an array.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/pop",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-22"
},
{
"line": "myArray.shift()",
"note": "Gets and removes the first element from an array.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/shift",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-25"
},
{
"line": "myArray.unshift(myElem)",
"note": "Adds new elements to the beginning of an array. Returns a new array length.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-26"
},
{
"line": "forloop.last",
"note": "Checks if it is the last iteration of the loop.",
"link": "https://help.shopify.com/en/themes/liquid/objects/for-loops#forloop-last",
"language": "Liquid",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-27"
},
{
"line": "{{ myVar | json }}",
"note": "Converts a string variable into JSON format.",
"link": "https://help.shopify.com/en/themes/liquid/filters/additional-filters#json",
"language": "Liquid",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-28"
},
{
"line": "{{ 1999 | money }}",
"note": "Converts a number variable into money format.",
"link": "https://help.shopify.com/en/themes/liquid/filters/money-filters#money",
"language": "Liquid",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-11-29"
},
{
"line": "span:not(:last-child) {}",
"note": "Targets all span elements that are not last child.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/:not",
"language": "CSS",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-02"
},
{
"line": "span:not(:last-of-type) {}",
"note": "Targets all span elements that are not last child and type span.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/:not",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-03"
},
{
"line": "span:not(:first-child) {}",
"note": "Targets all span elements that are not first child.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/:not",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-04"
},
{
"line": "span:not(:first-of-type) {}",
"note": "Targets all span elements that are not first child and type span.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/:not",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-05"
},
{
"line": "span:not(:only-child) {}",
"note": "Targets all span elements that are the only child.",
"link": "https://developer.mozilla.org/en-US/docs/Web/CSS/:not",
"language": "CSS",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-06"
},
{
"line": "<!DOCTYPE html>",
"note": "Sets doctype declaration to make browsers parse the document equally.",
"link": "https://www.w3.org/QA/2002/04/valid-dtd-list.html",
"language": "HTML",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-09"
},
{
"line": "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">",
"note": "Controls the viewport's size and scale.",
"link": "https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag",
"language": "HTML",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-10"
},
{
"line": "<meta name=\"referrer\" content=\"no-referrer\">",
"note": "Omits the Referrer header entirely.",
"link": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy",
"language": "HTML",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-11"
},
{
"line": "<meta charset=\"UTF-8\">",
"note": "Sets UTF-8 character encoding.",
"link": "https://bitsofco.de/meta-charset/",
"language": "HTML",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-12"
},
{
"line": "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS Feed\" href=\"/rss\">",
"note": "Points to RSS feed and helps people and machines find the feed.",
"link": "https://developer.mozilla.org/en-US/docs/Archive/RSS/Getting_Started/Syndicating",
"language": "HTML",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-13"
},
{
"line": "Math.random()",
"note": "Returns a floating-point random number in the range 0–1.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-16"
},
{
"line": "Math.sqrt()",
"note": "Returns the square root of a number.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sqrt",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-17"
},
{
"line": "Math.pow()",
"note": "Returns the base to the exponent power.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/pow",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-18"
},
{
"line": "Math.trunc()",
"note": "Returns the integer part of a number by removing any fractional digits.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-19"
},
{
"line": "Math.round()",
"note": "Returns the value of a number rounded to the nearest integer.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-20"
},
{
"line": "Math.min()",
"note": "Returns the lowest of zero or more numbers.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/min",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-23"
},
{
"line": "Math.max()",
"note": "Returns the largest of zero or more numbers.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/max",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-27"
},
{
"line": "Math.floor()",
"note": "Returns the largest integer less than or equal to a given number.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/floor",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-30"
},
{
"line": "Math.ceil()",
"note": "Returns rounded number up to the next largest whole number or integer.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/ceil",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2019-12-31"
},
{
"line": "isNaN(myVar)",
"note": "Checks if a value is NaN or not.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isNaN",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-02"
},
{
"line": "Number.isNaN(myVar)",
"note": "ECMAScript 2015 version for checking if a value is NaN or not.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN",
"language": "JavaScript",
"evergreen": true,
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-03"
},
{
"line": "encodeURIComponent(myVar)",
"note": "Returns encoded URI component string.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-07"
},
{
"line": "encodeURI(myVar)",
"note": "Returns encoded URI string.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-08"
},
{
"line": "decodeURIComponent(myVar)",
"note": "Returns decoded Uniform Resource Identifier (URI) component string.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-09"
},
{
"line": "decodeURI(myVar)",
"note": "Returns decoded Uniform Resource Identifier (URI) string.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURI",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-10"
},
{
"line": "eval(myExp)",
"note": "Evaluates JavaScript code represented as a string. Use at your own risk.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-13"
},
{
"line": "uneval(myObj)",
"note": "Creates a string representation of the source code of an Object. Use at your own risk.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/uneval",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-14"
},
{
"line": "myVar.join(' ');",
"note": "Returns a new string by concatenating array items with spaces.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-16"
},
{
"line": "myVar.split(' ');",
"note": "Splits string into array elements by spaces.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-17"
},
{
"line": "myVar.length",
"note": "Returns the number of elements in that array.",
"link": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length",
"language": "JavaScript",
"author": "Silvestar",
"handle": "malimirkeccita",
"date": "2020-01-20"
}
]
}
You can’t perform that action at this time.