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 | |
SCRIPT_NAME="wpized" | |
BASE_NAME="wpized_base" | |
# Location where wpized base is located. | |
# When there's an update, the compressed file in this URL must be updated. | |
# @TODO By using automatic build file, i.e Github, we can add VERSION constant | |
# and append it as suffix of URL_DOWNLOAD. | |
WPIZED_FILE="wpized_base.tar.gz" |
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/bash | |
UNAME=$(uname) | |
if [ "$UNAME" != "Linux" -a "$UNAME" != "Darwin" ] ; then | |
echo "Your OS is NOT supported yet." | |
exit 1 | |
fi | |
# Find the wpized dir, following one level of symlink. Note that symlink | |
# can be relative or absolute. Too bad 'readlink -f' is not portable. |
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
# Want to show hidden files and folders in your TextMate project drawer? Simple, just modify the file and folder patterns in TextMate's preferences. | |
# Instructions: | |
# Go to TextMate > Preferences... | |
# Click Advanced | |
# Select Folder References | |
# Replace the following: | |
# File Pattern Original |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<style> | |
#arena { | |
position: relative; | |
width: 400px; |
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
$ ifconfig | |
eth0 Link encap:Ethernet HWaddr 00:50:fc:99:96:e3 | |
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0 | |
inet6 addr: fe80::250:fcff:fe99:96e3/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:36311 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:36902 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:24450223 (24.4 MB) TX bytes:6426466 (6.4 MB) | |
Interrupt:16 Base address:0xe800 |
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
Installing PHP SAPI module: cgi | |
Installing PHP CGI binary: /usr/local/bin/ | |
Installing PHP CLI binary: /usr/local/bin/ | |
Installing PHP CLI man page: /usr/local/man/man1/ | |
Installing build environment: /usr/local/lib/php/build/ | |
Installing header files: /usr/local/include/php/ | |
Installing helper programs: /usr/local/bin/ | |
program: phpize | |
program: php-config | |
Installing man pages: /usr/local/man/man1/ |
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
# The leading '>' was added by diff tool | |
> /home/lang/php | |
> /home/lang/php/man | |
> /home/lang/php/man/man1 | |
> /home/lang/php/man/man1/phpize.1 | |
> /home/lang/php/man/man1/php.1 | |
> /home/lang/php/man/man1/php-config.1 | |
> /home/lang/php/bin | |
> /home/lang/php/bin/phar |
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
> /usr/share/doc/libjpeg62 | |
> /usr/share/doc/libjpeg62/README.gz | |
> /usr/share/doc/libjpeg62/changelog.gz | |
> /usr/share/doc/libjpeg62/changelog.Debian.gz | |
> /usr/share/doc/libjpeg62/copyright | |
> /usr/share/doc/libjpeg62-dev | |
> /usr/share/doc/libjpeg62-dev/structure.doc.gz | |
> /usr/share/doc/libjpeg62-dev/libjpeg.doc.gz | |
> /usr/share/doc/libjpeg62-dev/examples | |
> /usr/share/doc/libjpeg62-dev/examples/example.c.gz |
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
< /lib/libpng12.so.0.44.0 | |
< /lib/libpng12.so.0 | |
< /usr/share/man/man5/png.5.gz | |
< /usr/share/man/man3/zlib.3.gz | |
< /usr/share/man/man3/libpng.3.gz | |
< /usr/share/man/man1/libpng12-config.1.gz | |
< /usr/share/man/man1/libpng-config.1.gz | |
< /usr/share/doc/libpng12-dev | |
< /usr/share/doc/libpng12-dev/examples |
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/bash | |
# | |
# Build multiple PHP versions. Inspired by | |
# http://derickrethans.nl/multiple-php-version-setup.html | |
# This script assumes you have Git and build tols installed. | |
# | |
# Author: Akeda Bagus <[email protected]> | |
# Licensed under MIT license. | |
# To reduce outgoing request, clone from |
OlderNewer