Skip to content

Instantly share code, notes, and snippets.

Including, but not limited to:
non breaking space :  
en space :   or  
em space :   or  
3-per-em space :  
4-per-em space :   
6-per-em space :   
figure space :   
punctuation space :   
/****************************
* Bulk change campaign names
* Version 1.0
* Created by Martijn Kraan
* Brightstep.nl
****************************/
function main() {
/*
@jpaezsa
jpaezsa / remove-billing.php
Created June 9, 2020 19:58 — forked from jgalea/remove-billing.php
Remove billing details from WooCommerce checkout.
add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
function custom_override_checkout_fields( $fields ) {
unset($fields['billing']['billing_first_name']);
unset($fields['billing']['billing_last_name']);
unset($fields['billing']['billing_company']);
unset($fields['billing']['billing_address_1']);
unset($fields['billing']['billing_address_2']);
unset($fields['billing']['billing_city']);
unset($fields['billing']['billing_postcode']);
@jpaezsa
jpaezsa / WP-Install_Shell.md
Last active May 15, 2020 23:40
Instalación de Wordpress desde Terminal

Instalación de WP desde terminal

Problemas encontrados

========================= en principio nos daba error : zsh: command not found: wget

Solución instalando brew install wget

cuando todo este ok, se instala con una sola linea, descargando, moviendo y borrando lo que no se utiliza.

@jpaezsa
jpaezsa / install WP 2.md
Last active December 4, 2021 00:02 — forked from dwayne/installing.md
WordPress notes.
#!/bin/bash -e
echo "============================================"
echo "A robot is now installing WordPress for you."
echo "============================================"
# Download and unpack
wget http://wordpress.org/latest.tar.gz
tar -xzf latest.tar.gz
@jpaezsa
jpaezsa / plugins.md
Created March 13, 2020 01:39 — forked from Klerith/plugins.md
Flutter: Curso de Flutter - Instalaciones recomendadas
@jpaezsa
jpaezsa / gist:2c3a40b1ba72eacc4ad587450c5ae941
Created August 28, 2019 05:38 — forked from pcmoritz/gist:4b0e1be7f2dfcc4e51e2ace50426f67d
Powerpoint create slides for animations while retaining slide numbers
Option Explicit
Sub AddElements()
Dim shp As Shape
Dim i As Integer, n As Integer
n = ActivePresentation.Slides.Count
For i = 1 To n
Dim s As Slide
Set s = ActivePresentation.Slides(i)
@jpaezsa
jpaezsa / Keyword or Product Group Spend Alerts
Created July 24, 2019 05:29 — forked from siliconvallaeys/Keyword or Product Group Spend Alerts
Get alerted when keywords or product groups are spending too much today with few conversions
function main() {
var currentSetting = new Object();
// what do you want to check?
currentSetting.entityToCheck = "product groups"; // valid options: keywords, product groups
// How much cost is allowed before we alert?
currentSetting.maxCost = 1;
// Fewer than how many conversions before we alert?
var DEBUG = 0;
function main() {
var spreadsheetName = "Bid Ranges";
var spreadsheetUrl = "";
var accountManagers = "";
var overWriteOldData = 1;
var sheetNames = ["Campaigns", "Keywords"];
@jpaezsa
jpaezsa / Conflicting Negative Keywords for Converting Queries
Created July 24, 2019 03:46 — 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
//