Skip to content

Instantly share code, notes, and snippets.

View volodymyrpekh's full-sized avatar

Vlad Pekh volodymyrpekh

View GitHub Profile
@volodymyrpekh
volodymyrpekh / style.css
Created August 12, 2020 15:12
Landmark Style.css Changes
/* remove this */
Screenshot: https://i.imgur.com/lLpX0an.jpg
/* add this */
@media screen and (min-width: 992px) {
.transformation .transformation__img {
height: -webkit-calc(100vh - 190px);
height: calc(100vh - 190px);
@volodymyrpekh
volodymyrpekh / table-berkay.html
Created January 17, 2020 17:36
Table for Berka
<table>
<tr>
<td style="vertical-align: top">-</td>
<td style="vertical-align: top">Maria Anders Maria Anders Maria Anders Maria Anders Maria Anders Maria Anders Maria Anders Maria Anders Maria Anders Maria Anders </td>
</tr>
<tr>
<td style="vertical-align: top">-</td>
<td style="vertical-align: top">Maria Anders Maria Anders Maria Anders Maria Anders Maria Anders</td>
</tr>
<tr>
@volodymyrpekh
volodymyrpekh / button-test.html
Created January 17, 2020 16:16
Button for Shaz
<!-- VERSION 1 -->
<!-- Intro Text -->
<table cellpadding="0" cellspacing="0" width="480" class="Wrapper" align="center">
<tr>
<td class="Wrapper-inner" style="padding-bottom: 20px;">
<div>
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://my.alumni.utoronto.ca/s/731/18/register.aspx?sid=731&gid=1&pgid=14888&tags=" style="height:40px;v-text-anchor:middle;width:150px;" arcsize="0%" strokecolor="#1e3650" fillcolor="#25355A">
<w:anchorlock/>
@volodymyrpekh
volodymyrpekh / Multipart MIME Email.md
Created June 7, 2019 16:40 — forked from tylermakin/Multipart MIME Email.md
Multipart MIME Email Guide

Multipart MIME Email Guide

This is a guide on how to send a properly formatted multipart email. Multipart email strings are MIME encoded, raw text email templates. This method of structuring an email allows for multiple versions of the same email to support different email clients.

// Example Multipart Email:
From: sender@example.com
To: recipient@example.com
Subject: Multipart Email Example
Content-Type: multipart/alternative; boundary="boundary-string"
@volodymyrpekh
volodymyrpekh / theme.scss.liquid
Created October 18, 2017 01:06
theme.scss.liquid
/*============================================================================
Jumpstart Theme
Table of contents:
1. BASICS
1.1. Reset
1.2. Variables
1.3. Mixins
@volodymyrpekh
volodymyrpekh / functions.php
Created September 27, 2017 23:04
Listify JSON-LD - Full version
//To be put in the child theme functions.php
apply_filters( 'listify_get_listing_jsonld', 'my_listify_get_listing_jsonld' );
function my_listify_get_listing_jsonld($markup, $listing) {
$markup = array();
$location_data = $listing->get_location_data();
$markup = array(
'@context' => 'http://schema.org',
# BEGIN WP Rocket v2.10.9
# Use UTF-8 encoding for anything served text/plain or text/html
AddDefaultCharset UTF-8
# Force UTF-8 for a number of file formats
<IfModule mod_mime.c>
AddCharset UTF-8 .atom .css .js .json .rss .vtt .xml
</IfModule>
# FileETag None is not enough for every server.
@volodymyrpekh
volodymyrpekh / advocacy-original-2.html
Last active September 18, 2017 14:12
Advocacy Original FR - HTML 2 Footer
</div>
</div>
<footer style="margin-top:40px;">
<section id="footermenu">
<div class="wrapper">
<section style="border-top:none; padding-top:0;">
<ul>
<li><a href="https://scleroseenplaques.ca/a-propos-de-nous">À propos de nous</a></li>
<li><a href="https://scleroseenplaques.ca/a-propos-de-nous/offres-demploi">Offres d’emploi</a></li>
<li><a href="https://scleroseenplaques.ca/coordonnees">Coordonnées</a></li>
@volodymyrpekh
volodymyrpekh / advocacy-original-1.html
Last active September 18, 2017 14:10
Advocacy Original FR - HTML 1 Header
<!DOCTYPE html>
<html lang="fr_CA" class="fr_CA">
<head>
<meta charset="utf-8" />
<title>Société canadienne de la SP</title>
<link href="https://aaf1a18515da0e792f78-c27fdabe952dfc357fe25ebf5c8897ee.ssl.cf5.rackcdn.com/41/2016-responsive-styles.css?v=1474040974000" rel="stylesheet" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />