Recently found a fun thing, Lakka, what is it? It is a game simulator, but not those simple game simulator, it can play a lot of games, arcade games, red and white machine games, PS games, such as the synthesizer.A link to the official website: Lakka official websiteAbout Lakka's introduction, the direct official website cut a diagram to explain under:Four points: strong, friendly, low cost, open source!!Friendly on the table now to realize this universal game is too easy! The steps of the offic
linux applications. the reason is very simple. perl is fading out, ruby is not powerful, shell is not enough, php is not suitable, and java is not explained.
I remember that the Redhat 7 character interface installer was written in python, which was almost the first time I heard about python. it was very powerful, easy to use, and easy to modify and adjust.
Don't waste time and energy on things unrelated to business logic
Yesterday, my wife read the RPi
Raspberry Pi is abroad, which may be slower when used domestically, where the source is modified to the source provided by Aliyun . To facilitate my first installation of the Vim software, because it is not used to the Raspberry Pi with the VI software.
sudo apt-get updatesudo apt-get install vim -y
Then make changes to the source:
sudo vim /etc/apt/sources.list//注释掉原来的源//然后添加以下源deb http://mirrors.aliyun.com/raspbian/raspbian/ stretch main non-free contrib rpideb-src http://mirrors.aliyun.com/r
1. Requirements:The project needs to add a USB network card to the Respberry pi, which needs some network setup for this NIC when the Respberry pi is started.2. Implementation options:(1) Add the following code to the/etc/rc.local file:if [-x/etc/mynet.conf]; Then/etc/mynet.conf fi(2) Complete the mynet.conf script and put it in the/etc/directory, the contents of mynet.conf are as follows:#!/bin/bashwhile!IW Dev wlan1 Info >/tmp/netlog; Do sleep 0.2 did ifconfig wlan1 down IWS dev Wlan1 interfac
tracking in the room.
The following is a simple example of motion detection and tracking. At that time, I was making a call to move back and forth in the apartment.Install OpenCV and Python on Raspberry Pi 2/B +
Assume that you have Raspberry Pi 2/B + installed. If you don't have one, I suggest you buy one, which is both cheap and fun.
Personally, I prefer to pay more for it from Canakit. Their logistics is fast and reliable, and their ready-to-go service is also very good.
Okay, let's start in
1. Replace the default apt-get source for Rasbiansudo vi/etc/apt/sources.listDeb Http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/wheezy main contrib Non-free RPIDEB-SRC http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/wheezy Main contrib non-free RPIDeb Http://mirrors.neusoft.edu.cn/raspbian/raspbian/wheezy main contrib Non-free RPIDEB-SRC http://mirrors.neusoft.edu.cn/raspbian/raspbian/wheezy Main contrib non-free RPIDeb Http://mirrors.ustc.edu.cn/raspbian/raspbian/wheezy main contri
environments, but in a different scenario, a server based on the arm scenario is a promising
Forward
1. Raspberry Pi 2 B Cluster
The original PO on the microblog called the Tang Prairie dry giant Many
If it's a floating-point calculation, the Raspberry Pi will fail.
If it is playing IO throughput the Raspberry Pi is very hopeful
We used Cubieboard to do the test study, the cost is limited when the practiced hand Raspberry Pi performance is not as good as it advertised, my own test result i
Preliminary practice of Raspberry Pi remote LoginThe VNC installation section in this article and the way to implement the VNC server-side Autorun are from the following URLs: HTTP://SHUMEIPAI.NXEZ.COM/2013/09/04/LOGIN-RPI-WITH-VNC.HTML?VARIANT=ZH-CNBefore buying a Raspberry Pi 3, but also bought a small screen, already through the self-brought screen to set up good wifi. In the use of the found not only the screen is small, and display is not good. S
{start|stop}"Exit1 ;;EsacExit0Save Ctrl+o Exit Ctrl+x2.3.4, set file permissions, update the boot from startup listsudo chmod 777 /etc/init.d/tightvncserversudo update-rc.d tightvncserver defaults2.3.5, on Windows or Android VNC Client connection: 192.168.1.102:5901 can2.4. Setting up Windows Remote Desktop2.4.1, installation XRDPsudo Install XRDP2.4.2, Windows side use Mstsc.exe connection can2.5. Install Input Method2.5.1, installation IBUssudo Install IBUs sudo Install Ibus-pinyin2.5.2, s
Recently in the development of the Smart Home Project Hestia-rpi project, due to the unreasonable hierarchy of code structure, the circular reference (import) module failed, the error is as follows:
12345678910
Traceback (most recent call last):File "./main.py", line 8, in amp;amp;lt;moduleamp;amp;gt;from hestiarpi.library.server import serverFile "/home/pi/server/hestiarpi/library/server/server.py", line 4, in amp;amp;lt;moduleamp;am
. /.. /linux/arch/arm/boot/zimage
You can see a file called: Kernel.img under the current folder, which is the new kernel we need.
d, extract modules
The previous step actually not only compiled the kernel source code, some module files are also compiled, here we extract
$CD RASPBERRYPI_SRC
$mkdir Modules
$CD Linux
$ make Modules_install install_mod_path=. /modules
We can get the module files we need in modules
2, upgrade the RPI kernel, Firmware, L
The answer is yes.
There are 26 pins on the Raspberry Pi Board, these gpio (general purpose I/O) including SPI, I²c, serial UART, 3V3 and 5V power supply.
Domestic forum There is an article "RASPBMC Setting Infrared receiver" describes how to install the RASPBMC operating system for Raspberry Pi, install the infrared receiver for remote control.
The following figure defines the 26 pin pins for the Raspberry Pi
Raspberry Pi is much more expensive than an ordinary Arduino motherboard, and if y
ss = from R in Db.
Am_recproscheme r.rpid Descending Group R by R.rectype into N Select New {N.key,//This Key is RecType RpI
D = n.sum (r = r.rpid),//group rpid and maxrpid = N.max (r = r.rpid),//maximum rpid in the group
Minrpid = N.min (r = r.rpid),//Minimum rpid} in the group; foreach (Var t in ss) {Response.Write (T.key + "--" + T.rpid + "--" + T.maxrpid + "--" + t.min
RPID); }
program Interface
UPI
Net8
Oracle program Interface
OPI
Compilation Layer
Kk
Execution Layer
KX
Distributed Execution Layer
K2
Network program Interface
NPI
Security Layer
KZ
Query Layer
KQ
Recursive program Interface
RPI
Access Layer
Ka
Data Layer
, how to optimize? optimization is the most basic is to create the index, how to create the appropriate index, so we will use the Explian command, added in front of the slow query statement, and we can add parameters Sql-no-cache \g, see if we go index, note that there is a key, Really show whether to walk the index, if not walk the index, it is necessary to set up, then how to set it???For example, we query all users of the current system, and this query statement enables the PRIMARY primary ke
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.