A handy set of scripts and commands for your git workflow.
git-fetch-all.sh: Updates all repositories under the current location.git-fetch-all.ps1: PowerShell version of thegit-fetch-all.shscript.
A handy set of scripts and commands for your git workflow.
git-fetch-all.sh: Updates all repositories under the current location.git-fetch-all.ps1: PowerShell version of the git-fetch-all.sh script.| ruby '2.7.1' | |
| gem 'rails', github: 'rails/rails' | |
| gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
| # Action Text | |
| gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
| gem 'okra', github: 'basecamp/okra' | |
| # Drivers |
| ### Points and display type | |
| PPI is points per inch below, not pixels per inch. Not all models are listed, just the first model with a new display size. Diamond, RGB Stripe and Pentile RGB refer to the subpixel patterns. | |
| iPhone 1 = 320×480 at 163ppi sRGB IPS LCD RGB Stripe | |
| iPhone 4 = 320×480 at 163ppi sRGB IPS LCD RGB Stripe | |
| iPhone 5 = 320×568 at 163ppi sRGB IPS LCD RGB Stripe | |
| iPhone 6 = 375×667 at 163ppi sRGB IPS LCD RGB Stripe | |
| iPhone 6 Plus = 414×736 at 153.5ppi sRGB IPS LCD RGB Stripe | |
| iPhone 7 = 375×667 at 163ppi P3 IPS LCD RGB Stripe |
| #!/bin/bash | |
| sysctl -a | grep machdep.cpu.features | grep VMX |
| #!/bin/bash | |
| # https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx | |
| # git branch -m master main | |
| # git push -u origin main | |
| git checkout master | |
| git branch -m master main | |
| git fetch |
| git branch -m master main; git push -u origin main |
| #!/bin/bash | |
| date=$(date '+%d/%m/%Y') | |
| # -q — quiet mode - only the checksum is printed out | |
| md5 -q -s $date |
| # Install Fira font family on macOS using Homebrew Cask • https://github.com/mozilla/Fira | |
| brew tap homebrew/cask-fonts | |
| brew cask install \ | |
| font-fira-sans \ | |
| font-fira-mono \ | |
| font-fira-mono-for-powerline |
| <?xml version="1.0" encoding="utf-8"?> | |
| <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
| <CodeSnippet Format="1.0.0"> | |
| <Header> | |
| <SnippetTypes> | |
| <SnippetType>Expansion</SnippetType> | |
| </SnippetTypes> | |
| <Title>ArrangeActAssert</Title> | |
| <Author>Andrzej Kaszkowiak</Author> | |
| <Description> |
| tell application "System Preferences" | |
| reveal anchor "displaysDisplayTab" of pane "com.apple.preference.displays" | |
| end tell | |
| tell application "System Events" to tell process "System Preferences" to tell window "Built-in Retina Display" to tell tab group 1 | |
| if (value of radio button "Scaled" of radio group 1) = 0 then | |
| click radio button "Scaled" of radio group 1 | |
| click radio button 5 of radio group 1 of group 1 | |
| else | |
| click radio button "Default for display" of radio group 1 |