Skip to content

Instantly share code, notes, and snippets.

View paulschreiber's full-sized avatar

Paul Schreiber paulschreiber

View GitHub Profile
Alcona County 106 5th Street Harrisville 48740-0308 989 724-9410 989 724-9419 alcona-co@miqvf.org
Alger County 101 Court St. Munising 49862 906-387-2076 906-387-2156 alger-co@miqvf.org
Allegan County 113 Chestnut St Allegan 49010 (269)673-0450 269)673-0298 allegan-co@miqvf.org
Alpena County 720 West Chisholm Alpena 49707 989-354-9520 989-354-9644 alpena-co@miqvf.org
Antrim County P O Box 520 Bellaire 49615-0520 231-533-6353 231/533-6935 antrim-co@miqvf.org
Arenac County 120 N Grove Standish 48658-0747 989-846-4626 989-846-9194 arenac-co@miqvf.org
Baraga County 16 N. Third St. Lanse 49946 (906)524-6183 (906)524-6186 baraga-co@miqvf.org
Barry County 220 W State St Hastings 49058 269 945-1285 269 945-0209 barry-co@miqvf.org
Bay County 515 Center Ave Suite 101 Bay City 48708-4280 989-895-4280 bay-co@miqvf.org
Benzie County 448 Court Place Beulah 49617 231-882-9671 231-882-5941 benzie-co@miqvf.org
<?php
/**
* Plugin Name: Contact Form Entries
* Description: Save form submissions to the database from <a href="https://wordpress.org/plugins/contact-form-7/">Contact Form 7</a>, <a href="https://wordpress.org/plugins/jetpack/">JetPack Contact Form</a>, <a href="https://wordpress.org/plugins/ninja-forms/">Ninja Forms</a>, <a href="https://wordpress.org/plugins/formidable/">Formidable Forms</a>, <a href="http://codecanyon.net/item/quform-wordpress-form-builder/706149">Quform</a>, <a href="https://wordpress.org/plugins/cforms2/">cformsII</a>, <a href="https://wordpress.org/plugins/contact-form-plugin/">Contact Form by BestWebSoft</a>, <a href="https://wordpress.org/plugins/ultimate-form-builder-lite/">Ultimate Form Builder</a>, <a href="https://wordpress.org/plugins/caldera-forms/">Caldera Forms</a> and <a href="https://wordpress.org/plugins/wpforms-lite/">WP Forms</a>.
* Version: 1.1.1
* Requires at least: 3.8
* Tested up to: 5.4
* Author URI: https://www.crmperks.com
* Plugin URI: https://www.crmperks
@paulschreiber
paulschreiber / general-template.php
Last active May 25, 2020 23:03
WP general-template.php with malware
<?php
/**
* General template tags that can go anywhere in a template.
*
* @package WordPress
* @subpackage Template
*/
/**
* Load header template.
<?php
/*
Plugin Name: VIP Jetpack Sync Cron
Description: This drop-in plugin ensures that Jetpack only syncs on a dedicated cron task and schedules a single cron event upon a whitelist execution with a delay of 30s.
Version: 1.0
Author: Rebecca Hum, Automattic
*/
class VIP_Jetpack_Cron_Sync {
@paulschreiber
paulschreiber / gist:a98c91abf3ae4ab9232e
Created January 22, 2015 16:37
strace puppet (vip quickstart)
vagrant@vip:~$ sudo strace -p 2335
Process 2335 attached - interrupt to quit
stat64("/usr/local/lib/site_ruby/1.8/puppet.rb", 0xbfaf1740) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/site_ruby/1.8/puppet.so", 0xbfaf1740) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/site_ruby/1.8/i686-linux/puppet.rb", 0xbfaf1740) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/site_ruby/1.8/i686-linux/puppet.so", 0xbfaf1740) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/site_ruby/1.8/i486-linux/puppet.rb", 0xbfaf1740) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/site_ruby/1.8/i486-linux/puppet.so", 0xbfaf1740) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/site_ruby/puppet.rb", 0xbfaf1740) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/site_ruby/puppet.so", 0xbfaf1740) = -1 ENOENT (No such file or directory)
@paulschreiber
paulschreiber / vvv-2.1.log
Created November 2, 2017 19:37
VVV 2.1-develop provisioning log
==> default: Network connection detected...
==> default: Bash profile setup and directories.
==> default: sending incremental file list
==> default: db_backup
==> default: db_restore
==> default: makepot
==> default: vagrant_destroy
==> default: vagrant_halt
==> default: vagrant_suspend
==> default: vagrant_up
@paulschreiber
paulschreiber / noflash.md
Last active June 28, 2016 03:55
Disabling Flash in your web browser

For Chrome

  • Chrome > Preferences
  • Click “show advanced settings”
  • Under Privacy, click “Content Settings”
  • Under Plugins, click “Let me choose when to run plugin content”

For Safari

  • Safari > Preferences
  • Click Security
  • Click “Plug-in Settings”
@paulschreiber
paulschreiber / slack.txt
Created April 11, 2016 15:15
Slack sample
Sampling process 51673 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Slack (pid 51673) every 1 millisecond
Process: Slack [51673]
Path: /Applications/Slack.app/Contents/MacOS/Slack
Load Address: 0x1039c4000
Identifier: com.tinyspeck.slackmacgap
Version: 2.0.1 (3305)
Code Type: X86-64
Parent Process: ??? [1]