The idea of installing the motion detector is that it either turns the HDMI signal on or off. IF the motion detector does not detect any movement for 9 seconds (value that can be changed as required), it switches of the HDMI Signal. As soon as movement is registered again, it switches the signal on again. If movement is also registered during 60 seconds, the timer is reset to zero.. The pir sensor connected to raspberry pi with female-female jumper cable. VCC to Pin 2 GND to Pin 6 OUT to Pin 12 And now the motion detector should switch […]
PHPStorm – Symfony log highlighting
To do, go into Settings -> Editor -> Log Highlighting (Ideolog) Add new Log Format with the following config: special thanks to : https://locastic.com/blog/a-quick-way-to-browse-symfony-logs-with-phpstorm/ Views: 11
PHPStan Config for Standalone Chameleon Project
Install Standard phpstan.neon file for standalone chameleon project. Run: Views: 8
smartmrk – v0.2.1 Updates – 28.02.2021
Modul Extension Prototyp Clean Timer Modul – Screencast Video Download & Source https://github.com/kzorluoglu/smartmrk Views: 2
SmartMrK OS – v0.2.0 released!
New Features Vue Router feature added. Edit/Create Widget Pages and Homepage working with routing. New User Shortcuts Ctrl + y : Admin Login Ctrl + k : Homepage Ctrl + n : Add new Widget (For Editing: Click on Widget) Github Tag/Version/Download Link: https://github.com/kzorluoglu/smartmrk/releases/tag/v0.2.0 Views: 2
SmartMrK OS – v.0.1 released ! :)
ScreenCast from v.0.0.1 – Video (Gif Animation) Download & Project: https://github.com/kzorluoglu/smartmrk First Prototype Views: 10
Symfony Certification – Step 1 : Prepare
Practice Old Smyfony 2 Certification Questions : How To Practice Symfony2 Certification Questions (Certificationy) Preparation Lists Symfony Certification Preparation List Learn for Symfony certification Views: 6
Electron-Vue – Webpack ReferenceError: process is not defined
Modify HtmlWebpackPlugin in the Files .electron-vue/webpack.web.config.js and .electron-vue/webpack.renderer.config.js: Views: 9
Electron – Uncaught Error: Cannot find module ‘axios’
re-check if modul installed. add plugin/modul in the webpack.renderer.config.js, like Views: 26
Visual Studio Code – Git Bash Terminal (Windows)
open settings.json and manually edit it, you’ll see somethin like following: Views: 2
Vagrant warning : Insecure world writable dir /usr/local/bin in PATH, mode 040777
For fix typ on your command line: Views: 23
Docker Update Container
Start the Container via Container ID Modify your Image, i will only the rsync software install for auto deployment and i’am done. commit the changes to docker Views: 3
Symfony – MakerBundle” which is currently not installed.
Problem: Fix #1, open your .env file and update APP_ENV value with dev Fix #2 install maker bundle Views: 23
ERROR: for db Cannot start service db:
Error response from daemon: You cannot remove a running container 03bfa4d8781318d096d8bf91fbe5375c11912ce0f427e2059891cdad7ade25e0. Stop the container before attempting removal or force remove ERROR: for db Cannot start service db: driver failed programming external connectivity on endpoint Fix Method 1; Fix Method 2; Views: 4
Contao 3.5.X – PHP 7.2 Docker Image for Modul Development
1. Create a empty Folders data and database. 2. Create docker-compose.yml Views: 1
Docker – LAMP Mariadb container fails to launch
Here is the Log Information one of them: For fixing set your volumes from mariadb with local driver. Views: 4
Gitlab CI SSH Deploy
Create SSH Key on Remote host 2. Copy Generated Private key from remote Server Views: 23
GitLab CE – CI / CD for Standart PHP Projects and Auto Deploy
I have on my git repo two basic branches; master und develop Views: 5
Git Bash inside PhpStorm
Go to: File -> Settings -> Tools -> Terminal If you are using 64 Bit Git Bash(Git for Windows) put this in the Shell Path field. Or for 32 Bit Git Bash put this in the field Views: 9
Gulp 4 – Error – “Task function must be specified”
If you this Standart Tasks sequence from every Tutorial using, you will be got this error message. Views: 17
Social Poster – A Simple Facebook Page and Twitter poster
Social (Media) Poster Social Poster is a simple Facebook Page and Twitt poster Text Posting Text with Image-\s Posting Tech Social Poster uses a number of open source projects to work properly: facebook/graph-sdk – Facebook SDK for PHP (v5) dg/twitter-php – Twitter for PHP is a very small and easy-to-use library for sending messages to Twitter and receiving status updates. dillinger.io – Markdown editor for this readme.md creating/editing. Fast and easy to extend. Twitter Bootstrap – great UI boilerplate for modern web apps jQuery – duh Integration Facebook Create Facebook Developer Account Create Simple App You not need Facebook Products […]
How do Remove Element From an Array – Simple
/** Set – New Array */ const users = []; /** * Add – New Element/Item */ users.push({ id: socket.id, name: ‘Visitor’}); /** * Find – Index of Element */ var foundIndex = users.findIndex(x => x.id == socket.id); /** * Update/Add – New Data an Founded Element */ users[foundIndex].name = data.name; /** * Remove */ users.splice(foundeIndex, 1); Example from My Home Hobby Project: const users = []; nsp.on(‘connection’, (socket) => { console.log(‘Kullanici :’ + socket.id + ‘Baglandi’); users.push({ id: socket.id, name: ‘Visitor’}); socket.on(‘sendUserData’, (data) => { console.log(‘Server => ‘ + data.name + ‘ Connected.’); var foundIndex = users.findIndex(x => x.id […]
My Experiences with Laravel 5.5
First Project / Look : I have had some experience in module writing my company software solution for an Aid Organization. This project was with Laravel 5.1, what the customer wants as a correction or update… What have I had? First of all, some pre-installed plugins(from the old developer at company) need to be updated, because these plugins work not nicely or stable.. But isn’t possible, because XYZ Plugin needed higher version another ABC, DEF Plugins, this plugin needed higher version of laravel/framework. If I framework updated, then you get several errors, because main core functions or classes changed or […]
Raspberry Pi Zero W + USB Modem – SMS Gateway
This Article updated on 08.09.2019 Install usb-modeswitch, smstools, wvdial sudo apt-get install usb-modeswitch usb-modeswitch-data smstools wvdial Find right device and baudrate with this command; sudo wvdialconf …my modem information (modem on ttyUSB1 and baudrate 9600)… ttyUSB0<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud ttyUSB0<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud ttyUSB0<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up. ttyUSB1<*1>: ATQ0 V1 E1 — OK ttyUSB1<*1>: ATQ0 V1 E1 Z — OK ttyUSB1<*1>: ATQ0 V1 E1 S0=0 — ERROR ttyUSB1<*1>: ATQ0 V1 E1 &C1 — ERROR […]