On MySQL master, “RESET MASTER” command, deletes all binary log files listed in the index file, resets the binary log index file to be empty, and creates a new binary log file. This statement is intended to be used only
Raspberry Pi : XBMC 12.1
XBMC 12.1 makes full use of iPhone 5, improves Raspberry Pi player and more! About a month and a half after the release of XBMC 12.0, we are happy to announce XBMC 12.1 with substantial fixes for 12.0 across all
GNUPG – gpg encrypt files
GNU Privacy Guard (GnuPG or GPG) is a GPL Licensed alternative to the PGP suite of cryptographic software. PGP encryption uses a serial combination of hashing, data compression, symmetric-key cryptography and finally public-key cryptography; each step uses one of several supported algorithms. Each public key is bound to
cURL – upload files and submit data
curl is a command line tool for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST,
Raspberry Pi Low-level peripherals GPIO
General Purpose Input/Output (a.k.a. GPIO) is a generic pin on a chip whose behavior (including whether it is an input or output pin) can be controlled (programmed) through software. The Raspberry Pi allows peripherals to access the CPU by exposing
Install Raspbian “wheezy” on Raspberry PI
To install Raspbian on a Raspberry PI you need an SD card, at least 4GB and the image of the Raspbian OS. Download the image from http://www.raspberrypi.org/downloads. The latest version of Raspbian is called “wheezy”: 2012-12-16-wheezy-raspbian.zip. Unzip file and the result is “2012-12-16-wheezy-raspbian.img”. Write
MySQL replication – master slave schema
Replication enables data from one MySQL database server (the master) to be replicated to one or more MySQL database servers (the slaves). Replication is asynchronous – slaves need not be connected permanently to receive updates from the master. This means
Raspberry PI
The Raspberry Pi is a small single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of stimulating the teaching of basic computer science in schools. The Raspberry Pi is manufactured through licensed manufacturing deals with
CodeIgniter: get IP address and user agent
If you need to collect visitor’s IP address or browser information you can easily do that using CodeIgniter “user_agent” library. The User Agent Class provides functions that help identify information about the browser, mobile device, or robot visiting your site. In addition you
Save Apache log in MySQL database
Apache webserver can be configured to save access logs into database via Apache Module mod_log_config. This module provides for flexible logging of client requests. Logs are written in a customizable format, and may be written directly to a file, or to