Skip to content

Instantly share code, notes, and snippets.

View babi4's full-sized avatar

Victor Babichev babi4

View GitHub Profile
User-Agent: Yandex
Disallow: /index.php
Disallow: /admin
Disallow: /authorize
Disallow: /session
Disallow: /api
Disallow: /cron
Disallow: /tools
Disallow: /pay
Disallow: /school/classroom
amplitude.init("{{Amplitude App ID}}", null, {
saveEvents: true,
includeUtm: true,
includeReferrer: true,
includeGclid: true,
batchEvents: true,
eventUploadThreshold: 50
});
function() {
return window.location.pathname + window.location.search + window.location.hash;
}
User-agent: Yandex
Disallow: /admin
Disallow: /favorites/add
Disallow: /post/retwit/
Disallow: /authorize
Disallow: /*?*
<--GA-->
<img height="1" width="1" style="display:none" src="https://ga-beacon.appspot.com/UA-74506657-1/hello-my-friends" style="position:absolute; left:-9999px;"/>
<--FB-->
<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1398959027072117&ev=PageView&noscript=1" style="position:absolute; left:-9999px;"/>
<--Я.Метрика-->
<img height="1" width="1" style="display:none" src="https://mc.yandex.ru/watch/35796050" style="position:absolute; left:-9999px;" alt="" />
<--VK-->
<img height="1" width="1" style="display:none" src="https://vk.com/rtrg?r=kOS0hiZVyn1bRjNLLfzYoBTFj8*0r0R75MJwSMhOOhP6haQhVFc7kPidOhDoIBD/d7cEfINigDLPZaxNWH*wdgngXcL5RjsqezGgz5r4od9YyorZZV27TG*1ZD*LCfiAo/CLd2y6tKNfYs/JL4EE*ITI82Ugknqp8h8eUehrdg8-&pixel_id=1000090818" style="position:absolute; left:-9999px;" alt="" />
dataLayer.push({
event: 'User_Init',
user_data: {
id: '787',
name: 'Victor Babichev',
profile_image_url: 'https://png.cmtt.space/user-userpic/5d/1c/14/0c442da0aea712.jpg',
profile_big_image_url: 'https://png.cmtt.space/user-userpic/72/02/ae/611fb95dc48467.jpg',
date: '04.23.2014',
banned: '0',
work: 'Atlas Biomed Group',
dataLayer.push({
event: 'data_event',
data_description: 'Article — Favorite Add'
});
[
{
"@context": "http://www.schema.org",
"@type": "Organization",
"legalName" : "Envy.rent",
"name": "Envy.rent",
"url": "https://envy.rent/",
"logo": "https://assets2.envy.rent/assets/web/json_ld/logo-2e7dfcd71f4f4962df8480da556b76ee108cb571d38a27d044662a8c5f2a236e.png",
"image": "https://assets2.envy.rent/assets/web/json_ld/description-f41d353b1024a0d00b98914bd8df4b3cd7d7dbd9dc2265e448b507657fe9ecdb.jpg",
"description": "Car rental agency in Honolulu, Hawaii",
function StartCrossWork() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets()[0]; //Use first sheet
var result_sheet;
try {
result_sheet = ss.setActiveSheet(ss.getSheetByName("Results"));
} catch (e) {
result_sheet = ss.insertSheet("Results");
}
function main() {
var errors_happens = false;
var campaignIterator = AdWordsApp.campaigns()
.withCondition('LabelNames = "cross"')
.get();
while (campaignIterator.hasNext()) {
if (campaignIterator.hasNext()) {