Skip to content

Instantly share code, notes, and snippets.

# Boxstarter options
$Boxstarter.RebootOk=$false # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
BloggingTribe.Com
Mautic Cronjob Codes - Last Updated Feb 8, 2018
_____________________________________________________
Disclaimer: This code is not the official documentation from Mautic.org, not is it indorced by Mautic.org. Please use at your own discretion.
Usage:
Step 1: Replace "*" with your directory path to your Mautic Installation
Step 2: create folder inside your Mautic installation called "cron_logs"
Step 3: Copy the code into your Cron Jobs manager.
@woakes070048
woakes070048 / markdown-import.php
Created April 3, 2020 01:39 — forked from vlucas/markdown-import.php
Imports Markdown files in a local directory into a WordPress installation
<?php
// Turn on all error reporting so we can see if anything goes wrong
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(-1);
// Relative path to your wp-config.php file (to connect to the database)
require '../wp-config.php';
require './frontmatter.php'; // Parses YAML frontmatter - https://github.com/Modularr/YAML-FrontMatter
require './Parsedown.php'; // Markdown parser - https://github.com/erusev/parsedown
https://www.getrealmaine.com/farms/2-Brook-Farm-LLC
https://www.getrealmaine.com/farms/47-Daisies
https://www.getrealmaine.com/farms/A-Wrinkle-in-Thyme-Farm
https://www.getrealmaine.com/farms/Abundant-Acres-Farm
https://www.getrealmaine.com/farms/AgMatters
https://www.getrealmaine.com/farms/Albee-Farming
https://www.getrealmaine.com/farms/Alexanders-Wild-Maine-Blueberries
https://www.getrealmaine.com/farms/Alpaca-Fields-Inc
https://www.getrealmaine.com/farms/Apple-Creek-Farm-LLC
https://www.getrealmaine.com/farms/Apple-Ridge-Farm-and-Sugar-Shack
-----BEGIN CERTIFICATE-----
MIIDSjCCAjKgAwIBAgIQRK+wgNajJ7qJMDmGLvhAazANBgkqhkiG9w0BAQUFADA/
MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT
DkRTVCBSb290IENBIFgzMB4XDTAwMDkzMDIxMTIxOVoXDTIxMDkzMDE0MDExNVow
PzEkMCIGA1UEChMbRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QgQ28uMRcwFQYDVQQD
Ew5EU1QgUm9vdCBDQSBYMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
AN+v6ZdQCINXtMxiZfaQguzH0yxrMMpb7NnDfcdAwRgUi+DoM3ZJKuM/IUmTrE4O
rz5Iy2Xu/NMhD2XSKtkyj4zl93ewEnu1lcCJo6m67XMuegwGMoOifooUMM0RoOEq
OLl5CjH9UL2AZd+3UWODyOKIYepLYYHsUmu5ouJLGiifSKOeDNoJjj4XLh7dIN9b
xiqKqy69cK3FCxolkHRyxXtqqzTWMIn/5WgTe1QLyNau7Fqckh49ZLOMxt+/yUFw
https://www.augustamaine.com/index.php/cb-profile/905-belgrade-boat-shop
https://www.augustamaine.com/index.php/cb-profile/1161-belgrademarinestorage
https://www.augustamaine.com/index.php/cb-profile/963-clark-marine
https://www.augustamaine.com/index.php/cb-profile/881-augusta-careercenter
https://www.augustamaine.com/index.php/cb-profile/919-bonney-staffing-center
https://www.augustamaine.com/index.php/cb-profile/941-cass
https://www.augustamaine.com/index.php/cb-profile/1326-maine-job-trust
https://www.augustamaine.com/index.php/cb-profile/1335-maine-staffing-group
https://www.augustamaine.com/index.php/cb-profile/1345-manpower
https://www.augustamaine.com/index.php/cb-profile/tristatestaffing
https://www.maine.gov/dhhs/ocfs/cbhs/provider-list/providers-reg1-hct.html
https://www.maine.gov/dhhs/ocfs/cbhs/provider-list/provider-reg1-fft.html
https://www.maine.gov/dhhs/ocfs/cbhs/provider-list/provider-reg1-mst.html
https://www.maine.gov/dhhs/ocfs/cbhs/services/act/district1-2.shtml
https://www.maine.gov/dhhs/ocfs/cbhs/provider-list/providers-reg1-sec28.html
https://www.maine.gov/dhhs/ocfs/cbhs/provider-list/providers-reg1-sec28-spec.html
https://www.maine.gov/dhhs/ocfs/cbhs/services/med-list/districts12.html
https://www.maine.gov/dhhs/ocfs/cbhs/provider-list/providers-reg1-mh-cm.html
https://www.maine.gov/dhhs/ocfs/cbhs/provider-list/providers-reg1-mr-cm.html
https://www.maine.gov/dhhs/ocfs/cbhs/services/outpatient/district12.html
@woakes070048
woakes070048 / .htaccess
Created June 5, 2018 01:38 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
# Boxstarter options
$Boxstarter.RebootOk=$false # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
[environment:default]
OVEHOSTED_STORAGE/storageDomainConnection=str:host1:/engine
OVEHOSTED_STORAGE/mntOptions=str:backup-volfile-servers=host2:host3