Skip to content

Instantly share code, notes, and snippets.

View justsh's full-sized avatar

Justin Sheehy justsh

View GitHub Profile
@justsh
justsh / twitter_notifications_only.css
Last active August 29, 2015 14:07 — forked from cmod/twitter_notifications_only.css
Twitter Notifications
/*
Just the Notifications, please
==============================
1. Make a Fluid (http://fluidapp.com/) instance of https://twitter.com/i/notifications
2. Apply the below CSS as a Userstyles stylesheet
3. Enjoy just the conversation, not the timeline
Why?
@justsh
justsh / msys2-sshd-setup.sh
Last active January 23, 2017 22:29 — forked from samhocevar/gist:00eec26d9e9988d080ac
Configure sshd on MSYS2 and run it as a Windows service
#!/bin/sh
#
# msys2-sshd-setup.sh — configure sshd on MSYS2 and run it as a Windows service
#
# Please report issues and/or improvements to Sam Hocevar <sam@hocevar.net>
#
# Prerequisites:
# — MSYS2 itself: http://sourceforge.net/projects/msys2/
# — admin tools: pacman -S openssh cygrunsrv mingw-w64-x86_64-editrights
#
@justsh
justsh / add_to_statusbar.py
Created July 4, 2016 04:10 — forked from mottosso/add_to_statusbar.py
Add an action to the Maya "Status Bar"
import os
from PySide import QtGui
# Use this to locate your widget; it will return the
# widget currently under your cursor.
# parent = QtGui.qApp.widgetAt(QtGui.QCursor.pos())
# parent.objectName()
# Use this once you know the name of it, in this case "toolBar1"
# We can find it as a child of the main window.