We are using a simple git flow based on git flow and github flow. We have two branches develop and master.
develop is a representation of staging
master is a representation of production
I hereby claim:
To claim this, I am signing this object:
| // NOTE: return to revision 2 for a no-dependency, one dimensional version of gradient and Newton descent. | |
| const { Matrconst { Matrix, Vector } = require('sylvester'); | |
| const { isEqual, omit } = require('lodash'); | |
| const defaults = { | |
| gradientTolerance: 0.01, | |
| maxIterates: 10, | |
| dieOnBadStep: false, | |
| allowNumericalDifferentiation: true, | |
| allowBfgs: true, |
| # Original Rails controller and action | |
| class EmployeesController < ApplicationController | |
| def create | |
| @employee = Employee.new(employee_params) | |
| if @employee.save | |
| redirect_to @employee, notice: "Employee #{@employee.name} created" | |
| else | |
| render :new | |
| end |
| // MIT licensed (© 2024) | |
| // https://opensource.org/license/mit | |
| // | |
| // Source: https://gist.github.com/gburtini/7e34842c567dd80ee834de74e7b79edd | |
| import fs from "fs"; | |
| import config from "../../drizzle.config"; | |
| import path from "path"; | |
| import { exec, execSync } from "child_process"; |
| /** | |
| * MIT License, no attribution | |
| * | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy of this | |
| * software and associated documentation files (the "Software"), to deal in the Software | |
| * without restriction, including without limitation the rights to use, copy, modify, | |
| * merge, publish, distribute, sublicense, and/or sell copies of the Software, and to | |
| * permit persons to whom the Software is furnished to do so. | |
| * |