Skip to content

Instantly share code, notes, and snippets.

View mcnees's full-sized avatar

Robert McNees mcnees

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mcnees on github.
  • I am mcnees (https://keybase.io/mcnees) on keybase.
  • I have a public key whose fingerprint is 76E9 39F2 42FC 4D13 68A7 8497 5D44 F257 E50E 66BA

To claim this, I am signing this object:

@mcnees
mcnees / Deprecated Favmoji.css for Twitter
Last active March 30, 2017 21:47
Install Stylish for your browser, then add this code as a new style that applies to the domain twitter.com. It let's you replace your fav button and notification stream icons with the emojis of your choice, and replaces "Likes" with "Favorites" on your profile page. You can also change the "Block" option under a user's drop-down menu to "Drop In…
/* Install the Stylish extension for your browser, then add this code
as a new Style. Make sure it applies to the domain 'twitter.com' */
/* You can get Stylish here: */
/* Safari - http://sobolev.us/stylish/ */
/* Chrome - https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe */
/* Tweet improvements, comments, or corrections to @mcnees. */
/* Thanks to: @pbausch, @mathowie, @blakestacey, @ukuleledan and others! */
@mcnees
mcnees / Favmoji.css for Tweetdeck
Last active February 21, 2017 02:41
Favmoji.css for Tweetdeck in the Browser
/* Install the Stylish extension for your browser, then add this code as a new Style. */
/* Make sure it applies to the domain 'http://tweetdeck.twitter.com ' */
/* Thank you to @ukuleledan. His code at http://pastebin.com/45cFJ5PR */
/* showed me how to fix the corner badges of faved tweets. */
/* For whatever reason, you occasionally have to reload the page */
/* for Tweetdeck to notice these changes. */
/* Tweet bugs or neat additions to @mcnees */
@mcnees
mcnees / BlockHole.css
Last active February 6, 2016 20:03
Change "Block" to "Drop Into Black Hole" in a Twitter account's dropdown action menu.
/* Install the Stylish extension for your browser, add this code
as a new Style, and apply it to the domain 'twitter.com' */
/* You can get Stylish here: */
/* Safari - http://sobolev.us/stylish/ */
/* Chrome - https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe */
/* Tweet improvements, comments, or corrections to @mcnees. */
/* ------------------------------------------------------------- */
@mcnees
mcnees / SimpleFavmoji.css
Created January 7, 2016 03:18
A simple version of Favmoji.css that just replaces the heart animation with an emoji.
/* Install the Stylish extension for your browser, then add this code
as a new Style. Make sure it applies to the domain 'twitter.com' */
/* You can get Stylish here: */
/* Safari - http://sobolev.us/stylish/ */
/* Chrome - https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe */
/* Tweet improvements, comments, or corrections to @mcnees. */
/* Thanks to: @pbausch, @mathowie, @blakestacey, @ukuleledan and others! */
@mcnees
mcnees / graph paper.tex
Last active February 16, 2024 08:34
Make your own quadrille, graph, hex, etc paper! Uses the pgf/TikZ package for LaTeX, which should be part of any modern TeX installation.
%%-----------------------------------------------------------------------
%% Make your own quadrille, graph, hex, etc paper!
%% Uses the pgf/TikZ package for LaTeX, which should be part of
%% any modern TeX installation.
%% Email: [email protected]
%% Twitter: @mcnees
%%-----------------------------------------------------------------------
\documentclass[11pt]{article}
@mcnees
mcnees / GaussianSurfaces.tex
Created October 18, 2016 02:35
Gaussian Surfaces with PGF/TikZ
%
% Send comments to [email protected], or @mcnees on Twitter.
%
\documentclass[11pt]{article}
% ------------------------------------------------
% Specify the margins.
% ------------------------------------------------
\usepackage{vmargin}
\setmargrb{2cm}{1cm}{2cm}{2cm}
@mcnees
mcnees / UAO.tex
Created October 18, 2016 14:13
Spacetime diagrams for uniformly accelerated observers in LaTeX, using PGF/TikZ
%----------------------------------------------------------------------
% Use TikZ/PGF to programmatically draw spacetime diagrams for
% uniformly accelerated observers. Set the acceleration, initial
% conditions, and other paramters below.
%
% Questions/Comments to Robert McNees at [email protected]
% http://jacobi.luc.edu
% @mcnees on Twitter
% January 2015, Updated October 2016
%----------------------------------------------------------------------
@mcnees
mcnees / Favmoji.css for Twitter
Last active May 11, 2017 14:09
Hack twitter's CSS
/* Install the Stylish extension for your browser, then add this code
as a new Style. Make sure it applies to the domain 'twitter.com' */
/* You can get Stylish here: */
/* Safari - http://sobolev.us/stylish/ */
/* Chrome - https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe */
/* Tweet improvements, comments, or corrections to @mcnees. */
/* Thanks to: @pbausch, @mathowie, @blakestacey, @ukuleledan and others! */
@mcnees
mcnees / Example1.tex
Created September 3, 2017 01:17
Shrinking sphere in LaTeX with PGF/TikZ
\documentclass[crop=true, border=10pt]{standalone}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usepackage{tikz-3dplot}