🤹♂️
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name basecamp-show-tweet-cards | |
// @description Show cards in embedded tweets so you can see the images etc that your friends are sharing | |
// @author Samuel Cochran <[email protected]> | |
// @license MIT | |
// @version 1 | |
// @match https://bc3-production-assets-cdn.basecamp-static.com/*/embeds/*/chat | |
// @run-at document-end | |
// @homepage https://gist.github.com/sj26/d550954a0387b717907af9a335f6ce15 | |
// @updateURL https://gist.github.com/sj26/d550954a0387b717907af9a335f6ce15/raw/56b1e3e3c8c43444fc78e0f34fb3d409f18e79fe/basecamp-show-tweet-cards.user.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name basecamp-more-hotkeys | |
// @description Some more hotkeys for Basecamp keyboard warriors | |
// @author Samuel Cochran <[email protected]> | |
// @license MIT | |
// @version 1.2 | |
// @match https://3.basecamp.com/* | |
// @homepage https://gist.github.com/sj26/06856f09522171e995577fe7c2e6efea | |
// @updateURL https://gist.github.com/sj26/06856f09522171e995577fe7c2e6efea/raw/a4013f6171d2ce42522fb142c3b7968ce5f033e6/basecamp-more-hotkeys.user.js | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# syntax = docker/dockerfile:experimental | |
FROM ruby:2.6.5 AS base | |
ADD https://www.postgresql.org/media/keys/ACCC4CF8.asc /etc/apt/trusted.gpg.d/pgdg.asc | |
ADD https://deb.nodesource.com/gpgkey/nodesource.gpg.key /etc/apt/trusted.gpg.d/nodesource.asc | |
ADD https://dl.yarnpkg.com/debian/pubkey.gpg /etc/apt/trusted.gpg.d/yarn.asc | |
RUN --mount=type=cache,target=/var/cache/apt \ | |
--mount=type=cache,target=/var/lib/apt \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- command: echo release stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.css | |
!*.user.css | |
/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>Label</key> | |
<string>com.sj26.TerminalAppearanceThemeChanger</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<true/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I don't know how to inject this on load yet, but pasting this in a console makes the Fastmail theme change between light and dark when macOS is toggled between light and dark. | |
window.matchMedia("(prefers-color-scheme: dark)").addListener(function(query) { | |
var theme = query.matches ? "dark" : "minimal"; | |
FastMail.theme.set("theme", theme); | |
FastMail.userPrefs.set("theme", theme); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
echo "running script" | |
buildkite-agent pipeline upload <<YAML | |
- trigger: triggered-with-metadata | |
label: ":rocket:" | |
branches: "master" | |
async: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "76365070-34d5-4104-8b91-952780f8029f", | |
"job_id": "aae578fe-994c-44e6-84da-4102616928ba", | |
"url": "https://api.buildkite.com/v2/organizations/my-great-org/pipelines/my-pipeline/builds/1/jobs/aae578fe-994c-44e6-84da-4102616928ba/artifacts/76365070-34d5-4104-8b91-952780f8029f", | |
"download_url": "https://api.buildkite.com/v2/organizations/my-great-org/pipelines/my-pipeline/builds/1/jobs/aae578fe-994c-44e6-84da-4102616928ba/artifacts/76365070-34d5-4104-8b91-952780f8029f/download", | |
"state": "finished", | |
"path": "dist/app.tar.gz", | |
"dirname": "dist", | |
"filename": "app.tar.gz", | |
"mime_type": "application/x-gzip", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "76365070-34d5-4104-8b91-952780f8029f", | |
"job_id": "aae578fe-994c-44e6-84da-4102616928ba", | |
"url": "https://api.buildkite.com/v2/organizations/my-great-org/pipelines/my-pipeline/builds/1/jobs/aae578fe-994c-44e6-84da-4102616928ba/artifacts/76365070-34d5-4104-8b91-952780f8029f", | |
"download_url": "https://api.buildkite.com/v2/organizations/my-great-org/pipelines/my-pipeline/builds/1/jobs/aae578fe-994c-44e6-84da-4102616928ba/artifacts/76365070-34d5-4104-8b91-952780f8029f/download", | |
"state": "finished", | |
"path": "dist/app.tar.gz", | |
"dirname": "dist", | |
"filename": "app.tar.gz", | |
"mime_type": "application/x-gzip", |