This file contains hidden or 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
| # Brewfile - Homebrew Package Manager Configuration | |
| # | |
| # INITIAL SETUP (First time on a new Mac): | |
| # 1. Install Xcode Command Line Tools: | |
| # xcode-select --install | |
| # | |
| # 2. Install Homebrew: | |
| # /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| # | |
| # 3. Save this Brewfile to your home directory: |
This file contains hidden or 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
| # Omakase Ruby styling for Rails | |
| inherit_gem: | |
| rubocop-rails-omakase: rubocop.yml | |
| # Your own specialized rules go here | |
| Layout/SpaceInsideArrayLiteralBrackets: | |
| Enabled: false | |
| Style/StringLiterals: | |
| Enabled: false |
This file contains hidden or 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
| <%= f.text_field :fname, { | |
| placeholder: 'First Name', | |
| class: 'form-control', | |
| required: true, | |
| spellcheck: false, | |
| autocomplete: 'off', | |
| autocomplete: 'chrome-off', | |
| autocorrect: 'off', | |
| autocapitalize: 'off', | |
| 'data-gramm': false, |
This file contains hidden or 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
| eval "$(/opt/homebrew/bin/brew shellenv)" | |
| eval "$(rbenv init -zsh)" | |
| export PATH="$HOME/.rbenv/bin:$PATH" | |
| export PATH="/opt/homebrew/bin:$PATH" | |
| export PATH="/opt/homebrew/sbin:$PATH" | |
| #export PATH="/opt/homebrew/opt/openssl@1.1/bin:$PATH" | |
| #export PATH="$(brew --prefix openssl@1.1)/bin:$PATH" | |
| #export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)" | |
| If you need to have openssl@3 first in your PATH, run: |
This file contains hidden or 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
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}", | |
| "profiles": |
This file contains hidden or 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
| self.myActionSheet = [[UIActionSheet alloc] initWithTitle:@"Select Something" delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:nil, nil]; | |
| //self.myArray could be an array of CoreData objects | |
| for (id myObject in self.myArray) { | |
| [self.myActionSheet addButtonWithTitle:myObject.aString]; | |
| } | |
| [self.myActionSheet addButtonWithTitle:@"Cancel"]; | |
| self.myActionSheet.cancelButtonIndex = [self.myActionSheet count]; |
This file contains hidden or 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
| mkdir /Users/alex/Desktop/Dropbox/mysql_backup/client/$(date +%Y%m%d_%H%M%S); /usr/local/mysql/bin/mysqldump -h database_host -u username —password=mypassword clients_database > $_/clients_database.sql |
NewerOlder