Skip to content

Instantly share code, notes, and snippets.

Max Fenton maxfenton

Block or report user

Report or block maxfenton

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@maxfenton
maxfenton / comixology.txt
Last active Mar 24, 2019
comixology purchases
View comixology.txt
Astro City (1996-2000)
Bitch Planet #1
Bitch Planet #2
Bitch Planet #3
Bitch Planet #4
Bitch Planet #5
Bitch Planet #6
Bitch Planet #7
Bitch Planet #8
Bitch Planet #9
@maxfenton
maxfenton / routing.config.php
Created Apr 16, 2016
coordinate.systems custom kirby routing
View routing.config.php
<?php
/*
---------------------------------------
Custom Routes
---------------------------------------
*/
@maxfenton
maxfenton / set-project-perms.sh
Created Mar 28, 2016 — forked from khalwat/set-project-perms.sh
Properly set permissions for a Craft CMS install, including ensuring that files are all g-x. Set CHOWN_USER, CHOWN_GROUP, and BASE_DIR to whatever is appropriate, add directories that need to be writeable by the web server to DIRS[], then execute: ./set-project-perms.sh PROJECT_NAME
View set-project-perms.sh
#!/bin/bash
# Execute via: ./set-project-perms.sh PROJECT_NAME
# The paradigm is the entire project dir is owned by $CHOWN_USER with the group set to $CHOWN_GROUP
# $CHOWN_USER is an admin or user account that is used to edit files/templates, etc.
# $CHOWN_GROUP is the group of the webserver (e.g.: 'apache', 'nginx', 'httpd', etc.)
# The project dir permissions are set to 755 (-rwxr-xr-x) for directories and to 644 (-rw-r--r--) for files
# The permissions to $DIRS[] that need to be writeable are set to 775 (-rwxrwxr-x) for directories and
# 664 (-rw-rw-r--) for files. Add any assets directories, etc. as necessary.
# Change $BASE_DIR to the absolute path where your websites are stored (leaving it appended with '/$1')
@maxfenton
maxfenton / books.md
Last active Sep 14, 2019
Books I finished reading
View books.md

Books I finished reading in 2019.

  • Paper Girls (Vol 1–5) - Brian K. Vaughn, Cliff Chiang
  • The Sandman Overture - Neil Gaiman, J.H. Williams III, and Dave Stewart
  • Mister Miracle - Tom King, Mitch Gerads
  • Life in Code - Ellen Ullman
  • Mister Miracle - Tom King, Mitch Gerads
  • All-Star Superman - Grant Morrison, Frank Quiteley
  • Ice Cream Man (Vol 1–2) - W. Maxwell Prince, Martin Morazzo
  • Mister Miracle - Tom King, Mitch Gerads
@maxfenton
maxfenton / add_custom_column_to_edit_tag.php
Last active May 23, 2017 — forked from simongcc/add_custom_column_to_edit_tag.php
Adding custom column displaying in Wordpress Manage Category/Custom Taxonomy editing page
View add_custom_column_to_edit_tag.php
/*
Purpose: add custom column header and custom column content to respective custom header in Manage Category Editing Page
Version Tested: 3.8
Story:
Because I found no explanation nor documents in Wordpress.org, I tried to trace the code in wp-admin folder
after understanding the operation of apply_filter(), add_action() and add_filter()
Logic:
The table list in edit_tag.php is based on
View 20150719.txt
Battery Power:
lidwake 1
autopoweroff 1
autopoweroffdelay 14400
standbydelay 900
standby 1
ttyskeepawake 1
hibernatemode 25
darkwakes 0
hibernatefile /var/vm/sleepimage
@maxfenton
maxfenton / instructions.md
Last active Aug 29, 2015 — forked from tealtan/instructions.md
Custom CSS for twitter-in-a-browser.
View instructions.md

Custom Twitter Stylesheet

Craig Mod does a bigger overhaul with Twitter for Minimalists, but this will only do the following:

  • Hides promoted tweets and trends
  • Hides the useless “Expand” link that appears under every tweet
  • Tones down the blue conversation line to a barely-visible gray
  • Hides all numbers

You can add this CSS in Safari with this extension. The URL to target is twitter.com/*.

@maxfenton
maxfenton / REF - Wordpress development VVV setup.md
Last active Aug 29, 2015
VVV Wordpress development setup
View REF - Wordpress development VVV setup.md
cd ~/Sites

git clone git://github.com/Varying-Vagrant-Vagrants/VVV.git vagrant-local

vagrant plugin install vagrant-hostsupdater

vagrant plugin install vagrant-triggers

brew install bradp/vv/vv
View keybase.md

Keybase proof

I hereby claim:

  • I am maxfenton on github.
  • I am maxfenton (https://keybase.io/maxfenton) on keybase.
  • I have a public key whose fingerprint is 8E51 17E4 C42F 3DBD 1BAD 2561 9DE1 291B ED6A A787

To claim this, I am signing this object:

@maxfenton
maxfenton / macos_defaults.md
Last active Mar 18, 2019
Mac system defaults tricks
View macos_defaults.md

System stuff for a mac

What the defaults do and how to undo them

Dropshadows on screenshots

defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer
You can’t perform that action at this time.