Raspberry Pi 2 Model B GPIO 40 Pin Block Pinout Source element14
Raspberry PI version 2 (BCM2836)
A new version of RPi has been anounced on February 2015 at the same price as RPi B+! This is a Quad-Core 900MHZ ARM A7 processor and 1GB of RAM memory. Broadcom were willing to step up with a new
Please welcome Kodi!
Kodi (formally known as XBMC) is an software media player and entertainment hub that can be installed on Linux, OSX, Windows, iOS, and Android, featuring a 10-foot user interface for use with televisions and remote controls. It allows users to
Yii2: create helper
How to create a new helper in Yii2 framework: Create a new file “Utils.php” in “app-basic\helpers” or in other folder, location is up to you, but keep things organized! <?php namespace yii\helpers; use Yii; class Utils { public static function
PHP short tags: if/else
Alternative syntax for control structures. PHP offers an alternative syntax for some of its control structures; namely, if, while, for, foreach, and switch. In each case, the basic form of the alternate syntax is to change the opening brace to
Raspberry PI install RPi.GPIO
To install on raspbian: apt-get -y install python-rpi.gpio raspberry-gpio-python package provides a class to control the GPIO on a Raspberry Pi. To get started with RPi.GPIO, it would be worthwhile reading the examples here. Note that this module is unsuitable for real-time
Linux: Netstat Command Examples
Netstat command displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships etc. List All Ports (both listening and non listening ports) #netstat -a root@localhost:~# netstat -a | more Active Internet connections (servers
mysqld Option/Variable Reference
This table that lists every MySQL Server option or variable, what version it was introduced or deprecated in, whether it’s dynamic or not, whether variables have session/global/both scope, and links to the version-specific documentation for that variable. Name Intr Depr
MySQL Trigger – after insert trigger
I want to populate automaticaly another table when new data is inserted: For table “source_table” define a after insert trigger DELIMITER $$ CREATE TRIGGER `source_table_AINS` AFTER INSERT ON `source_table` FOR EACH ROW — Edit trigger body code below this line.
MySQL Utilities – Brief overview of command-line utilities
MySQL Utilities This is a brief overview of the MySQL command-line utilities. See their respective manual pages for further details and examples: mysqlauditadmin Monitor the audit log. Copy, rotate, and configure the audit log mysqlauditgrep Search the audit log. Output results to