- Step 1: Download and install StarUML Version 6 from main website https://staruml.io
- Step 2: Download
app.asarfile from https://drive.google.com/drive/folders/1gbhjOEYH1NPZNB_uMDDNr34sMsgGw8kf?usp=sharing - Step 3: Copy
app.asarfile download in step 2 (Overrideapp.asarfile)- Window:
C:\Program Files\StarUML\resources - MacOS:
/Applications/StarUML.app/Contents/Resources/ - Linux:
/opt/StartUML/resources
- Window:
- Step 4: Open StarUML app to use
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
| version: "3" | |
| services: | |
| postgress: | |
| .... | |
| healthcheck: | |
| test: ["CMD-SHELL", "pg_isready -U postgres"] | |
| interval: 10s | |
| timeout: 5s | |
| retries: 5 | |
| app: |
Cheat Sheets are greate but they are not a substitute for learning the framework and reading the documentation as we most certainly have not covered every potential example here. Please refer to the Rails Command Line Docs for more information.
You can get all of this information on the command line.
rails generate with no generator name will output a list of all available generators and some information about global options.
rails generate GENERATOR --help will list the options that can be passed to the specified generator.
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
| require 'sidekiq/api' | |
| # 1. Clear retry set | |
| Sidekiq::RetrySet.new.clear | |
| # 2. Clear scheduled jobs | |
| Sidekiq::ScheduledSet.new.clear |
- Josh Goebel (@yyyc514): suggested lazy evaluation on
set
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
| class ImageUploader < CarrierWave::Uploader::Base | |
| include CarrierWave::MiniMagick | |
| version :blurred do | |
| process :blur | |
| end | |
| def blur(radius=16) | |
| manipulate! do |img| | |
| original_path = img.path |