Commands to get commit statistics for a Git repository from the command line -
using git log
, git shortlog
and friends.
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
SC1000 $ is not used specially and should therefore be escaped. | |
SC1001 This \o will be a regular ‘o’ in this context. | |
SC1003 Want to escape a single quote? echo ‘This is how it’\‘’s done’. | |
SC1004 This backslash+linefeed is literal. Break outside single quotes if you just want to break the line. | |
SC1007 Remove space after = if trying to assign a value (or for empty string, use var=’’ … ). | |
SC1008 This shebang was unrecognized. ShellCheck only supports sh/bash/dash/ksh. Add a ‘shell’ directive to specify. | |
SC1009 The mentioned parser error was in … | |
SC1010 Use semicolon or linefeed before ‘done’ (or quote to make it literal). | |
SC1011 This apostrophe terminated the single quoted string! | |
SC1012 \t is just literal t here. For tab, use "$(printf '\t')" instead. |
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
#import <UIKit/UIKit.h> | |
#import <objc/runtime.h> | |
// Hook with ObjC runtime functions | |
%config(generator=internal) | |
// New methods created below | |
@interface UIGestureRecognizer () | |
+ (void)hs_beginForcingAllNewGestureRecognizersToAllowPencilInput; | |
+ (void)hs_endForcingAllNewGestureRecognizersToAllowPencilInput; |
CSS illustration and animation inspired by http://robindavey.co.uk/
Forked from mario sanchez maselli's Pen CSS The Avengers .
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
_Go to your Owncloud installation <https://myowncloud/remote.php/mozilla_sync> and accept the SSL Certificate | |
_Open about:config | |
_Create: services.sync.username <string> the value should be a hash not the username itself. (You only need the hash if the | |
sync was setup with a pre FF29, if you start from scratch the string doesn't matter) | |
You can look this up in an older browser or in the logs of your Owncloud server!! | |
_Go to: Preferences -> Sync -> Setup Firefox sync (you should see the old UI now) | |
'I Have an Account' | |
'I don't have the device with me' | |
'Account' - again use the hash NOT the actual username! |
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
txtwht="\[\e[00m\]" # White | |
txtred="\[\e[0;31m\]" # Red | |
txtgrn="\[\e[0;32m\]" # Green | |
txtpur="\[\e[0;35m\]" # Purple | |
txtblu="\[\e[0;34m\]" # Blue | |
bldgrn="\[\e[1;32m\]" # Green | |
bldcyn="\[\e[1;36m\]" # Cyan | |
function parse_git_this_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
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/sh | |
### BEGIN INIT INFO | |
# Provides: generic-prog | |
# Required-Start: $local_fs $remote_fs $network | |
# Required-Stop: $local_fs $remote_fs $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Generic Program | |
# Description: Generic Program is a generic program to do generic things with | |
### END INIT INFO |
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
<div class="container"> | |
<div class="wrap"> | |
<div class="circle horizontal c1"> | |
<div class="wrap-electron"> | |
<div class="circle electron"></div> | |
</div> | |
</div> | |
<div class="circle vertical c1"> | |
<div class="wrap-electron"> | |
<div class="circle electron"></div> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>UI Transparent</title> | |
</head> | |
<body> | |
<div class="container"> | |
<h1>UI Transparent</h1> | |
NewerOlder