https://github.com/scrooloose/syntastic/wiki/C--%3A---gcc
add the following into ~/.vimrc
let g:syntastic_cpp_compiler_options = ' -std=c++0x'
let g:syntastic_cpp_compiler_options = ' -std=c++0x'
That's simple enough. When you press the power button a ACPI event triggers the script at /etc/acpi/powerbtn.sh.You can edit that to just run shutdown -h now as the first thing so it looks like:#!/bin/sh# /etc/acpi/powerbtn.sh# Initiates a shutdown when the power putton has been# pressed./sbin/shutdown -h now "Power button pressed"exit 0# leave the old code below (in case you want to revert!)
gvfs-set-attribute ~/Dropbox metadata::custom-icon-name folder-dropboxRef: http://oxygene.sk/2012/10/dropbox-folder-icon-in-gnome-3/
|
Forget your USB thumbdrive, use the free 18GB-max Dropbox now 忘記你的USB手指, 使用Dropbox吧, 最多可享有18GB免費儲存空間 Apply now 立即申請 |