2013-07-22

Change Console Resolution in Grub2

edit below file.

sudo vi /etc/default/grub

uncomment the setting "GRUB_GFXMODE=640x480", and change to the resolution what you want.

update grub and reboot.

sudo update-grub
sudo reboot

i test it on ubuntu 13.04, and it works.


Reference:

ubuntu 10.04 console resolution
Grub 2 and the VGA parameter

2013-06-23

備份一下 自己加的 css

code

code {
  padding: 2px 4px;
  color: #d14;
}

pre

pre {
  font-family: monospace;
  padding: 6px;
  margin: 0;
  font-size: 12.025px;
  line-height: 18px;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

blockquote

blockquote {
  color:#222;
  background-color: #FFD5A0;
  padding: .3em .5em;
  border: 2px #E2C8AF dashed;
}

reference

reference {
  display: block; /* fixes a strange ie margin bug */
  background: #FEE url(http://chenkaie.googlepages.com/Code_REF.gif) left top repeat-y;
  border: 1px dotted #933;
  padding: 10px 10px 10px 20px;
  margin: 5px 0 0 5px;
  font-size: 13px;
  font: Courier New;
  line-height: 1.6em;
}