Skip to content

Instantly share code, notes, and snippets.

View GlenMerlin's full-sized avatar

GlenMerlin GlenMerlin

View GitHub Profile
version: '2'
services:
nginx-terminate:
tty: true
build: ./nginx-terminate/
restart: unless-stopped
volumes:
- ./data/nginx-terminate:/etc/nginx/conf.d
- ./data/certbot/conf:/etc/letsencrypt
@GlenMerlin
GlenMerlin / Like (without jQuery).js
Last active August 4, 2020 19:23
Same as my other like gist but without using jQuery
import axios from "axios"
var failedAttemptCount = 0
class Like {
constructor() {
if (document.querySelector(".like-box")) {
axios.defaults.headers.common["X-WP-Nonce"] = universityData.nonce
this.events()
}
@GlenMerlin
GlenMerlin / Like (with jQuery).js
Last active August 4, 2020 19:23
This is a way to have the fictional univeristy website redirect you to the register page with too many failed attempt to like a professor
import $ from 'jquery';
var failedAttemptCount = 0
class Like {
constructor() {
this.events();
}
events() {

Keybase proof

I hereby claim:

  • I am glenmerlin on github.
  • I am glenmerlin (https://keybase.io/glenmerlin) on keybase.
  • I have a public key ASAH6HAvKGfgmnLNvWvc3maWGvjYvoPdNPpFqXYxA8qOKQo

To claim this, I am signing this object: