- 博客(44)
- 资源 (3)
- 收藏
- 关注
原创 Things to do after install Fedora 25 workstation
1. Do system update sudo dnf update2. added rpm-fusion repo sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-25.noarch.rpm3.Install VLC Media Player
2017-03-02 18:00:14
331
原创 How to install tftp-server on Fedora 25 workstation
1. sudo dnf install tftp-server2.sudo systemctl start tftp.socket3.sudo systemctl enable tftp.socket4.sudo firewall-cmd --permanent --add-service=tftp5.sudo firewall-cmd --reload
2017-02-20 18:03:02
354
原创 TTL To UART RS232 COM Serial Port Adapter Cable
Black cable-----GND.Green cable----TXD.White cable----RXD.Red cable ---- VCC.Connection method: Brush requires only three lines, generally used only three signal lines RX TX GND
2017-02-15 18:08:47
551
原创 installing crosstool-ng on fedora25 , kernel 4.8.6, crosstool-ng 1.22.0
1. cd crosstool-ng ./configure --enable-local make make install2. ./ct-ng menuconfig3. ./ct-ng build replace the four files in crosstool-ng/.build/src/gcc-5.2.0/gcc/cp/, Make-la
2017-01-24 18:23:10
328
原创 How to remove unused kernel from fedora 25
1.0 rpm -qa kernel1.1 sudo dnf remove kernel-4.9.3-200.fc25.x86_642.sudo rm -f /boot/vmlinuz-4.9.3-200.fc25.x86_64 /boot/initramfs-4.9.3-200.fc25.x86_64.img3. sudo grub2-mkconfig -o /boot
2017-01-20 12:32:40
357
原创 How to add network openconnect editor to fedora 25?
sudo dnf install NetworkManager-openconnect-gnome
2017-01-20 12:27:07
238
原创 How to run arduino uno blink demo on Fedora 24?
1. Download the IDE from www.arduino.cc.2. Extract the tar.gz file into a folder, and run ./install.sh3. connect arduino board with USB cable.3.1. run sudo ./arduino4. Open
2016-12-21 12:26:32
335
原创 QNX memo continue
1.use qnx_660\run_qde.exe to launch QNX Momentics IDE to download bin file to target device . Target File System Navigator.2. before launch bin file , need to execute "export QQNX_PHYSICAL_SCREEN
2016-11-01 11:11:15
200
转载 The special grammar for PHP
1.variable variables $recipe = "spaghetti"; $$recipe = "& meatballs"; echo $recipe $spaghetti; echo $recipe ${$recipe};The result of both is the string spaghetti & meat
2016-08-26 10:50:32
205
原创 install yii2 for php 5.4 on CentOS 7
1. curl -sS https://getcomposer.org/installer | php2. sudo mv composer.phar /usr/local/bin/composer3. check if php_mbstring installed using "php -m |grep mbstring", if not, install the module us
2016-08-12 20:25:30
919
原创 how to import github Oauth token
composer config --global github-oauth.github.com
2016-08-10 16:59:16
828
原创 install composer for php 7 on CentOS 7
1. sudo yum install php70u-php-json2. sudo yum install php70u-json3.sudo curl -sS https://getcomposer.org/installer | php4.sudo mv composer.phar /usr/local/bin/composer5. sudo chmod a+x /usr/l
2016-08-09 16:30:28
2001
原创 how to view svn log recursively
svn log -r 1:HEADsvn log -r HEAD:1svn log -r 13:BASE
2016-07-04 19:39:53
257
原创 how to revoke the svn commit
svn merge -r 290:286 BlueTest.javasvn commit -m "rollback the bad commit 290"
2016-06-24 16:16:39
294
原创 config a writable directory on apache
chcon -Rv --type httpd_sys_rw_content_t /var/www/html/mismatch/images/
2016-04-07 20:00:10
1045
原创 vim for php
Put .vimrc into $HOME.The content of .vimrc is like this:set expandtabset shiftwidth=2set softtabstop=2set autoindent
2016-03-31 19:37:17
290
转载 php can't connect to mysql with error 13
setsebool -P httpd_can_network_connect=1will also be a helpful CLI command to many people visiting this question, as to allow mysql_connet() connections from within HTTP (Apache) requests to a rem
2016-03-07 14:57:54
275
原创 How to create a new user and grant permissions on MySql
1.Login in:mysql -u root -p2.create user:CREATE USER 'newuser' @ 'localhost' IDENTIFIED BY 'password';3.GrantGRANT ALL PRIVILEGES ON *.* TO 'newuser'@'localhost'4.FLUSH PRIVILEGES;
2016-03-07 14:52:42
397
原创 install php
sudo yum install php php-mysqlsudo systemctl restart httpd.servicesudo firewall-cmd --permanent --zone=public --add-service=http sudo firewall-cmd --permanent --zone=public --add-servi
2016-02-25 20:00:20
296
原创 install mariedb
sudo yum install mariadb-server mariadbsudo systemctl start mariadbsudo mysql_secure_installationsudo systemctl enable mariadb.service
2016-02-25 17:20:16
336
原创 install Apache on CentOS 7
sudo yum install httpdsudo systemctl start httpd.servicesudo systemctl enable httpd.servicefirewall-cmd --permanent --add-service httpsystemctl restart firewalld.service
2016-02-25 15:22:06
405
原创 Java multithread
1. Two form of new thread declaration: extends Thread, or implements a Runnable interface.2.run() is the execute code.3.start() is the start button.4.Use isAlive() to determine is the thread
2015-09-15 17:37:32
457
原创 What does Java differ from c/c++?
1. The file name must match with the class name.2. The char type is 16-bits.3.Support new "normal logical operators", such as "&" and "|".
2015-09-12 14:32:03
544
原创 adt can not found in eclipse
In linux64 android environment, Eclipse prompted that adt could not be found.solution:sudo yum install libstdc++.i686 ncurses-libs.i686 zlib.i686
2015-07-14 17:21:37
313
转载 Linus says: C++ is a horrible language.
From: Linus Torvalds linux-foundation.org>Subject: Re: [RFC] Convert builin-mailinfo.c to use The Better String Library.Newsgroups: gmane.comp.version-control.gitDate: 2007-09-06 17:50:28 GMT
2015-02-13 18:11:39
592
原创 to do list:
1. 需要弄清楚Citect 是如何确定最大单元数的.UNIT_DB* pUnit = &pCp->pUnitDataBase[0];
2011-07-29 15:30:53
292
原创 microprocess , microcontroller, and Soc
A microprocessor is a processor implemented (usually) on a single, integrated circuit. With the exception of those found in some large supercomputers, nearly all modern processors are microprocessors,
2010-04-01 11:22:00
518
原创 C editing with Vim HOWTO
2 moving around 2.1 w, e, b keystrokes 2.2 {, }, [[, ]] keystrokes 2.3 % keystroke 3 jumping to random positions in C files 3.1 ctags ctrl-] ct
2010-03-18 16:11:00
266
原创 fedora 12 keyboard shortcuts
1. lock the desktop ctrl+alt+l l means lock. 2. toggle hide/show the desktop ctrl+alt+d d means desktop
2010-03-18 11:30:00
250
原创 verify the kernel sign
1. import the gpg key $gpg --keyserver wwwkeys.pgp.net --recv-keys 0x517D0F0E 2.verify the signature $gpg --verify linux-2.6.31.5.tar.bz2.sign linux-2.6.31.5.tar.bz2
2010-03-17 16:03:00
229
原创 scim install
1. modify the xinput.sh ,add "en" into the language list 2. scim-setup 3.System -> Preference -> input method, enable input method
2010-03-17 15:13:00
240
原创 yum usage
1. search package$yum search package2. install package$yum install package 3.update package$yum update package3.remove package$yum remove package
2010-03-17 14:19:00
255
原创 fedora 12 yum config
1.install rpm fusion$su -c rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rp
2010-03-17 13:57:00
339
原创 cscope & ctags
#!/bin/shkernel_directory=/home/franky/linux/linux-2.6.25.14find $kernel_directory -name "*.c" -o -name "*.h" > cscope.filescscope -bkq ctags -L cscope.files
2010-03-16 20:34:00
382
原创 Bash-Beginnners-Guide chapter3
1.shell initilization files system wide configuration files /et/profile /etc/bashrc individual user configuration files ~/.bash_pro
2010-03-16 14:07:00
333
原创 tar usage
1 . compress $tar -czvf hello.tar.gz hello.c makefile 2.decompress $tar -xzvf hello.tar.gz 3. list $tar -tzvf hello.tar.gz
2010-03-16 13:32:00
318
SAMS-Linux_Programming_Unleashed_Second_Edition
2009-03-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人