이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
도움말
로그인
cacalabs
/
libcaca
의 미러
https://github.com/cacalabs/libcaca.git
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
7
위키
활동
소스 검색
force cli on remaining examples so that apache doesn't pop up a window
(this actually happens with the cocoa driver!)
tags/v0.99.beta17
Ben Wiley Sittler
bsittler
16 년 전
부모
415b54902d
커밋
fee77cac00
5개의 변경된 파일
과
19개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
caca-php/examples/cacapig.php
+4
-0
caca-php/examples/colors.php
+4
-0
caca-php/examples/fullwidth.php
+4
-0
caca-php/examples/render.php
+4
-0
caca-php/examples/truecolor.php
+ 3
- 0
caca-php/examples/cacapig.php
파일 보기
@@ -16,6 +16,9 @@
* http://sam.zoy.org/wtfpl/COPYING for more details.
*/
if (php_sapi_name() != "cli") {
die("You have to run this program with php-cli!\n");
}
$pig_str = <<<EOT
+ 4
- 0
caca-php/examples/colors.php
파일 보기
@@ -17,6 +17,10 @@
* http://sam.zoy.org/wtfpl/COPYING for more details.
*/
if (php_sapi_name() != "cli") {
die("You have to run this program with php-cli!\n");
}
$cv = caca_create_canvas(80, 24);
if(!$cv)
{
+ 4
- 0
caca-php/examples/fullwidth.php
파일 보기
@@ -18,6 +18,10 @@
* http://sam.zoy.org/wtfpl/COPYING for more details.
*/
if (php_sapi_name() != "cli") {
die("You have to run this program with php-cli!\n");
}
define('CACA', "쫊쫊쫊쫊쫊쫊쫊쫊쫊쫊쫊쫊쫊쫊쫊");
$cv = caca_create_canvas(0, 0);
+ 4
- 0
caca-php/examples/render.php
파일 보기
@@ -1,6 +1,10 @@
#!/usr/bin/php5
<?
if (php_sapi_name() != "cli") {
die("You have to run this program with php-cli!\n");
}
$pig_str = <<<EOT
_._ _..._ .-', _.._(`))
+ 4
- 0
caca-php/examples/truecolor.php
파일 보기
@@ -18,6 +18,10 @@
* http://sam.zoy.org/wtfpl/COPYING for more details.
*/
if (php_sapi_name() != "cli") {
die("You have to run this program with php-cli!\n");
}
$cv = caca_create_canvas(32, 16);
if(!$cv) {
die("Failed to create canvas\n");
쓰기
미리보기
불러오는 중...
취소
저장