text-indent: -1em

※ああああああああああああああああああああああああああああああああああああああああああああああああああああああ


※ああああああああああああああああああああああああああああああああああああああああああああああああああああああ

.hoge {
  text-indent: -1em;
  margin-left: 1em;
} 


Thanx!! http://dekoboko.org

nvidiaドライバのセットアップ

[システム]-[システム管理]-[制限付きドライバの管理]-[NVIDIAの高性能グラフィックドライバ]
有効にする。

再起動して、[制限付きドライバを有効にするにはここをクリック]。

Ubuntu 解像度の変更

/etc/X11/xorg.conf


Section "Monitor"
HorizSync 1.0-10000.0
VertRefresh 1.0-10000.0


Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection

FizzBuzz (JavaScript)

1から100までの数をプリントするプログラムを書け。ただし3の倍数のときは数の代わりに「Fizz」と、5の倍数のときは「Buzz」とプリントし、3と5両方の倍数の場合には「FizzBuzz」とプリントすること。

<html>
  <head>
  <title>FizzBuzz</title>
  <script type="text/javascript">
  <!--
  function fizzbuzz() {

    for (var i=1; i<=100; i++) {

      if (i%(3*5) == 0) {
        document.write('FizzBuzz ');
      }else if (i%(3) == 0) {
        document.write('Fizz ');
      }else if (i%(5) == 0) {
        document.write('Buzz ');
      }else {
        document.write(i + ' ');
      }
    }

  }
  //-->
  </script>
  </head>
  <body>
  <script type="text/javascript">
    fizzbuzz();
  </script>
  </body>
</html>