This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def fizz_buzz(n) | |
1.upto(n) do |i| | |
if i % 15 == 0 then | |
print "FizzBuzz\n" | |
elsif i % 3 == 0 then | |
print "Fizz\n" | |
elsif i % 5 == 0 then | |
print "Buzz\n" | |
else | |
print i, "\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ChangeLog b/src/ChangeLog | |
index b158eaf..d3d61a8 100644 | |
--- a/src/ChangeLog | |
+++ b/src/ChangeLog | |
@@ -1,3 +1,8 @@ | |
+2011-03-11 YAMAMOTO Mitsuharu <[email protected]> | |
+ | |
+ * unexmacosx.c (copy_data_segment): Also copy __got section. | |
+ (Bug#8223) | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/nsterm.m b/src/nsterm.m | |
index 30b73c2..6597790 100644 | |
--- a/src/nsterm.m | |
+++ b/src/nsterm.m | |
@@ -4488,7 +4488,7 @@ ns_term_shutdown (int sig) | |
code, fnKeysym, flags, emacs_event->modifiers); | |
/* if it was a function key or had modifiers, pass it directly to emacs */ | |
- if (fnKeysym || (emacs_event->modifiers | |
+ if (fnKeysym || (emacs_event->modifiers && (emacs_event->modifiers != shift_modifier) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# iNoue Koich! (modified by S. Zenitani) | |
export PATH=$PATH:/usr/texbin:/usr/local/bin | |
COMMAND=${0##*/} | |
PTEX=${COMMAND%2pdf-*} | |
ENCODE=${COMMAND#*-} | |
JOBNAME=${1##*/} | |
JOBNAME=${JOBNAME%.*} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- makefile.orig 2012-01-12 11:41:02.000000000 +0900 | |
+++ makefile 2012-01-16 14:50:51.000000000 +0900 | |
@@ -3,14 +3,14 @@ | |
# | |
# Edit these variables to be suitable for your site | |
-PREFIX = /usr/local | |
+PREFIX = /Users/henry/.emacs.d | |
## mule2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; YaTeX | |
(setq auto-mode-alist | |
(cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) | |
(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) | |
(setq load-path (cons (expand-file-name "/Users/henry/.emacs.d/site-lisp/yatex") load-path)) | |
(setq tex-command "~/Library/TeXShop/bin/platex2pdf-utf8" ; eucの場合はplatex2pdf-euc | |
dvi2-command "open -a Preview") ; Preview.appを使ってPDFを開く | |
(setq YaTeX-kanji-code 4) ; (setq YaTeX-kanji-code nil)の方がいいかもしれない。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Prerequisites for GCC | |
# http://gcc.gnu.org/install/prerequisites.html | |
# 初期設定 | |
WORK=$HOME/Builds/GCC/libs | |
PREFIX=$HOME/local | |
export PATH="$PREFIX/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# 初期設定 | |
WORK=$HOME/Builds/GCC | |
PREFIX=$HOME/local | |
export PATH="$PREFIX/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" | |
# ソースコードのダウンロード | |
if [ ! -d $WORK/src ] ; then | |
mkdir src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# 初期設定 | |
WORK=$HOME/Builds/GCC | |
PREFIX=$HOME/mingw | |
export PATH="$HOME/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" | |
# ソースコードのダウンロード | |
if [ ! -d $WORK/src ] ; then | |
mkdir src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# 初期設定 | |
WORK=$HOME/Builds/build-essential | |
PREFIX=$HOME/local | |
export PATH="$PREFIX/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" | |
# ソースコードのダウンロード | |
if [ ! -d $WORK/src ] ; then | |
mkdir src |
OlderNewer