See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
config :wps, WPSWeb.Endpoint, | |
live_reload: [ | |
notify: [ | |
live_view: [ | |
~r"lib/wps_web/core_components.ex$", | |
~r"lib/wps_web/(live|components)/.*(ex|heex)$" | |
] | |
], | |
patterns: [ | |
~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$", |
Mix.install([:mint, :castore]) | |
defmodule Main do | |
def run() do | |
total = | |
Stream.resource( | |
fn -> | |
{:ok, conn} = Mint.HTTP.connect(:https, "ftp.bit.nl", 443, mode: :passive) | |
{:ok, conn, _ref} = Mint.HTTP.request(conn, "GET", "/speedtest/10mb.bin", [], nil) | |
{conn, true} |
defmodule ApiDataStructure do | |
defmodule User do | |
use Ecto.Schema | |
import Ecto.Changeset | |
alias ApiDataStructure.Profile | |
embedded_schema do | |
field :username, :string |
# Real-Time Object Detection in OpenCV with Automatic Perspective Correction! | |
# https://www.youtube.com/watch?v=kLnkAZCwZX0 | |
# (c) Izhar Shaikh | |
# from https://robosifo.wordpress.com/2015/11/21/weekly-report-11/ | |
# import the necessary packages | |
import time | |
import cv2 | |
import numpy as np | |
#Difference Variable |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
# You will need fswatch installed (available in homebrew and friends) | |
# The command below will run tests and wait until fswatch writes something. | |
# The --stale flag will only run stale entries, it requires Elixir v1.3. | |
fswatch lib/ test/ | mix test --stale --listen-on-stdin |
function validateCNH(cnh) { | |
var char1 = cnh.charAt(0); | |
if (cnh.replace(/[^\d]/g, '').length !== 11 || char1.repeat(11) === cnh) { | |
return false; | |
} | |
for (var i = 0, j = 9, v = 0; i < 9; ++i, --j) { | |
v += +(cnh.charAt(i) * j); | |
} |