/app
├── /Application
| ├── /Exceptions
| ├── /Middlewares
| ├── /Providers
| ├── /Requests
├── /Domain
| ├── /MyDomainA
| | ├── /Contracts
This file contains 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
public static int convertXpToLevel(int xp) { | |
// Level = 0.05 * sqrt(xp) | |
return (int) (Constants.LEVEL_MODIFIER * Math.sqrt(xp)); | |
} | |
public static int convertLevelToXp(int level) { | |
// XP = (Level / 0.05) ^ 2 | |
return (int) Math.pow(level / Constants.LEVEL_MODIFIER, 2); | |
} |
This file contains 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
name: My Workflow | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: lorisleiva/laravel-docker:7.4 | |
steps: | |
- uses: actions/checkout@v2 |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |