| { | |
| "input": { | |
| "blocklist": [], | |
| "compressor#0": { | |
| "attack": 15.0, | |
| "boost-amount": 0.0, | |
| "boost-threshold": -72.0, | |
| "bypass": false, | |
| "dry": -80.01, | |
| "hpf-frequency": 10.0, |
This is a way to compile Redox OS in MacOS Apple Silicon using Podman.
This gist follows the book but specifics to MacOS Apple Silicon for easy and fastest installation. For native bootstrap follow another gist (WIP)
cd ~/Document
git clone https://gitlab.redox-os.org/redox-os/redox
cd redoxfeat: new featurefix(scope): bug in scopefeat!: breaking change/feat(scope)!: rework APIchore(deps): update dependencies
build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
| name: Security audit | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| push: | |
| paths: | |
| - '**/Cargo.toml' | |
| - '**/Cargo.lock' | |
| jobs: | |
| security_audit: |
| import { createConnection, getConnection, Entity, getRepository } from "typeorm"; | |
| import { PrimaryGeneratedColumn, Column } from "typeorm"; | |
| @Entity() | |
| export class MyEntity { | |
| @PrimaryGeneratedColumn() | |
| id?: number; | |
| @Column() | |
| name?: string; |
I recently wanted to rename a model and its postgres table in a Phoenix app. Renaming the table was simple and documented, but the table also had constraints, sequences, and indexes that needed to be updated in order for the Ecto model to be able to rely on default naming conventions. I couldn't find any examples of what this would look like but was eventually able to figure it out. For anyone else in the same situation, hopefully this example helps.
In the example below, I'm renaming the Permission model to Membership. This model belongs to a User and an Account, so it has foreign key constraints that need to be renamed.
defmodule MyApp.Repo.Migrations.RenamePermissionsToMemberships do
use Ecto.Migration
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
• 5ffd57393a85553ab55b
• 5cd28e2a812e5c65c9f7320e0726da18
• b6a6676a84b51c8200d0673a5b4a87c5
"Formal education will make you a living. Self-education will make you a fortune."