-release
First, disable all OBS databases or any third-party libraries, perform upgrades, and then re-enable them.First, let's check whether there is an update library and enable it. Run the following command on the terminal:
zypper repos --uri
The input content is as follows:
# | Alias | Name | Enabled | Refresh | URI–+—————————+————————————+———+———+———————————————————————1 | openSUSE-13.1-1.10 | openSUSE-13.1-1.10 | Yes | No | cd:///?devices=/dev/disk/by-id/ata-VBOX_CD-ROM_VB2-01700376,/dev/sr
Due to recent work, we need to port Android x86 (arm> x86). Now we will summarize the process and problems encountered during this period, I hope to help students who are just as tortuous as I am.
Environment Introduction:
1. Ubuntu 8.04: others may have updated versions. I use 8.04 myself.
2. VMWare: Virtual Machine
3. Network Environment
Preparations:
1. There are many online tutorials for installing Ubuntu 8.04 on Vmware.
2. Configure some development tools for Ubuntu, you can refer to the
with ADB, push the bimage directly to the Linux directory of the Mount node and replace the Bimage:ADB push Bimage/mnt/nand/linux3>. Sync rebootADB shellSyncReboot7.git and Repo basic commands---------------------------------------------------------------------------------Repo========================1>. Repo status-View all git statuses under project2>.
[[email protected] ~]# echo a b c d |sed ' s/\w\+/[]/g ' [a] [b] [C] [d] represents the previously matched content and then adds what needs to be replaced later:[Email protected] ~]# echo "202.106.0.20" |sed ' s/202.106.0.20/dns/g ' 202.106.0.20DNSSUBSTRING matching tag \1Matches a part of a given style, the first uses \1 the second uses \2, the following is the Intercept IP and MAC address[Email protected] ~]# ifconfig eth0|sed-n ' s/^.*addr:\ (. *\). * Mask:\ (. *\) $/ip:\1 mac:\2/gp ' ip:10.0
source code, the unit of view width is pixels.
/** * Return the width of the your view. * * @return The width of your view, in pixels. */ @ViewDebug.ExportedProperty(category = "layout") public final int getWidth() { return mRight - mLeft; }
Write a demo and test the Code as follows:
Public class mainactivity extends activity {@ overrideprotected void oncreate (bundle savedinstancestate) {super. oncreate (savedinstancestate); mlinearlayout root = new mlinearla
.
Preparations
1. create a test database
Create database testQuery
2. create a test table
CREATE TABLE table1( uid VARCHAR(10) NOT NULL, name VARCHAR(10) NOT NULL, PRIMARY KEY(uid))ENGINE=INNODB DEFAULT CHARSET=UTF8;CREATE TABLE table2( oid INT NOT NULL auto_increment, uid VARCHAR(10), PRIMARY KEY(oid))ENGINE=INNODB DEFAULT CHARSET=UTF8;
3. Insert data
Insert into table1 (uid, name) VALUES ('AAA', 'Mike '), ('BBB', 'Jack'
execution is like this1 from Although I did not think so, but a look is still very natural and harmonious, from where to obtain, constant filtration conditions, to choose the same or different, the order, that only know how to take the first few. That being the case, let's take a step-by-step look at the details.preparatory work1. Create a test databaseCreate DATABASE Testquery2. Create a test tableCREATE TABLE table1 ( uid varchar) NOT NULL, name VARCHAR (TEN) not NULL, PRIMARY KEY (U
Android L downloadAndroid L has finally come out, so we can download it for a while, so how can we get the latest L branch?Summary by following the dummies steps (Linux Ubuntu)1. Get the repo File(1) curl https://storage.googleapis.com/git-repo-downloads/repo> ~ /Bin/repo(2). chmod a + x ~ /Bin/
Android L download and androidl downloadAndroid L has finally come out, so we can download it for a while, so how can we get the latest L branch?Summary by following the dummies steps (Linux Ubuntu)1. Get the repo File(1) curl https://storage.googleapis.com/git-repo-downloads/repo> ~ /Bin/repo(2). chmod a + x ~ /Bin/
storage returns the data to the API server and then encodes it into JSON format and returns it to the web Front-End Server, the front-end uses the Go html/template package to display and format the data into HTML.
The frame chart is as follows: For more details, see recap of our Google I/O talk about building a large-scale code search engine in Go .)
Test v0
When we first started building Sourcegraph, we wrote the test in the easiest way to run. Each test enters the database and initiates an h
Touch Android dual-System Installation Method
Enable dual-boot for Ubuntu and Android 4.4.2 on Nexus
Configure the Android SDK development environment in Ubuntu 14.04
Build the Android development environment under 64-bit Ubuntu 11.10 (JDK + Eclipse + ADT + Android SDK details)
How to configure the compiling environment of Android 14.04 kitkat on Ubuntu 4.4 x64
Install Android SDK on Ubuntu 12.10x64
The following describes the download steps and solutions to problems.
1. Install
Android L awaited finally come out, then we first download a glimpse for fast, then how to get the newest branch of LThat follow the Fool steps summarized under (Linux Ubuntu)1. Get the Repo file(1). Curl Https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo(2). chmod a+x ~/bin/
Download Android code in Ubuntu
1. Install Git and Repo
First, make sure to create a/bin directory under the current user's home directory (if not), and then put it (~ /Bin) to the path environment variable.
Www.bkjia.com @ ubuntu :~ $ Vim. bashrc Add:
Export PATH = $ PATH :~ /Bin
Www.bkjia.com @ ubuntu :~ $ Source. bashrc
Www.bkjia.com @ ubuntu :~ $ Echo $ PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: /home/a/bin www.bk
2: DHCP Server(Assign addresses to the AP, and assign addresses to wireless users using Windows DHCP) (Cisco3750SW) (config) # ip dhcp pool vlan96 (Cisco3750SW) (config-dhcp) # network 172.16.22.0 255.255.255.255.0 (Cisco3750SW) (config-dhcp) # default-router 172.16.22.1 (Cisco3750SW) (config-dhcp) # option 43 ip address 100.100.6.188 (Cisco3750SW) (config-dhcp) # exit (Cisco3750SW) (config) # service dhcp
2: Cisco ACS Server
;
The above is a lege
First, into the adorner
1, first of all we have such a piece of code, this code if it is a function of N business units
1 def F1 (AAA): 2 print (' I am F1 business ') 3 if AAA = = ' F1 ': 4 return ' OK ' 5 6 def f2 (AAA): 7 print (' I am F2 business ') 8 if AAA = = ' F2 ': 9 return ' OK '
Here is when
A machine (SSH connection initiator, i.e. client):Add a test user AAA
The code is as follows:
[Root@a ~]# Useradd AAA
Su becomes AAA
The code is as follows:
[Root@a ~]# SU-AAA
[Aaa@a ~]$
Ssh-keygen Create an RSA key pair
The code is as follows:
process #62735 is not running!Starting MySQL........ SUCCESS! #重启数据库[[emailprotected] ~]# mysql -u root -pEnter password: mysql> change master to master_host=‘192.168.58.130‘,master_user=‘myslave‘,master_password=‘123456‘,master_log_file=‘master-bin.000001‘,master_log_pos=338#指定主服务器,登录账号和密码,同步文件和文件偏移量mysql> start slave;Query OK, 0 rows affected (0.28 sec)#开启slave同步功能mysql> show slave status\G;You can see the master-slave synchronization is successful, do a validation on the primary database to
process #62735 is not running!Starting MySQL........ SUCCESS! #重启数据库[[emailprotected] ~]# mysql -u root -pEnter password: mysql> change master to master_host=‘192.168.58.130‘,master_user=‘myslave‘,master_password=‘123456‘,master_log_file=‘master-bin.000001‘,master_log_pos=338#指定主服务器,登录账号和密码,同步文件和文件偏移量mysql> start slave;Query OK, 0 rows affected (0.28 sec)#开启slave同步功能mysql> show slave status\G;You can see the master-slave synchronization is successful, do a validation on the primary database to
global level i .Each cycle, the value of i the variable will change, and within the loop is assigned to the inside of the a function of the array, the console.log(i) inside of the i point is the global i . That is, all of the a members of the array i , pointing to the same i , whether the loop to the first several times, resulting in the output of the runtime is the last round of the i value, that is, 10.var a=10function aaa (a) {alert (a);}function
Install mysql in centos5.8
1. Install mysql yum Source
Download the rpminstallation package of mysql's latest yumsource from http://dev.mysql.com/downloads/repo/yum/
wget http://repo.mysql.com//mysql57-community-release-el6-9.noarch.rpm
Use yum to install the rpm package
yum install mysql57-community-release-el6-9.noarch.rpm
Detect mysql yum sources
yum repolist enabled | grep "mysql.*-community.*"
2. Select the mysql installation version from the m
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.