-
Step 1 (ulimit): open the sysctl.conf and add this line fs.file-max = 65536
vi /etc/sysctl.conf
add following at end of file in above file:
fs.file-max = 65536
save and exit.
<?php | |
namespace App\Http\Livewire; | |
use Illuminate\Support\Str; | |
use Livewire\Component; | |
class SignatureExample extends Component | |
{ | |
public $signature; |
#!/bin/bash | |
# git-cleanup-repo | |
# | |
# Author: Rob Miller <[email protected]> | |
# Adapted from the original by Yorick Sijsling | |
git checkout master &> /dev/null | |
# Make sure we're working with the most up-to-date version of master. | |
git fetch |
Win + Alt + P
{bash}
with the following settings:
/icon "%CMDER_ROOT%\cmder.exe"
/icon "C:\Program Files\Git\mingw64\share\git\git.ico"
"C:\Program Files\Git\bin\sh.exe" -l -new_console:d:%USERPROFILE%
{"lastUpload":"2020-10-20T06:34:57.191Z","extensionVersion":"v3.4.3"} |
#!/bin/bash | |
# Install dependencies only for Docker. | |
[[ ! -e /.dockerinit ]] && [[ ! -e /.dockerenv ]] && exit 0 | |
set -xe | |
# Update packages and install composer and PHP dependencies. | |
apt-get update -yqq > /dev/null | |
apt-get install wget git libcurl4-gnutls-dev libicu-dev libmcrypt-dev libvpx-dev libjpeg-dev libpng-dev libxpm-dev zlib1g-dev libfreetype6-dev libxml2-dev libexpat1-dev libbz2-dev libgmp3-dev libldap2-dev unixodbc-dev libpq-dev libsqlite3-dev libaspell-dev libsnmp-dev libpcre3-dev libtidy-dev -yqq > /dev/null |
#http://backendtime.com/setup-laravel-homestead-windows/ | |
vagrant plugin install vagrant-winnfsd | |
folders: | |
- map: ~/Projects | |
to: /home/vagrant/Code | |
type: "nfs" | |
mount_options: ['nolock,vers=3,udp,noatime'] |
# | |
# REQUIRES: | |
# - server (the forge server instance) | |
# - event (the forge event instance) | |
# - sudo_password (random password for sudo) | |
# - db_password (random password for database user) | |
# - callback (the callback URL) | |
# |
gci . -recurse -filter *.ps* | % { | |
$MyFile = gc $_.Fullname -raw | |
$MyPath = $_.Fullname | |
[System.IO.File]::WriteAllLines($MyPath, $MyFile, [System.Text.UTF8Encoding]($False)) | |
} |
https://jakearchibald.com/2014/offline-cookbook/#on-network-response |