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
########## script.rpy ########## | |
label start: | |
"Choose the correct box!" | |
menu: | |
"RIGHT BOX": | |
"Umm, right?" | |
"LEFT BOX": | |
"Umm, left?" | |
"It's wrong!" | |
"The other box is correct, isn't it?" |
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
########## script.rpy ########## | |
init python: | |
style.default.font = "YOzRN.TTC" | |
style.default.language = "eastasian" | |
style.nvl_menu_choice_button.top_margin = 20 | |
style.nvl_window.background = "nvl_window.png" | |
style.nvl_window.xpadding = 55 |
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
# | |
# MultiCharacter example script for: | |
# https://github.com/vbkaisetsu/renpy/compare/multi-character | |
# | |
# Author: Koichi Akabe <[email protected]> | |
# | |
############################################################################## | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# Version 2, December 2004 | |
# |
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
To build renpy modules on Debian/Ubuntu: | |
$ export RENPY_DEPS_INSTALL="/usr::`find -O2 /usr/lib -name libfreetype.so 2>/dev/null | xargs dirname`" | |
$ export RENPY_CYTHON=cython | |
$ cd ./module | |
$ ./setup.py build | |
The following command install it on your system: | |
$ sudo ./setup.py install |
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/python3 | |
# | |
# Author: Koichi Akabe <vbkaisetsu at gmail.com> | |
# | |
############################################################################## | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# Version 2, December 2004 | |
# | |
# Copyright (C) 2004 Sam Hocevar <[email protected]> | |
# |
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
コンピュータ コンピューター | |
プリンタ プリンター | |
スキャナ スキャナー | |
リーダ リーダー | |
ドライバ ドライバー | |
ユーザ ユーザー | |
フォルダ フォルダー | |
プロパティ プロパティー | |
エディタ エディター | |
メッセンジャ メッセンジャー |
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
1. Launchpad で翻訳を進めます | |
2. bzr を使って、翻訳データを手元にブランチします | |
$ bzr branch lp:~vbkaisetsu/renpy-doc/renpy-doc-translation | |
この作業により、カレントディレクトリーに renpy-doc-translation フォルダーが作成されます。 | |
2回目以降は、renpy-doc-translation の中で次のコマンドを実行して翻訳データを更新します | |
$ bzr pull | |
3. git で Ren'Py の開発ディレクトリー(以下 renpy-dev) を更新します |
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
MAIN:=tech-report.tex | |
SOURCES:=$(wildcard sections/*.tex figures/*.tex tables/*.tex) | |
STYLE:=$(wildcard *.sty) | |
BIB:=$(wildcard *.bib) | |
FIGURES:=$(wildcard figures/*.eps figures/*.pdf figures/*.svg) | |
PDFFIGURES:=$(wildcard figures/*.pdf) | |
SVGFIGURES:=$(wildcard figures/*.svg) | |
SVGPDFFILES:=$(SVGFIGURES:%.svg=%.pdf) | |
XBBFILES:=$(PDFFIGURES:%.pdf=%.xbb) $(SVGPDFFILES:%.pdf=%.xbb) | |
DVIFILES:=$(MAIN:%.tex=%.dvi) |
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/python3 | |
import argparse | |
import os, sys | |
import threading | |
def cmdRunner(cmd): | |
os.system(cmd) |
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/python3 | |
def euculid_gcd(a, b): | |
x = a.zero() | |
y = a.identity() | |
x_1 = a.identity() | |
y_1 = a.zero() | |
while True: | |
c = a % b | |
if not c: |
OlderNewer