keytool -genkey -alias <aliasname> -keyalg RSA -keystore keystore.jks -keysize 2048
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Extract JPEG images from video 1 frame per second (windows) | |
ffmpeg.exe -i .\GOPR4275.MP4 -vf fps=1 img\jeep-%6d.png | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/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;