Skip to content

Instantly share code, notes, and snippets.

@pccasto
pccasto / jekyll-webrick_no_cache_control.rb
Last active August 11, 2020 04:02
Plugin to set Jekyll/WEBrick to not send Cache-Control header field
# frozen_string_literal: true
# use this with a jekyll site during developement while using `netlify dev` for local testing.
# tested with Jekyll 4.1.1
# plugin needed until this pull request is merged: https://github.com/jekyll/jekyll/pull/8331
#
# this disables Cache-Control header from WEBrick, so that netlify Cache-Control can be set.
# add this file in the site's top-level/_plugins directory.
#
@pccasto
pccasto / LinkedInRecentPlease.user.js
Last active January 20, 2023 23:56
tampermonkey script to force LinkedIn feed to 'Recent', rather than 'Top'
// ==UserScript==
// @name LinkedIn Recent Feed
// @namespace http://tampermonkey.net/
// @version 0.4
// @description I always want my LinkedIn feed in chronological order!
// @downloadURL https://gist.github.com/pccasto/708b097ecbf1b9b8e22c30e450df804e/raw/ae930ab765918d7d0d74622e4176b300f2b85e12/LinkedInRecentPlease.user.js
// @author pcasto
// @include https://linkedin.com/*
// @include https://www.linkedin.com/*
// @exclude https://www.linkedin.com/tscp-serving/*