| { | |
| "folders": | |
| [ | |
| { | |
| "path": "/path/to/project", | |
| "folder_exclude_patterns": [ | |
| ".vscode", | |
| "tmp", | |
| "vendor/bundle", | |
| "log" |
| /usr/libexec/PlistBuddy -c "set AppleSymbolicHotKeys:34:enabled bool false" ~/Library/Preferences/com.apple.symbolichotkeys.plist | |
| /usr/libexec/PlistBuddy -c "set AppleSymbolicHotKeys:35:enabled bool false" ~/Library/Preferences/com.apple.symbolichotkeys.plist | |
| /usr/libexec/PlistBuddy -c "set AppleSymbolicHotKeys:37:enabled bool false" ~/Library/Preferences/com.apple.symbolichotkeys.plist | |
| # 34 and 35 might not exists. Add them. | |
| /usr/libexec/PlistBuddy -c "add AppleSymbolicHotKeys:34:enabled bool false" ~/Library/Preferences/com.apple.symbolichotkeys.plist | |
| /usr/libexec/PlistBuddy -c "add AppleSymbolicHotKeys:35:enabled bool false" ~/Library/Preferences/com.apple.symbolichotkeys.plist | |
| # Restart your computer. Log out then log in did not work for me. |
| # Drop this into app/helpers and then in your views: | |
| # | |
| # <%= table_for(User.all) do |t| %> | |
| # <% t.column :username %> | |
| # <% t.column :email do |user| %> | |
| # <%= mail_to user.email %> | |
| # <% end %> | |
| # <% t.actions :show, :edit %> | |
| # <% end %> | |
| # |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
- There are always 24 hours in a day.
- February is always 28 days long.
- Any 24-hour period will always begin and end in the same day (or week, or month).
- Use option as meta key:
Go to Preferences->Profiles tab. Select your profile on the left, and then open the Keyboard tab. At the bottom is a set of buttons that lets you select the behavior of the Option key. For most users, Esc+ will be the best choice.
- Setting up word-by-word movement with Option+:
Many people struggle with this question. Some just try to make as much as a full-time employee makes (and ignore that they won't be able to bill as many days). Others follow tips on startup related websites that suggest to ask for 20% to 50% more than an salary would yield (and ignore the additional risk and expenses they have).
Below you will find some numbers to help you calculate how high your hourly or daily rate should be.
- You take more risk than full time employees, phases without income are likely
It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
| DROP TABLE if exists d_date; | |
| CREATE TABLE d_date | |
| ( | |
| date_dim_id INT NOT NULL, | |
| date_actual DATE NOT NULL, | |
| epoch BIGINT NOT NULL, | |
| day_suffix VARCHAR(4) NOT NULL, | |
| day_name VARCHAR(9) NOT NULL, | |
| day_of_week INT NOT NULL, |
| AllCops: | |
| RunRailsCops: true | |
| Documentation: | |
| Enabled: false | |
| Style/AlignHash: | |
| Enabled: false | |
| Style/AlignParameters: |