Skip to content

Instantly share code, notes, and snippets.

2021/01/08 12:26:03.820 (462 MB) (2749385) 🔧 PMKNetworkTask.m:197 | Started: 29450: Plex (4c022a78daec5c2e43576c1d43f439474025fe9e): GET /hubs/sections/2?count=50&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1
2021/01/08 12:26:03.820 (473 MB) (2749387) 🔧 PMKNetworkTask.m:197 | Started: 29452: Plex (4c022a78daec5c2e43576c1d43f439474025fe9e): GET /hubs/sections/1?count=50&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1
2021/01/08 12:26:03.820 (473 MB) (2749318) 🔧 PMKNetworkTask.m:197 | Started: 29451: Plex (4c022a78daec5c2e43576c1d43f439474025fe9e): GET /hubs/sections/2?count=50&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExtern
@markphilpot
markphilpot / custom.css
Last active August 29, 2018 03:55
Mastodon CSS Customization
.reply-indicator__content p, .status__content p {
font-size: 13px;
}
.column-link {
font-size: 14px !important;
}
.display-name {
font-size: 13px;
@markphilpot
markphilpot / original.txt
Last active November 9, 2017 04:28
prettier markdown for pelican
Title:
Category: micro
Date: 2017-11-08T19:29:13
Slug: 2017-11-08T19:29:13
TwitterId: 928343670180294656
TweetUrl: https://twitter.com/mark_philpot/status/928343670180294656
ReTweetUser:
[@chrisbiscardi](https://twitter.com/chrisbiscardi) And you've pushed me to change the code blocks on my own blog to use Solarized Dark instead of Light. =)
@markphilpot
markphilpot / example.js
Created October 16, 2017 19:53
Example using Compent as Selector
// In this example, we have a box with subcomponents BoxInner and Prompt. Both are `styled.div`
// In line 5, we are customizing the apperance of BoxInner w/o moving those features in to props
// In line 10, we are applying the hover state to nested elements when the parent is hovered.
const Box = styled.div`
border: 1px dashed #ccc;
${BoxInner} {
filter: opacity(50%) grayscale(50%);
}
&:hover {
border-color: blue;

Keybase proof

I hereby claim:

  • I am markphilpot on github.
  • I am mphilpot (https://keybase.io/mphilpot) on keybase.
  • I have a public key whose fingerprint is 240D 3F99 210E 594A 9A4B C051 A885 571E 8D81 7EE7

To claim this, I am signing this object:

@markphilpot
markphilpot / ssh_tunnel.sh
Last active April 6, 2017 19:24
ssh tunnel
ssh -vv -N -o ExitOnForwardFailure=yes -L $LOCAL_PORT:$DEST_HOST:$DEST_PORT $VIA_HOST
@markphilpot
markphilpot / ssh_detect_ssl.sh
Last active April 6, 2017 19:25
detect ssl support on a server
openssl s_client -connect localhost:443 -ssl2
openssl s_client -connect localhost:443 -ssl3
@markphilpot
markphilpot / remove_empty_commits.sh
Last active February 13, 2022 16:26
git :: remove empty commits
git filter-branch --commit-filter 'git_commit_non_empty_tree "$@"' -f HEAD
rm -rf .git/refs/original/ && git reflog expire --all && git gc --aggressive --prune
@markphilpot
markphilpot / git-remove-history.sh
Created May 30, 2012 15:54
git remove history
#!/bin/bash
set -o errexit
# Author: David Underhill
# Script to permanently delete files/folders from your git repository. To use
# it, cd to your repository's root and then run the script with a list of paths
# you want to delete, e.g., git-delete-history path1 path2
if [ $# -eq 0 ]; then
exit 0