(Descrição completa e mais comandos aqui - https://npmjs.org/doc/index.html)
npm install <module-name> --save
[package] | |
name = "testcontainers-sample" | |
version = "0.1.0" | |
edition = "2021" | |
[dev-dependencies] | |
async_once = "0.2.6" | |
aws-sdk-s3 = "0.28.0" | |
ctor = "0.2.4" | |
lazy_static = "1.4.0" |
xinput list --short | grep Logitech | awk '{print $5}' | cut -f2 -d"=" | xargs -I id xinput set-prop id "Device Accel Constant Deceleration" 0.4 |
(Descrição completa e mais comandos aqui - https://npmjs.org/doc/index.html)
npm install <module-name> --save
/** Async version of Array.prototype.reduce() | |
* await reduce(['/foo', '/bar', '/baz'], async (acc, v) => { | |
* acc[v] = await (await fetch(v)).json(); | |
* return acc; | |
* }, {}); | |
*/ | |
export async function reduce(arr, fn, val, pure) { | |
for (let i=0; i<arr.length; i++) { | |
let v = await fn(val, arr[i], i, arr); | |
if (pure!==false) val = v; |
#Download Elementary OS from here: | |
#http://sourceforge.net/projects/elementaryos/files/stable/ | |
#First you update your system | |
sudo apt-get update && sudo apt-get dist-upgrade | |
#Install Google Chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' |
<?php | |
namespace App\Support\Validators\Rules; | |
use App\Support\Helpers\Dates as DateHelper; | |
class DateField | |
{ | |
/** | |
* @param string $attribute |
Todos os links abaixo contem conteudo em texto e video para estudo do framework Laravel, aproveite com moderação.