Techy Things

Debug PHP code with Visual Studio Code 0

Debug PHP code with Visual Studio Code

Installation You need PHP7 at minimum. You need Visual Studio Code 1) Install php-debug extension. In Visual Studio Code, press F1, then erase the > and type "ext install php-debug" 2) Install X-Debug. Use the...

Uncaught PDOException: could not find driver 0

Uncaught PDOException: could not find driver

Fatal error: Uncaught PDOException: could not find driver in U:\Webpages\thecanadianhosting.co\app\src\db.inc.php:26 Stack trace: #0 U:\Webpages\thecanadianhosting.co\app\src\db.inc.php(26): PDO->__construct() #1 U:\Webpages\thecanadianhosting.co\app\src\db.inc.php(35): getDB() #2 U:\Webpages\thecanadianhosting.co\app\src\routes.php(14): require('U:\\Webpages\\the...') #3 U:\Webpages\thecanadianhosting.co\app\public_html\index.php(27): require('U:\\Webpages\\the...') #4 {main} thrown in U:\Webpages\thecanadianhosting.co\app\src\db.inc.php on line 26 Solution Enable...

Data Mining at Home Resources List 0

Data Mining at Home Resources List

Mining Software Kryptex: https://www.kryptex.org/?ref=eb225f32 Most simple to use, will select the most profitable algorithm based on your hardware. Flip on the "Pro" switch for a nicer user interface. Use my referral link above please. You...

configure: error: Please reinstall the libmagic distribution 0

configure: error: Please reinstall the libmagic distribution

configure: error: Please reinstall the libmagic distribution Solution You need this https://pecl.php.net/package/imagick yum-based distributions # yum install file # yum install file-devel Install from source $ wget https://pecl.php.net/get/imagick-3.4.4.tgz $ tar -xzvf imagick-3.4.4.tgz $ cd imagick-3.4.4/ $ phpize (or in...

Surveillance with Raspberry Pi 4 and Zero 0

Surveillance with Raspberry Pi 4 and Zero

Code Considered https://github.com/dickontoo/omxmotion Created 6 years ago with the last update 3 years ago.   https://github.com/vascojdb/pizero-zoneminder-cam   https://www.raspberrypi.org/blog/vectors-from-coarse-motion-estimation Created 2014   https://github.com/mbebenita/Broadway/tree/master/Decoder A H.264 Javascript decoder

SyntaxError: Unexpected reserved word 0

SyntaxError: Unexpected reserved word

SyntaxError: Unexpected reserved word > 5 | import { Config } from 'src/js/config'; | ^ Where src/js/config is a config.ts Typescript file Solution In your jest transforms, make sure to include .ts and .tsx...