This file contains hidden or 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
| #!/usr/bin/env python | |
| from mpi4py import MPI | |
| import os | |
| import numpy | |
| import commands | |
| Comm = MPI.COMM_WORLD | |
| size = Comm.Get_size() | |
| rank = Comm.Get_rank() |
This file contains hidden or 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
| \documentclass{book} | |
| \usepackage{CJK} | |
| \usepackage[margin=2cm]{geometry} | |
| %% 這是一段註解 | |
| %% 連續的註解還不錯用 | |
| \begin{document} | |
| \begin{CJK}{UTF8}{bsmi} | |
| \title{Intermediate Perl} | |
| \author{ 原著 Randal L. Schwartz, brian d foy \& Tom Phoenix 翻譯 shelling } |
This file contains hidden or 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
| all: hello-plplot.c | |
| gcc -o hello-plplot hello-plplot.c -std=c99 -lplplotd | |
| clean: | |
| rm -rf hello-plplot |
This file contains hidden or 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
| *.aux | |
| *.log | |
| *.toc |
This file contains hidden or 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
| \documentclass[11pt,a4paper]{article} | |
| \usepackage{color} | |
| \usepackage{fontspec} | |
| \usepackage{xunicode} | |
| \usepackage{xltxtra} | |
| \usepackage[margin=2cm]{geometry} | |
| \newfontfamily\msjh{Microsoft JhengHei} |
This file contains hidden or 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
| files = *.png | |
| fps = 30 | |
| .PHONY: all avi mp4 h264 help | |
| all: avi mp4 h264 | |
| avi: | |
| mencoder 'mf://$(files)' -mf type=png:fps=$(fps) -ovc lavc -lavcopts vcodec=wmv2 -o animation.avi |
This file contains hidden or 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
| #### Contents of the preconfiguration file (for lenny) | |
| ### Localization | |
| # Locale sets language and country. | |
| d-i debian-installer/locale string en_US.UTF-8 | |
| # Keyboard selection. | |
| #d-i console-tools/archs select at | |
| d-i console-keymaps-at/keymap select us | |
| # Example for a different keyboard architecture | |
| #d-i console-keymaps-usb/keymap select mac-usb-us |
This file contains hidden or 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
| \widetilde{E} = \sqrt{\frac{\epsilon_0}{\mu_0}}E | |
| \widetilde{D} = \frac{1}{\sqrt{\epsilon_0\mu_0}}D | |
| \frac{\partial E}{\partial t} = \frac{1}{\epsilon_r\epsilon_0}\nabla\times H - \frac{\sigma_E}{\epsilon_r\epsilon_0} E | |
This file contains hidden or 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
| .PHONY: all | |
| all: | |
| mv matlab.png /usr/share/icons/hicolor/256x256/apps/ | |
| mv matlab.desktop /usr/share/applications/ | |
| echo alias matlab=\'matlab -nodisplay\' >> /etc/bash.bashrc | |
| update-menus |
This file contains hidden or 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
| .PHONY: all | |
| all: | |
| cp gnome-terminal.desktop /usr/share/applications | |