Skip to content

Instantly share code, notes, and snippets.

View homotechsual's full-sized avatar

Mikey O'Toole homotechsual

View GitHub Profile
@homotechsual
homotechsual / civicrm_state_province-v5.5.3.sql
Created October 3, 2018 10:11
CiviCRM State/Province Table
-- phpMyAdmin SQL Dump
-- version 4.7.7
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Oct 03, 2018 at 11:09 AM
-- Server version: 10.2.17-MariaDB
-- PHP Version: 5.6.30
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
@homotechsual
homotechsual / download.sh
Created October 29, 2018 17:58
download.sh
#!/bin/bash
## download.sh -- Download Drupal and CiviCRM
###############################################################################
[ -z "$CMS_VERSION" ] && CMS_VERSION=7.x
[ -z "$VOL_VERSION" ] && VOL_VERSION='master'
[ -z "$NG_PRFL_VERSION" ] && NG_PRFL_VERSION='master'
[ -z "$RULES_VERSION" ] && RULES_VERSION='master'

Hi _____,

Thanks for getting in touch, it’s nice to talk with CiviCRM developers around the world. I hope this effort brings good results for you!

I enjoy contributing to community support through public channels available - Github, CiviCRM chat, Stack Exchange and other similar avenues.

If I am providing support, I want to know it's available to the community. In contrast, to preserve focus I make a distinction between these public forums and direct personal communication. Essentially it’s this: my email (and other private comms) is for personal discussions, and paid work.

By asking a question in the CiviCRM community channel, you’ll be demonstrating an ability to participate in the wider CiviCRM community, and to ask for help when needed. Please try to use the existing community resources for these requests.

@homotechsual
homotechsual / composer.json
Last active October 25, 2019 16:16
composer.json w/civicrm entity
"name": "cheeky-monkey-media/drupal-project",
"description": "Project template for Drupal 8 projects with composer, with cheeky helpers.",
"type": "project",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "",
"role": ""
}
],
@homotechsual
homotechsual / NinjaOne.oa3.json
Created July 12, 2022 20:46
NinjaOne API Spec
This file has been truncated, but you can view the full file.
{
"openapi": "3.0.1",
"info": {
"title": "Ninja RMM Public API 2.0",
"description": "Ninja RMM Public API documentation. <br /><br />\nSee also: <br /> \n<a href=\"https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf\">Device Filter syntax</a><br />\n<a href=\"https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Webhooks.pdf\">Webhooks</a>",
"contact": { "email": "api@ninjarmm.com" },
"version": "2.0.9-draft"
},
"servers": [
{
@homotechsual
homotechsual / docusaurus.config.js
Created July 12, 2022 20:47
Homotechsual Docs docusaurus.config.js
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const lightCodeTheme = require('prism-react-renderer/themes/vsLight');
const darkCodeTheme = require('prism-react-renderer/themes/vsDark');
const TwitterSvg = '<svg style="fill: #1DA1F2; vertical-align: middle; margin-left: 3px;" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76
@homotechsual
homotechsual / generate-docusaurus-sidebar.js
Created August 31, 2022 18:15 — forked from marcojahn/generate-docusaurus-sidebar.js
Generate docusaurus sidebar from folder structure
//
// Generates a sidebar based on file structure and
// markdown frontmatter properties.
//
// ---
// title: My Cool Feature
// sidebar_label: Introduction
// ---
//
// sidebar_sort_order: the sort order of this page in the sidebar
@homotechsual
homotechsual / NinjaOne.oa3.json
Last active September 16, 2022 09:26
NinjaOne OpenAPI Spec Updated
This file has been truncated, but you can view the full file.
{
"openapi": "3.0.1",
"info": {
"title": "Ninja RMM Public API 2.0",
"description": "Ninja RMM Public API documentation.",
"contact": { "email": "api@ninjarmm.com" },
"version": "2.0.9-draft"
},
"servers": [
{
Admins are intermittently unable to deploy Windows Autopilot devices
IT431147, Last updated: September 26, 2022 5:49 PM
Estimated start time: September 15, 2022 4:53 PM
Affected services
Microsoft Intune
Issue type
Advisory
Issue origin
Microsoft
Status
<#
.SYNOPSIS
Based on the PowerShell Script Analyzer (PSSA) presets.
.LINK
https://github.com/PowerShell/PSScriptAnalyzer/blob/master/Engine/Settings/
#>
@{
Severity = @(
'Error',
'Warning',