Tag Archives: mysql

How to Make a Raspberry Pi Web Server

http://www.wikihow.com/Make-a-Raspberry-Pi-Web-Server How to Make a Raspberry Pi Web Server Start the Raspberry Pi Operating SystemSet Up the Raspberry PiInstalling The ServerInstall MySQLInstall FTPConfigure FTPThe Finishing Touches Edited by Zach, Tri.infinite, AnguishedEnd, June and 15 others If you are looking for a way to make a cheap web server, primarily to be used as a testing environment or to store files, then the Raspberry Pi is perfect for you. What is a Raspberry Pi? It is a new inexpensive mini computer, perfect for

How To Set Up MySQL Master-Master Replication

How To Set Up MySQL Master-Master Replication https://www.digitalocean.com/community/articles/how-to-set-up-mysql-master-master-replication Intro This second installment of “Scaling Web Applications” will list out the steps necessary for scaling a mysql deployment over two VPS. The first article in this series laid out the steps needed to load-balance nginx over two VPS, and it is recommended that you read that article first. MySQL replication is the process by which a single data set, stored in a MySQL database, will be live-copied to a second server. This configuration,

MySQL Python tutorial

http://zetcode.com/db/mysqlpython/ MySQL Python tutorial This is a Python programming tutorial for the MySQL database. It covers the basics of MySQL programming with Python. It uses the MySQLdb module. The examples were created and tested on Ubuntu Linux. There is a similar PostgreSQL Python tutorial, MySQL Visual Basic tutorial, or MySQL PHP tutorial on ZetCode. If you need to refresh your knowledge of the Python language, there is a fullPython tutorial. You may also consider to look at the MySQL tutorial, too. About MySQL database MySQL

Python Joystick Test

  Instalasi & Testing Koneksi Joystick   import pygame as p p.init() stick = p.joystick.Joystick(0) stick.init() print(“initialized:”,bool(stick.get_init())) print(stick.get_name()) while stick.get_axis(0)*100 < 399: print(round(stick.get_axis(0)*100)) #need for right detection otherwise stick.get_axis always returns 0 for event in p.event.get(): None p.quit()