I'll be collecting the more obscure or less often used but useful git commands and GitHub workflows here.
Notice: Might just be obsolete what with this site: http://ricardofilipe.com/projects/firstaidgit/#/
I'll be collecting the more obscure or less often used but useful git commands and GitHub workflows here.
Notice: Might just be obsolete what with this site: http://ricardofilipe.com/projects/firstaidgit/#/
| // ==UserScript== | |
| // @id greasemonkey-1b827958-e057-4e8c-83b6-eed2a66af1f5-hangout-maximizer | |
| // @name Hangout Maximizer | |
| // @version 0.1 | |
| // @namespace https://plus.google.com/hangouts/* | |
| // @author Sayantan Chaudhuri | |
| // @description This script implements a shortcut (ctrl+shift+f by default) that maximizes the central area of the Google Hangout web-app. Hangouts has no useful full-screen option to speak of, which is especially a problem while using apps like Screenshare or Roll20. This script simply hides every element other than the central area to maximize videos or apps being used. Doing so also hides the user pictures/videos, but that is expected behavior. The class-based selectors used in this script have been last checked to work on 2014/01/02. | |
| // @include https://plus.google.com/hangouts/* | |
| // @run-at document-end | |
| // ==/UserScript== |
| @namespace url(http://www.w3.org/1999/xhtml); | |
| @-moz-document domain("www.rememberthemilk.com") { | |
| /*content font size*/ | |
| #midcontent { | |
| font-size:1.1em !important; | |
| } | |
| /*width*/ |
| ; launches KOFXIII | |
| Run, .\kofxiii.exe | |
| Sleep 1000 | |
| ; repeatedly checks if KOFXIII has quit | |
| SetTimer, close, 1000 | |
| ; remaps keys |
| javascript:(function(){document.getElementsByTagName('head')[0].innerHTML+='<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">';document.getElementsByTagName('head')[0].innerHTML+='<style text="text/css"> #promo { display: none; } .stack, .layer_1, .layer_2, .layer_3 { top: 0; bottom: 0; left: 0; right: 0; } .layer_1, .layer_2, .layer_3 { top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; } #contents { font-size: 0.8em; } #controls { height: 20px; bottom: 0px; font-size: 0.6em; } </style>'})(); |
| AppsKey:: | |
| Send {RButton Down} | |
| Return | |
| AppsKey Up:: | |
| Send {RButton Up} | |
| Return | |
| CapsLock:: | |
| Send {RButton Down} |
| // ==UserScript== | |
| // @name Google+ I/O 2013 Theme Single Column Layout Widener [Configurable] | |
| // @namespace http://5310.github.io/ | |
| // @version 0.1 | |
| // @description While the I/O 2013 makeover for G+ has been rather pretty, on the desktop, the multicolumn layout is illegible, and the single column is too narrow. This script contains styles to widen the single column layout, as well as tries to enhance any featured post images to the larger size if possible. | |
| // @match https://plus.google.com/* | |
| // @copyright WTFPL | |
| // @run-at document-start | |
| // ==/UserScript== | |
| @-moz-document url-prefix("https://plus.google.com"), domain("plus.google.com") { | |
| /* Post Channel*/ | |
| .Dla.Ebb.nqa { | |
| width: 1000px !important; | |
| } | |
| .noa.Kv.Tc.Nl { | |
| width: 100% !important | |
| } |
| RESET | |
| ;; print integer as ascii ;; | |
| ;; put value on o0 ;; | |
| ;; needs o1~2 zeroed ;; | |
| ;; leaves o1~2 zeroed ;; | |
| >>++++++++[<++++++>-]<<[>>+<<-]>>[<<+ >+>-]<.[-]< | |
| RESET |
| :: H.264 | |
| ffmpeg -i "%1" -b:v 1M -vcodec libx264 -pix_fmt yuv420p "%~dpn1.mp4" -y | |
| :: WebM | |
| ffmpeg -i "%1" -b 1M -f webm "%~dpn1.webm" -y |