Home

macOS: Restore, Clone or Backup Homebrew Setup

Brewfiles This is where the magic happens. If you ever used npm, bower or another package-/assetsmanager you might be using dependency files that list a number of packages or assets that are to be installed. Brewfiles do about the same but then for your Homebrew configuration. Let’s get started quickly! Install the Homebrew tap: $ brew tap Ho...

Read more

Pi-hole: Update Pi-hole

Updating Pi-hole We cannot update Pi-hole from the Web interface as we need to restart the server, which would interrupt the update process. Run the following command on your Pi-hole: # pihole -up You will need to SSH into your machine or access it directly via a keyboard and monitor. Typically, Pi-hole is running as a headless server so SS...

Read more

Git: Rename Git Repository

Rename Git Repository There are various possible interpretations of what is meant by renaming a git repository: the displayed name, the repository directory, or the remote repository name. Each requires different steps to rename. Displayed Name Rename the displayed name (e.g., shown by gitweb): Edit .git/description to contain the reposit...

Read more

Yarn: Migrating from npm

Migrating from npm Migrating from npm should be a fairly easy process for most users. Yarn can consume the same package.json format as npm, and can install any package from the npm registry. If you want to try Yarn out on your existing npm project, just try running: $ yarn This will lay out your node_modules folder using Yarn’s resolution a...

Read more

Expo: Configuration with app.json

Configuration with app.json app.json is your go-to place for configuring parts of your app that don’t belong in code. It is located at the root of your project next to your package.json. It looks something like this: { "expo": { "name": "My app", "slug": "my-app", "sdkVersion": "UNVERSIONED", "privacy": "public" } } Prope...

Read more

Node.js: ESlint + Prettier

ESLint meets Prettier We will begin with introducing Prettier to your ESLint. It would be perfect to setup it in such a way that not interested team members will not even know about it’s existence. Fortunately we have plugin for that: eslint-plugin-prettier. It will add Prettier’s rules to ESLint configuration and allow ESLint to use Prettier a...

Read more

JetBrains: ESLint

ESLint WebStorm integrates with ESLint which brings a wide range of linting rules that can also be extended with plugins. WebStorm shows warnings and errors reported by ESLint right in the editor, as you type. With ESLint, you can also use JavaScript Standard Style. To view the description of a problem, hover over the highlighted code. Instal...

Read more