OPEN . FREE . SHARE

Be a man who will bring happiness to others .

长安月
How to fix wireless unstable problem

How to fix wireless unstable problem

My last blog gave a solution about how to fix wireless driver problem on Debian 8, although I could use Wi-Fi...

FIX RTL8723BE WIRELESS CARD PROBLEM ON DEBIAN8

FIX RTL8723BE WIRELESS CARD PROBLEM ON DEBIAN8

Several days ago, I installed Debian 8 on my own PC, I had dual operating systems(win7 + Debian8),However, there is...

How to install Shadowsocks-qt5 from source code on Debian 8

How to install Shadowsocks-qt5 from source code on Debian 8

Actually, I really don’t know why Debian is the best GNU/Linux distros, Although I have used GNU/Linux about 1.5 years,...

Java elementary but important knowledge

Java elementary but important knowledge

在Java中有8种基本数据类型来存储数值、字符和布尔值: ◦数值型 –整数类型:byte、short、int、long –浮点数类型:float、double ◦字符型(char) ◦布尔型(boolean) 2.不同类型变量存储的内容不同 ◦基本数据类型的变量直接保存变量的值; ◦基本数据类型是在栈空间中为变量分配空间,并将数据存储在此空间中; ◦引用数据类型的变量保存的是数据的地址; ◦引用数据类型是在堆中分配空间来存储实际数据,而在栈中分配空间存储数据在堆中的地址。 栈的存取速度快,因此将基本数据类型从引用数据类型中分离出来,为的是提高运行效率! 通常,单一的数据应用简单数据类型;类似集合性质的数据应用引用数据类型 3. 注意:在Java中, ◦true和false不能转换成任何数字表示的值。即true不等于1,false也不等于0。 ◦关系运算的结果和流程控制语句中的条件表达式的运算结果都必须是boolean型。 4.类型转换 注意: 1.在使用这种转换方式时,由于小范围数据类型的表示范围受限,在转换的过程有可能引起数据丢失现象,从而使得获得的值并不是预期的值。...

Install Sogou Pinyin in Linux(Ubuntu14.04 or other OS that bases it )

Install Sogou Pinyin in Linux(Ubuntu14.04 or other OS that bases it )

Step 1: Download deb Sogou Pinyin package http://pinyin.sogou.com/linux/download.php?f=linux&bit=32 http://pinyin.sogou.com/linux/download.php?f=linux&bit=64 Step 2: Open the terminal and input commands as following display...

Issues Collection During LFS(Updating…)

Issues Collection During LFS(Updating…)

Issues Collection During LFS(V7.9) Prerequisite preparation Q1:yacc not found sudo apt-get install bison Q2:ERROR: /bin/sh does not point to bash...

How to Move Your Home Folder to Another Partition [Linux]

How to Move Your Home Folder to Another Partition [Linux]

There are two main operations: 1.Creating a new partition Use `Gparted` to  add a new partition(such as /dev/sda4), you should...

Use Samba to share files in a local area network

Use Samba to share files in a local area network

As we all know, It’s is not an easy thing to share files between Linux and other Operating Systems. There...

C preprocessor

C preprocessor

C常见问题以建议(C——Preprocessor) 1.如果函数原型放置在其他函数定义之外,那么这个函数可以被文件中所有该函数原型之后的函数调用。如果函数原型放置在一个函数定义之内,那么这个函数只能被该函数调用。 2.不能在一个函数内部定义另一个函数 3.选择有意义的函数名和有意义的参数名,会有更好的可读性,且有助于避免过多使用注释 4.一个函数不应该长于半页。小函数能够提高软件的可重用性。 5.宏是在#define预处理指令中定义的操作,和符号常亮一样,在编译程序之前,将对程序中的宏标识符进行文本替换。宏的有点是直接在程序中插入代码,从而避免了使用函数带来的开销,缺点是它的参数将计算两次 条件编译 #ifdef VARIABLES   //#ifdef equals #if defined(VARIABLES) and #ifndef equals #if !defined(VARIABLES) #elif...

Nothing but wallpaper shows up after login in elementary OS

Nothing but wallpaper shows up after login in elementary OS

At first, I want to say if you are not  sure whether a package or an application is useful for...