Skip to content

Instantly share code, notes, and snippets.

View savchukoleksii's full-sized avatar

Oleksii Savchuk savchukoleksii

  • Ukraine
View GitHub Profile

Интересные уроки по разным технологиям

JavaScript

Название Описание Ссылка Пройден
Объектно-ориентированное программирование в JavaScript Курсы от udemy Перейти

Node.js

selector:nth-last-child(n+6),
selector:nth-last-child(n+6) ~ selector{
/* values */
}

Полезные JavaScript плагины

Название Описание Ссылка
in-view.js Get notified when a DOM element enters or exits the viewport. Перейти
bricks.js A blazing fast masonry layout generator for fixed width elements Перейти
barba.js Barba.js is a lightweight and dependency free javascript plugin to create fluid and smooth transitions between your site pages. Перейти
roll.js roll and scroll tracking -- a tiny javascript library Перейти
layzr.js A small, fast, and modern library for lazy loading images Перейти
@savchukoleksii
savchukoleksii / cookies.md
Last active April 26, 2023 16:39
Shopify Cookies description

storefront_digest - password protection of store default is null

Can add ?password= to make request under protection


_landing_page - password page?

@savchukoleksii
savchukoleksii / diferentes
Created January 11, 2019 10:56
https://i.stack.imgur.com/pUmRh.jpg Diferentes joins para sacar los registros iguales, diferentes, ...
SELECT *
FROM tableA a
FULL OUTER JOIN tableB b
ON a.column = a.column
WHERE a.column IS NULL OR b.column IS NULL
{% comment %}
Replace all symbols that not listed in `except_symbols`
{% endcomment %}
{%- assign separator = '%%%' -%}
{%- assign except_symbols = '1234567890.' -%}
{%- assign international_shipping = settings.international_shipping -%}
{%- assign international_shipping_except = except_symbolds | split: '' | uniq | join: separator -%}
{%- assign international_shipping_except = international_shipping_except | split: separator -%}
{%- assign international_shipping_array = settings.international_shipping | split: "" | uniq -%}
{% assign previous_article = nil %}
{% assign previous_handle = blog.next_article.handle %}
{% if previous_handle %}
{% assign previous_article = articles[previous_handle] %}
{% endif %}
{% assign next_article = nil %}
{% assign next_handle = blog.previous_article.handle %}
{% if next_handle %}
{% assign next_article = articles[next_handle] %}
{% form 'product', product %}
{% unless product.has_only_default_variant %}
{% for option in product.options_with_values %}
<div class="selector-wrapper js">
{% for value in option.values %}
<input
data-single-option-selector
data-index="option{{ option.position }}"
id="SingleOptionSelector-{{ option.position }}-{{ forloop.index }}"
type="radio"