You will learn how to link your JIRA tasks directly on SourceTree
| #import <UIKit/UIKit.h> | |
| @interface DateFlowLayout : UICollectionViewFlowLayout | |
| @end |
| -- Remove the history from | |
| rm -rf .git | |
| -- recreate the repos from the current content only | |
| git init | |
| git add . | |
| git commit -m "Initial commit" | |
| -- push to the github remote repos ensuring you overwrite history | |
| git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git |
This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:
- Open git bash (Use the Windows search. To find it, type "git bash") or the Mac Terminal. Pro Tip: You can use any
*nixbased command prompt (but not the default Windows Command Prompt!) - Type
cd ~/.ssh. This will take you to the root directory for Git (LikelyC:\Users\[YOUR-USER-NAME]\.ssh\on Windows) - Within the
.sshfolder, there should be these two files:id_rsaandid_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Typelsto see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be namedid_rsaandid_rsa.pubin order for Git, GitHub, and BitBucket to recognize them by default. - To create the SSH keys, type
ssh-keygen -t rsa -C "your_email@example.com". Th
| #define Left NSLayoutAttributeLeft | |
| #define Right NSLayoutAttributeRight | |
| #define Top NSLayoutAttributeTop | |
| #define Bottom NSLayoutAttributeBottom | |
| #define Leading NSLayoutAttributeLeading | |
| #define Trailing NSLayoutAttributeTrailing | |
| #define Width NSLayoutAttributeWidth | |
| #define Height NSLayoutAttributeHeight | |
| #define CenterX NSLayoutAttributeCenterX | |
| #define CenterY NSLayoutAttributeCenterY |
I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.
I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...
| #import <UIKit/UIKit.h> | |
| @interface UIButton (TCCustomFont) | |
| @property (nonatomic, copy) NSString* fontName; | |
| @end | |
| @implementation UIButton (TCCustomFont) | |
| - (NSString *)fontName { | |
| return self.titleLabel.font.fontName; |
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
| BEGIN:VCALENDAR | |
| VERSION:2.0 | |
| PRODID:-//Apple Inc.//Mac OS X 10.9.3//EN | |
| CALSCALE:GREGORIAN | |
| X-COMMENT: Copy your timezone data from an exported .ics file from Reminders.app. | |
| BEGIN:VTIMEZONE | |
| TZID:America/Denver | |
| BEGIN:DAYLIGHT | |
| TZOFFSETFROM:-0700 |

