Skip to content

Instantly share code, notes, and snippets.

View mrmoneyc's full-sized avatar

Chun-Ping (Jeremy) Chang mrmoneyc

View GitHub Profile
@mrmoneyc
mrmoneyc / my.cnf
Created August 14, 2011 06:06
my.cnf
[client]
socket = /tmp/mysql.sock
default-character-set = utf8
[mysqld]
socket = /tmp/mysql.sock
datadir = /usr/local/mysql/data
<?php
define('NICKNAME', 'abc');
define('PASSWORD', 'iamabc');
define('USER_ID', '123456');
$message = 'Hello World!';
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0"/>
<meta name="format-detection" content="telephone=no"/>
<link rel="apple-touch-icon" href="/xhtml/images/favicon-57.png"/>
<style id="donotdelete">/*<![CDATA[*/
body{visibility:hidden;font-size:16px !important;margin:0 !important}#landingPage{visibility:hidden}#igoogle{text-align:right;margin-top:10px;margin-right:5px}.gp2{margin:0;text-align:center}.gp7{font-size:12pt;margin-top:5pt}#b{font-size:10pt;margin-top:4px;margin-bottom:5px}.gsc-tabHeader{margin:0;padding-top:0;padding-left:10px;padding-right:10px;padding-bottom:15px;border:none}.gsc-tabHeader.gsc-tabhActive{background:#fff;display:inline;color:#000;font