composer create-project laravel/laravel hello
cd hello && npm install
| # Create a symbolic link to the 'shasum' command | |
| ln -s /usr/bin/sha1sum /usr/bin/shasum | |
| # Generate private key (will require generating a password) | |
| ./prysm.sh validator accounts create --keystore-path=$HOME/validator | |
| # Paste generated data to field on https://prylabs.net/participate | |
| # Run in tmux instances | |
| tmux | |
| ./prysm.sh beacon-chain |
| # Extract JPEG images from video 1 frame per second (windows) | |
| ffmpeg.exe -i .\GOPR4275.MP4 -vf fps=1 img\jeep-%6d.png | |
keytool -genkey -alias <aliasname> -keyalg RSA -keystore keystore.jks -keysize 2048
| # This are "easy to use" instructions how to create point cloud data files | |
| # extracting from a set of images using a technique called SfM or Structure from Motion: | |
| # http://openmvg.readthedocs.io/en/latest/software/SfM/SfM/ | |
| # FFMPEG HELPERS: | |
| # ffmpeg -i video.webm -vf fps=1 image%07d.jpg | |
| export SFM_OUT_DIR=".sfm" | |
| # Init SfM with OpenMVG |
| #/bin/bash | |
| # RHEL Dependenices | |
| sudo dnf group install -y 'Development Tools' | |
| sudo dnf install -y gcc-c++ ninja cmake | |
| sudo dnf install -y \ | |
| SDL2 \ | |
| SDL2-devel \ | |
| SDL2_net \ |
PHP 7.2 real app usage:
public function jsonSerialize()
{
$m1 = memory_get_usage();
$json_class = new class implements SpecExportInterface {
public $id;
public $status;
public $code;
public $title;