Skip to content

Instantly share code, notes, and snippets.

View betancourtl's full-sized avatar

Luis betancourtl

  • VA
View GitHub Profile
import { setSlotTargeting } from '../vendors';
import jsCookie from 'js-cookie';
import keywords from '../util/keywords';
import latencyUtil from '../util/latency';
import {
isAtlas,
isArticle,
page_type,
utag_data,
isSlideshow,
/* jshint latedef:false */
/* global googletag */
/*!
* jQuery DFP v2.4.2
* http://github.com/coop182/jquery.dfp.js
*
* Copyright 2016 Matt Cooper
* Released under the MIT license
*/
@betancourtl
betancourtl / Puppet_6.3_Raspbian.md
Created January 30, 2022 04:25 — forked from aaroncoffey/Puppet_6.3_Raspbian.md
How to get puppet 6.3 up and running on a raspberry pi running Raspbian

How to get puppet 6.3 up and running on a raspberry pi running raspbian.

These instructions were tested on a pi 3 with the latest version of raspbian (Raspbian GNU/Linux 9.8 (stretch)).

This guide assumes basic competency with the command line. It also assumes you have a functional puppet master set up with the hostname of puppet. If you can ping puppet, you should be all set. Also note that I am just getting into puppet and am not a master of this domain. There may be errors, and there is probably a better way to do this, but in my searching, I was unable to locate a good set of instructions to get this working, so here we are. Feel free to contact me for corrections.

You can either switch to root sudo -i, or prepend all the following commands with sudo.

Update first

apt update
@betancourtl
betancourtl / list.txt
Created December 8, 2022 17:09 — forked from coryodaniel/list.txt
GCP List of API Services
NAME TITLE
abusiveexperiencereport.googleapis.com Abusive Experience Report API
acceleratedmobilepageurl.googleapis.com Accelerated Mobile Pages (AMP) URL API
accessapproval.googleapis.com Access Approval API
accesscontextmanager.googleapis.com Access Context Manager API
actions.googleapis.com Actions API
adexchangebuyer-json.googleapis.com Ad Exchange Buyer API
adexchangebuyer.googleapis.com Ad Exchange Buyer API II
adexchangeseller.googleapis.com Ad Exchange Seller API
adexperiencereport.googleapis.com Ad Experience Report API
@betancourtl
betancourtl / my.cnf
Created January 12, 2023 22:17 — forked from fevangelou/my.cnf
Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers)
# === Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers) ===
#
# by Fotis Evangelou, developer of Engintron (engintron.com)
#
# ~ Updated December 2021 ~
#
#
# The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores.
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage.
#