qemu virtual machine manager
Install qemu virtual machine manager
sudo apt-get install virt-manager
Reboot your system after installation.
nmap for ip/hostname scan
install nmap via below command
sudo apt-get install namp
Scan IP (example)
nmap -sP 192.168.1.0/24
Scan Hostname
nmap -A 192.168.1.0/24
wireless network setting
edit /etc/network/interfaces
sudo nano /etc/network/interfaces
Here is an example for setting a wirless network with fixed ssid
auto wlan0
iface wlan0 inet dhcp
wireless-essid my_ssid
wireless-mode Managed
Fix Network Tray Icon Missing
Install following package to fix this problem
sudo apt-get install indicator-applet-complete
config boot process - sysv-rc-conf
Install sysv-rc-conf
sudo apt-get install sysv-rc-conf
sudo sysv-rc-conf
Run it
sublime 2/3 on Ubuntu
Install Sublime2
Install Sublime3
Reduce Initramfs to speed up boot time
edit /etc/initramfs-tools/initramfs.conf, change MODULES=dep instead of MODULES=most
Run below command to rebuild initramfsSamba Utility
Install samba utility
sudo aptitude install cifs-utils
Example for mounting a samba folder
sudo mount -t cifs //192.168.0.15/myfiles /home/usr/files -o rw
Caching git Password
Ubuntu Enable colored Highlights in Terminal
edit .bashrc
sudo nano ~/.bashrc
Uncomment
Ubuntu Enable Wireless Network in Terminal
Install wireless tools
sudo apt-get install wireless-tools
Enable Wireless network
sudo ifconfig wlan0 up
List down all available wireless network
sudo iwlist wlan0 scan
Setting up SSID
iwconfig wlan0 essid "your_ssid"
Enable DHCP
dhclient wlan0
Ubuntu 15.04 Build Single Module
Get source code from apt-get
sudo apt-get source linux-3.19.0
change directory to linux source code and type following commandscd linux-3.19.0
copy current kernel config as .config in current folder (or you can config it by typing make oldconfig)cp /boot/config-`name -r` .config
type following commands for parparationssudo make prepare
sudo make scripts
copy Modules.symvers to current foldercp /usr/src/liunx-headers-&(uname -r)/Module.symvers .
compile specified module (ex. I'd like to rebuild block module)sudo make M=drivers/block
change directory to linux source code and type following commands
copy current kernel config as .config in current folder (or you can config it by typing make oldconfig)
type following commands for parparations
copy Modules.symvers to current folder
compile specified module (ex. I'd like to rebuild block module)
Vim with ctag & taglist
Just follow below instructions to install ctags & taglist under vim.
Install vim and ctags
sudo apt-get install vim ctags vim-scripts
Install taglist via
vim-addons install taglist
Install vim and ctags
Install taglist via
Subscribe to:
Comments (Atom)
Orange - data analysis tool
Installation pip install orange3 Run orange python -m Orange.canvas
-
Calling Gnuplot in C Download: callGnuPlot.c 懶惰是程式設計師的天性,所以才會創造出許多方便的程式,最近一直需要作圖分析,厭倦了Origin重複且繁複的設定,所以決定將要分析的資料使用c做分析後再由gnuplot畫出。 熟悉gnuplo...
-
Qt 4.5 QGroupBox with QGTkStyle 經 jensbw 前輩指導之後得知以下的效果原來是因為Qt 4.5為了要保留原生的Gnome的特效採用了QGtkStyle而造成的,並不是程式上得錯誤。而QGtkStyle則是Qt 4.5所強調的新功能之一,看來我真...
-
Installation pip install orange3 Run orange python -m Orange.canvas