This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function main() { | |
AdWordsApp.createLabel("PausedCTR", "ad group paused due to declining CTR", "red"); | |
AdWordsApp.createLabel("PausedCPA", "ad groups paused due to declining Conversions", "yellow"); | |
//NOTE: set your max CPA value. You don't want to pause an ad group with a rising CPA unless that CPA goes over your limit. | |
var cpaMax = 0; | |
var adGroupsIterator = AdWordsApp.adGroups() | |
.withCondition("Clicks > 25") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function main() { | |
/* | |
Make a copy of the spreadsheet listed below and save it to your own Google Drive. | |
Template - https://docs.google.com/spreadsheet/ccckey=0Ao4Qdm9yCtaGdHpiWmpYSWoxcE9Wd0dEV0xDY3l5UGc#gid=0 | |
Take the url of your new spreadsheet and enter it in the ssURL field below | |
*/ | |
var ssURL = "spreadsheet.com"; | |
var codeURL = "https://s3.amazonaws.com/ppc-hero-tools/daily-metrics-log.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download the Editor exe here: http://dl.google.com/adwords_editor/GoogleAdsEditorSetup.exe | |
Install Wine: | |
sudo dpkg --add-architecture i386 | |
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - | |
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' | |
sudo apt update; sudo apt install --install-recommends winehq-stable winetricks | |
Open Wineconfig and change the OS to Windows 10: | |
winecfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
#from selenium import webdriver | |
from bs4 import BeautifulSoup as bs | |
inp=input("Enter flipkart link of the product- ") | |
#chromedriver = "C:\\Users\\crazy\\Desktop\\chromedriver" | |
#driver=webdriver.Chrome(chromedriver) | |
#driver.get(inp) | |
#price=driver.find_element_by_xpath('/html/body/div[1]/div/div[3]/div[2]/div[1]/div[2]/div[2]/div/div[3]/div[1]/div/div[1]') | |
#print(price) | |
txt=requests.get(inp).text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask,request, url_for, redirect, render_template | |
import requests | |
from bs4 import BeautifulSoup | |
import pprint | |
import smtplib | |
from email.message import EmailMessage | |
import csv ### For storing all the information of name,price,desired price,links and email in a csv file | |
import schedule | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Open terminal, paste this | |
open -n /Applications/Screaming\ Frog\ SEO\ Spider.app/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Go to your YouTube video. | |
Click Share | |
Copy The link: https://youtu.be/rW_Zjdnzc1k | |
Grab the id from Video. In the example above, it would be rW_Zjdnzc1k | |
replace the xxx in the code below with the id from the previous step | |
paste the code on Page. | |
Boatdrinks for all!!! | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
map $http_user_agent $badagent { | |
default 0; | |
~*(ahrefsbot|alexibot|appengine|aqua_products|archive.org_bot|archive|asterias|attackbot|b2w|backdoorbot|becomebot|blackwidow|blekkobot) 1; | |
~*(blowfish|botalot|builtbottough|bullseye|bunnyslippers|ccbot|cheesebot|cherrypicker|chinaclaw|chroot|clshttp|collector) 1; | |
~*(control|copernic|copyrightcheck|copyscape|cosmos|craftbot|crescent|custo|demon) 1; | |
~*(disco|dittospyder|dotbot|download|downloader|dumbot|ecatch|eirgrabber|email|emailcollector) 1; | |
~*(emailsiphon|emailwolf|enterprise_search|erocrawler|eventmachine|exabot|express|extractor|extractorpro|eyenetie) 1; | |
~*(fairad|flaming|flashget|foobot|foto|gaisbot|getright|getty|getweb!|gigabot) 1; | |
~*(github|go!zilla|go-ahead-got-it|go-http-client|grabnet|grafula|grub|hari|harvest|hatena|antenna|hloader) 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[www] | |
listen = /run/php/php7.4-fpm.sock | |
user = www-data | |
group = www-data | |
listen.owner = www-data | |
listen.group = www-data | |
pm = ondemand | |
pm.max_children = 2 | |
pm.process_idle_timeout = 10s | |
pm.max_requests = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bind 127.0.0.1 ::1 | |
protected-mode yes | |
port 6379 | |
tcp-backlog 511 | |
# unixsocket /var/run/redis/redis-server.sock | |
# unixsocketperm 700 | |
timeout 0 | |
tcp-keepalive 300 | |
daemonize yes |
OlderNewer