Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Jay Holtslander JayHoltslander

I may be slow to respond.
View GitHub Profile
mayneyao / notion2blog.js
Last active Nov 21, 2020 > Personal Blog | custom domain + disqus comment
View notion2blog.js
const MY_DOMAIN = ""
const START_PAGE = ""
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
sahava / Facebook Pixel.tpl
Last active Oct 10, 2020
Facebook Pixel custom tag template for Google Tag Manager
View Facebook Pixel.tpl
"displayName": "Facebook Pixel",
"description": "This is a template prototype for the Facebook Pixel.",
"securityGroups": [],
"id": "cvt_temp_public_id",
"type": "TAG",
"version": 1,
"brand": {
liuyigh /
Last active Feb 21, 2020 — forked from phlbnks/
Utility script to help manage WordPress sites on an Serverpilot server (but not limited to SP)
# Help / usage info.
USAGE=$'WordPress Helper script, adapted from Phil Banks (emirpprime@github) EasyEngine script for Serverpilot .\nWithout any args it will search /srv/users/serverpilot/apps for WordPress sites, loop over them in alphabetical order and check for core and plugin updates.\nAlso accepts:\n\t--sites=[space seperated list of site paths relative to /srv/users/serverpilot/apps]\n\t--update=[plugins|wp|all].'
# Die function for exiting on errors.
die () {
echo "${1}, exitting..." >&2 ; echo ; exit 1
tribulant / wp-config.php
Created Jan 20, 2017
WordPress Allow Unfiltered Uploads for wp-config.php
View wp-config.php
atomtigerzoo / wordpress-disable-yoast-seo-on-custom-post-type.php
Created Mar 31, 2016
Wordpress: Disable Yoast SEO on Custom Post Type
View wordpress-disable-yoast-seo-on-custom-post-type.php
function my_remove_wp_seo_meta_box() {
remove_meta_box('wpseo_meta', YOUR_POST_TYPE_NAME_HERE, 'normal');
add_action('add_meta_boxes', 'my_remove_wp_seo_meta_box', 100);
bwhli / Redirect WordPress Logout to Home Page
Created Jul 7, 2015
Redirect WordPress Logout to Home Page
View Redirect WordPress Logout to Home Page
//* Redirect WordPress Logout to Home Page
bueckl / wget
Last active Oct 10, 2020
Wget examples
View wget
#Spider Websites with Wget – 20 Practical Examples
Wget is extremely powerful, but like with most other command line programs, the plethora of options it supports can be intimidating to new users. Thus what we have here are a collection of wget commands that you can use to accomplish common tasks from downloading single files to mirroring entire websites. It will help if you can read through the wget manual but for the busy souls, these commands are ready to execute.
1. Download a single file from the Internet
2. Download a file but save it locally under a different name
wget ‐‐output-document=filename.html
mw-ferretti /
Last active Oct 23, 2020
Paypal button on markdown github


<!-- Sample of code generated --> 
<form action="" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="RGQ8NSYPA59FL">
<input type="image" src="" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="" width="1" height="1">
jplhomer /
Created Feb 25, 2015
Disable all comments/pings in WordPress with WP-CLI
$ wp post list --format=ids | xargs wp post update --comment_status=closed
# Output:
# Success: Updated post 2514.
# Success: Updated post 2511.
# Success: Updated post 2504.
# Success: Updated post 2499.
# Success: Updated post 2441.
# etc...
You can’t perform that action at this time.