ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
This gist assumes:
- you have a local git repo
- with an online remote repository (github / bitbucket etc)
- and a cloud server (Rackspace cloud / Amazon EC2 etc)
- your (PHP) scripts are served from /var/www/html/
- your webpages are executed by apache
- apache's home directory is /var/www/
이 문서가 여기저기 알려짐에 따라, 이곳에 여러가지 댓글이 달리고 있습니다. 개인적으로는 댓글창을 없애버리고 싶지만 그럴 수 없는 터라, 댓글을 달기 전에 한번씩만 더 생각해주셨으면 합니다.
- 개인적인 감상은 이곳이 아닌 다른 곳에 적어주세요.
- 동성애 혐오적인 댓글을 달지 마세요.
- 기타 "난해한 혀엉... 언어"와 관련없는 댓글을 달지 말아주세요.
위 사항들을 포함해 제 마음에 안 드는 댓글들은 임의로 삭제하고 있습니다. 양해 부탁드립니다.
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
<?php | |
//class docs: http://www.orderingdisorder.com/aws/ses/ | |
require_once('ses.php'); | |
//get credentials at http://aws.amazon.com My Account / Console > Security Credentials | |
$ses = new SimpleEmailService('ACCESSkeyID', 'SECRETaccessKEY'); | |
$m = new SimpleEmailServiceMessage(); |
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
<?php | |
/** | |
* php database dump tool for mysql | |
* @author https://github.com/landzz | |
* @version 0.1 | |
*/ | |
error_reporting(E_ALL ^ E_NOTICE); | |
@set_time_limit(0); |
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
<?php | |
/** | |
* php directory explorer | |
* | |
* @author https://github.com/landzz | |
* @version 1.1 | |
* @link https://gist.github.com/landzz/db4037aadd44f89a0cef | |
* HTTP Digest authentication is added | |
*/ |
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
#TITLE=JavaScript | |
; JavaScript syntax file written by ES-Computing, edited by https://github.com/Eartz/ based on ECMA-262 6th Edition / Draft April 3, 2015. | |
; This file is required for EditPlus to run correctly. | |
#DELIMITER=,(){}[]-+*%/="'`~!&|<>?:;. | |
#QUOTATION1=' | |
#QUOTATION2=" | |
#QUOTATION3=` | |
#LINECOMMENT=// | |
#LINECOMMENT2= |
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
<? | |
function aes128Encrypt($key, $data) { | |
if(16 !== strlen($key)) $key = hash('MD5', $key, true); | |
$padding = 16 - (strlen($data) % 16); | |
$data .= str_repeat(chr($padding), $padding); | |
return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $data, MCRYPT_MODE_CBC, str_repeat("\0", 16))); | |
} | |
function aes128Decrypt($key, $data) { |
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
// 웹사이트에서 다운받아 적당한 곳에 압축 푸세요. | |
require_once('/경로/htmlpurifier/library/HTMLPurifier.auto.php'); | |
// 기본 설정을 불러온 후 적당히 커스터마이징을 해줍니다. | |
$config = HTMLPurifier_Config::createDefault(); | |
$config->set('Attr.EnableID', false); | |
$config->set('Attr.DefaultImageAlt', ''); | |
// 인터넷 주소를 자동으로 링크로 바꿔주는 기능 | |
$config->set('AutoFormat.Linkify', true); |
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
<?php | |
/** | |
* PHP 파일 다운로드 함수. | |
* Version 1.3 | |
* | |
* Copyright (c) 2014 성기진 Kijin Sung | |
* | |
* License: MIT License (a.k.a. X11 License) | |
* http://www.olis.or.kr/ossw/license/license/detail.do?lid=1006 |
NewerOlder