Skip to content

Instantly share code, notes, and snippets.

View MayMeow's full-sized avatar
🌙
Moonlit Coding Session 🌌

May MayMeow

🌙
Moonlit Coding Session 🌌
View GitHub Profile
@MayMeow
MayMeow / .gitlab-ci.yml
Created May 25, 2016 17:42
Full Latex Image and Gitlab CI file to generate books with Mathgen.
image: latex-full:latest
variables:
GIT_SSL_NO_VERIFY: "true"
cache:
paths:
- vendor
pages:

Keybase proof

I hereby claim:

  • I am maymeow on github.
  • I am maymeow (https://keybase.io/maymeow) on keybase.
  • I have a public key ASAxIycd_OqFuSqd6MB_qNDMwedVIO3b94-yqla6NNm2vQo

To claim this, I am signing this object:

@MayMeow
MayMeow / mattermost.json
Created February 6, 2018 19:39
Rainglow's Warlock high contrast inspired mattermost theme
{"sidebarBg":"#221934","sidebarText":"#ffffff","sidebarUnreadText":"#ffffff","sidebarTextHoverBg":"#291e3e","sidebarTextActiveBorder":"#f46036","sidebarTextActiveColor":"#ffffff","sidebarHeaderBg":"#221934","sidebarHeaderTextColor":"#ffffff","onlineIndicator":"#f9ac97","awayIndicator":"#9eb7cd","dndIndicator":"#cf433e","mentionBj":"#5b85aa","mentionColor":"#5867dd","centerChannelBg":"#171123","centerChannelColor":"#ffffff","newMessageSeparator":"#9816f4","linkColor":"#9559c6","buttonBg":"#9559c6","buttonColor":"#ffffff","errorTextColor":"#f4516c","mentionHighlightBg":"#ffb822","mentionHighlightLink":"#ffffff","codeTheme":"monokai","mentionBg":"#5b85aa"}
@MayMeow
MayMeow / list.sh
Created April 11, 2018 12:54 — forked from rwjblue/list.sh
List account and distribution list details in Zimbra
sudo su - zimbra
# list all accounts and print out account name and aliases
for i in `zmprov -l gaa` ; do zmprov ga $i zimbraMailAlias ; done
# list all distribution lists and any members and/or aliases
for i in `zmprov gadl` ; do zmprov gdl $i zimbraMailAlias zimbraMailForwardingAddress ; done
<?php
namespace MayMeow\Cake\Bl\Service;
use Cake\Core\ObjectRegistry;
trait ServiceAvareTrait
{
protected $serviceLocator;
@MayMeow
MayMeow / keybase.md
Created April 2, 2019 07:33 — forked from webframp/keybase.md
Signing git commits on github using keybase.io gpg key

Probably one of the easiest things you'll ever do with gpg

Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH

First get the public key

keybase pgp export | gpg --import

Next get the private key

@MayMeow
MayMeow / CreateDefaultUser.php
Last active August 20, 2019 20:05
Creating default users and groups
<?php
use Migrations\AbstractMigration;
class CreateDefaultUser extends AbstractMigration
{
/**
* Change Method.
*
* More information on this method is available here:
* http://docs.phinx.org/en/latest/migrations.html#the-change-method
@MayMeow
MayMeow / ApplicationUser.php
Last active September 6, 2019 12:11
Users -> Profiles
<?php
namespace PostBox\Model\Entity;
use Identity\Model\Entity\User;
/**
* Class ApplicationUser
* @package PostBox\Model\Entity
*
@MayMeow
MayMeow / Dockerfile
Last active February 11, 2021 11:55
CakePHP PHP-FPM docker image with pgsql and redis
FROM php:fpm
MAINTAINER CakeHub <cakehub@cakehub.sk>
RUN requirements="libmcrypt-dev g++ libicu-dev libpq-dev libmcrypt4 libicu52 netcat" \
&& apt-get update && apt-get install -y $requirements \
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-install pdo pdo_pgsql \
&& docker-php-ext-install mcrypt \
&& docker-php-ext-install mbstring \
&& docker-php-ext-install intl \
@MayMeow
MayMeow / VPNConfigurationProfiles.mobileconfig
Created April 4, 2021 08:26 — forked from thomaswitt/VPNConfigurationProfiles.mobileconfig
An OnDemand VPN iOS profile for iPad and iPhone that automatically connects you to different VPNs (e.g. Meraki, FRITZ!Box and Streisand) | Blog-Entry: https://thomas-witt.com/auto-connect-your-ios-device-to-a-vpn-when-joining-an-unknown-wifi-d1df8100c4ba
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<!-- Home: Manual -->
<dict>
<key>UserDefinedName</key>