If you do not already have it, install brew as follows:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install autoconf automake libtool
<?php | |
trait Conditionable | |
{ | |
public function when($condition, $callable) | |
{ | |
if ($condition) { | |
$callable($this, $condition); | |
} | |
return $this; | |
} |
<?php | |
Collection::macro('getcsv', static function (string $file): Collection { | |
$resource = fopen($file, 'rb'); | |
$result = new Collection(); | |
$header = fgetcsv($resource); | |
while (($line = fgetcsv($resource)) !== false) { | |
$result->add($line); | |
} | |
fclose($resource); |
# Settings apply across all Linux distros running on WSL 2 | |
[wsl2] | |
# Specify a custom Linux kernel to use with your installed distros. | |
# The default kernel used can be found at https://github.com/microsoft/WSL2-Linux-Kernel | |
# kernel= | |
# Limits VM memory to use no more than 16 GB, this can be set as whole numbers using GB or MB | |
memory=16GB |
In your WSL instance, re-install OpenSSH server as follows.
sudo apt remove --purge openssh-server
sudo apt install openssh-server
Edit /etc/ssh/sshd_config (e.g. sudo vi /etc/ssh/sshd_config
) and add the following lines to the bottom of the file. Ensure you replace WSL_ACCOUNT_NAME with your WSL2 account name.
FROM ubuntu:21.04 | |
LABEL maintainer="Taylor Otwell" | |
ARG WWWGROUP | |
ARG NODE_VERSION=16 | |
WORKDIR /var/www/html | |
ENV DEBIAN_FRONTEND noninteractive |
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
/* PHP arrays should be declared using the configured syntax. */ | |
'array_syntax' => ['syntax' => 'short'], | |
/* Binary operators should be surrounded by space as configured. */ |
name: Laravel 7, MariaDb, & Redis CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
continuous-integration: |
I hereby claim:
To claim this, I am signing this object:
/** | |
* This is your `=START()` function. | |
* It will make a call to the `handleTimestamp_(propertyName)` | |
* Which does the real work. | |
*/ | |
function START(){ | |
SpreadsheetApp.getActiveRange().getA1Notation() | |
return handleTimestamp_('starttimestamep'.concat(SpreadsheetApp.getActiveRange().getA1Notation())) | |
} |