This tip can be used if you forget or want to change MariaDB root password.
Make sure to install MariaDB using Homebrew.
This tip is from Update root password in MariaDB 10.4 on MacOS
This tip can be used if you forget or want to change MariaDB root password.
Make sure to install MariaDB using Homebrew.
This tip is from Update root password in MariaDB 10.4 on MacOS
| # If you have issue with | |
| # objc[18501]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. | |
| # objc[18501]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug. | |
| # I had this problem when running `bin/rails c` on Mac M1 Pro. The solution for this is below | |
| $ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES | |
| $ export DISABLE_SPRING=true | |
| This should help. |
| // cSpell:word commitlint typecheck | |
| pre-commit: | |
| parallel: true | |
| commands: | |
| type-check: | |
| glob: '*.{ts,tsx}' | |
| run: yarn typecheck | |
| lint: | |
| glob: '*.{js,ts,jsx,tsx}' |
For the best guide, use search keyword: chmod. It should scroll down to:
| #!/bin/bash | |
| # this forces Arena into full screen mode on startup, set back to 3 to reset | |
| # note that if you go into the Arena "Graphics" preference panel, it will reset all of these | |
| # and you will need to run these commands again | |
| defaults write com.wizards.mtga "Screenmanager Fullscreen mode" -integer 0 | |
| defaults write com.wizards.mtga "Screenmanager Resolution Use Native" -integer 0 | |
| # you can also replace the long complicated integer bit with any other scaled 16:9 | |
| # resolution your system supports. |
| # The following comments fill some of the gaps in Solargraph's understanding of | |
| # Rails apps. Since they're all in YARD, they get mapped in Solargraph but | |
| # ignored at runtime. | |
| # | |
| # You can put this file anywhere in the project, as long as it gets included in | |
| # the workspace maps. It's recommended that you keep it in a standalone file | |
| # instead of pasting it into an existing one. | |
| # | |
| # @!parse | |
| # class ActionController::Base |
Automating things in software development is more than useful and using Ansible is one way to automate software provisioning, configuration management, and application deployment. Normally you would install Ansible to your control node just like any other application but an alternate strategy is to deploy Ansible inside a standalone Docker image. But why would you do that? This approach has benefits to i.a. operational processes.
Although Ansible does not require installation of any agents within managed nodes, the environment where Ansible is installed is not so simple to setup. In control node it requires specific Python libraries and their system dependencies. So instead of using package manager to install Ansible and it’s dependencies we just pull a Docker image.
By creating an Ansible Docker image you get the Ansible version you want and isolate all of the required dependencies from the host machine which potentially might break things in other area
| /* Optional CSS to customize fonts, colors, syntax highlighting. */ | |
| /* Normal */ | |
| @font-face { | |
| font-family: Roboto; | |
| src: url(~/Library/Fonts/Roboto/Roboto-Light.ttf); | |
| } | |
| /* Bold */ | |
| @font-face { |
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.
Tested on a standard $5/mo DigitalOcean VPS running Ubuntu 16.04.