- Automatically bump SemVer
- Update a personal homebrew tap
- Keep that pesky version in the Cargo.toml up to date
- (From dependabot) Get new versions out as soon as possible
- You don't want a changelog
use rand::prelude::*; | |
use crate::{ELITISM, GENERATIONS_COUNT, GENOME_SIZE, LOG, POPULATION_SIZE, SELECTION_RATIO}; | |
static mut UNIFORM_RATE: f64 = 0.5; | |
static mut MUTATION_RATE: f64 = 0.06; | |
#[derive(Debug, Clone)] | |
pub struct Gene { | |
random: f64, |
// Module for handling basic Cartesian geometry operations. | |
use std::ops::{Add, Mul, Sub}; | |
/// Represents a point in Cartesian coordinates. | |
#[derive(Debug, Copy, Clone, PartialEq)] | |
pub struct Point { | |
pub x: f64, | |
pub y: f64, | |
} |
import androidx.compose.foundation.Box | |
import androidx.compose.foundation.layout.* | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.key | |
import androidx.compose.ui.Modifier | |
import androidx.compose.ui.unit.Dp | |
import androidx.compose.ui.unit.dp | |
@Composable | |
fun <T>Grid( |
## CRONTAB HINTS AND TIPS | |
## | |
## | |
## Entry Description Equivalent To | |
## @yearly (or @annually) Run once a year at midnight in the morning of January 1 0 0 1 1 * | |
## @monthly Run once a month at midnight in the morning of the first of the month 0 0 1 * * | |
## @weekly Run once a week at midnight in the morning of Sunday 0 0 * * 0 | |
## @daily Run once a day at midnight 0 0 * * * | |
## @hourly Run once an hour at the beginning of the hour 0 * * * * | |
## @reboot Run at startup @reboot |
package main | |
import ( | |
"bufio" | |
"errors" | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
"net/http/cookiejar" |
const addContext = (report, screenshots, videoUrl) => { | |
const getTests = t => t.tests | |
const getSuites = t => t.suites | |
const addSuiteContext = (suite, previousTitles = []) => { | |
const titles = suite.title ? previousTitles.concat(suite.title) : previousTitles | |
getTests(suite).forEach(test => { | |
test.timedOut = false // for some reason this is dropped | |
const context = [ | |
{ |
#!/usr/bin/env php | |
<?php | |
if (isset($argv[1]) && ($argv[1] == '--help' || $argv[1] == '-h')) { | |
echo sprintf( | |
"Usage: \n [igbinary-serialized data] | %s\n", | |
basename(__FILE__) | |
); | |
exit(); | |
} |
FROM php:7-alpine | |
RUN set -xe \ | |
&& apk add --no-cache --virtual .build-deps \ | |
$PHPIZE_DEPS \ | |
&& pecl install xdebug | |
ENV XDEBUG_ENABLED=0 \ | |
XDEBUG_REMOTE_HOST=0.0.0.0 |