Skip to content

Instantly share code, notes, and snippets.

View Strusovsky's full-sized avatar

Andrew Strusovsky Strusovsky

View GitHub Profile
<?php
/**
* This section ensures that Twilio gets a response.
*/
header('Content-type: text/xml');
echo '<?xml version="1.0" encoding="UTF-8"?>';
echo '<Response></Response>'; //Place the desired response (if any) here
/**
* This section actually sends the email.
@Strusovsky
Strusovsky / Little-Wigets-FScript
Created June 8, 2018 00:55
Little Wigets Script
// events
(function () {
// open widget on load
var widget = document.querySelector('.lw-widget[data-lw-onload]');
if (widget != null) {
var openDelay = 0;
if (widget.dataset.lwOnload.length) {
openDelay = widget.dataset.lwOnload;
}
#toggle-vertical,
#toggle-horizontal {
position: absolute;
top: 50%;
left: 50%;
padding: 10px;
transform: translate(-50%, -50%);
font-family: Arial;
font-size: 14px;
@Strusovsky
Strusovsky / style.css
Created June 24, 2018 19:06
AMS-Icons
@font-face {
font-family: 'ams-icons';
src: url('fonts/ams-icons.eot?vu89ci');
src: url('fonts/ams-icons.eot?vu89ci#iefix') format('embedded-opentype'),
url('fonts/ams-icons.ttf?vu89ci') format('truetype'),
url('fonts/ams-icons.woff?vu89ci') format('woff'),
url('fonts/ams-icons.svg?vu89ci#ams-icons') format('svg');
font-weight: normal;
font-style: normal;
}
@Strusovsky
Strusovsky / suggest-google-sheets.js
Created September 19, 2018 13:26 — forked from nalgeon/README.md
Пример работы с подсказками DaData в Google Taблицах
// Замените на свой API-ключ из личного кабинета (https://dadata.ru/profile/#info)
var API_KEY = "ВАШ_API_КЛЮЧ";
/***
/* Не меняйте код ниже этой строчки
***/
var FORMATTERS = {
address: formatAddress,
fio: formatFio,
/* --------------------------------
Typography
-------------------------------- */
:root {
--font-primary: sans-serif;
--font-secondary: serif;
@Strusovsky
Strusovsky / Exclude Google Display Placements That Contain ...
Created March 24, 2019 11:24 — forked from siliconvallaeys/Exclude Google Display Placements That Contain ...
Automatically add negative placements for any new automatic GDN placements that include a particular piece of text
/****************************
* Add a Placement Exclusion When an Automatic Placement Contains the Text ...
* Version 1.0
*
* Created By: Frederick Vallaeys
* for FreeAdWordsScripts.com
* at the request of an Optmyzr.com subscriber
****************************/
function main() {
@Strusovsky
Strusovsky / Conflicting Negative Keywords for Converting Queries
Created March 24, 2019 11:24 — forked from siliconvallaeys/Conflicting Negative Keywords for Converting Queries
Find negative keywords that block queries that have converted in the past
/*
// AdWords Script: Negatives Blocking Converting Queries
// -----------------------------------------------------------------------------
// Copyright 2017 Optmyzr Inc., All Rights Reserved
//
// This script identifies negative keywords that are now blocking ads from
// appearing for previously converting queries
//
// For more PPC management tools, visit www.optmyzr.com
//