Skip to content

Instantly share code, notes, and snippets.

View skoskie's full-sized avatar

Shelton Koskie skoskie

View GitHub Profile
@skoskie
skoskie / threaded.plist
Created December 2, 2021 18:52 — forked from maxandersen/threaded.plist
Threaded view for recent versions of mailmate. Put this in `~/Library/Application Support/MailMate/Resources/Layouts/Mailboxes/threaded.plist` and enable it via `View > Layout > Threaded`
{
name = "Threaded";
rootViewer =
{
viewerType = "MmSplitView";
orientation = "horizontal";
children =
(
{
viewerType = "MmBoxView";
@skoskie
skoskie / Bookmarklet.js
Last active April 17, 2020 17:45 — forked from timwright12/Bookmarklet.js
Bookmarklet to share links in WordPress
/*
* Bookmarklet is an external script for sharing content Via wordpress
* It was specifically designed for csskarma.com, but feel free to nab it.
*
* Bookmarklet content ( NOTE: change the URL path ):
*
* javascript:(function ()%7Bvar jsCode %3D document.createElement(%27script%27)%3BjsCode.setAttribute(%27src%27, %27https://csskarma.com/js/bookmarklet.js%27)%3Bdocument.body.appendChild(jsCode)%3B %7D())%3B
*
*/
@skoskie
skoskie / wp.sh
Created April 4, 2020 18:18 — forked from bgallagh3r/wp.sh
Wordpress: Bash Install Script -- Downloads latest WP version, updates wp-config with user supplied DB name, username and password, creates and CHMOD's uploads dir, copies all the files into the root dir you run the script from, then deletes itself!
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Database Name: "
read -e dbname
echo "Database User: "
read -e dbuser
echo "Database Password: "
@skoskie
skoskie / rclone.conf
Created March 10, 2020 15:53 — forked from werrpy/rclone.conf
rclone Unlimited Cloud Storage Script (Google Drive)
[media-local-secret]
type = crypt
remote = secret/media
filename_encryption = standard
password =
password2 =
[media-remote-secret]
type = crypt
remote = gdrive:path/to/media
Snippet: [[SnippetName]]
Chunk: [[$ChunkName]]
System Setting: [[++SettingName]]
TV: [[*fieldName/TvName]]
Link tag: [[~PageId? &paramName=`value`]]
Placeholder: [[+PlaceholderName]]
<?php