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
sudo chmod -R +a '_www allow read,write,delete,add_file,add_subdirectory,file_inherit,directory_inherit' <dir> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<true/> | |
<key>Label</key> | |
<string>org.apache.httpd</string> | |
<key>EnvironmentVariables</key> | |
<dict> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<true/> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>SERVER_INSTALL_PATH_PREFIX</key> | |
<string>/Applications/Server.app/Contents/ServerRoot</string> |
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 MyAccount(_MainActivity){ | |
/*--------------------------------- | |
GROUP : Load Component Dependencies | |
----------------------------------*/ | |
var H = require('/utils/Helper'); | |
var C = require('/Config'); | |
var UITextInput = require('/views/TextInput'); | |
/*--------------------------------- |
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
/** | |
* Author: ihsanberahim | |
* Author Url: http://blog.powergeng.com | |
* Author Facebook: http://facebook.com/ihsanberahim | |
* | |
* i found it from stackoverflow | |
*/ | |
function content2src($html){ | |
$doc = new DOMDocument(); |
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 | |
require_once('menu.php'); | |
?> | |
<?php load_menu() ?> | |
<table cellpadding="0" cellspacing="0" border="0" class="stdtable"> | |
<colgroup> | |
<col class="con1"> | |
<col class="con1"> | |
</colgroup> | |
<thead> |
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
class App | |
{ | |
public static $instance = null; | |
public $instance_id = null; | |
public $db; | |
function __construct() | |
{ | |
} |
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 checkUrl(url, callback) | |
{ | |
var iframe = document.createElement('IFRAME'); | |
iframe.src = url; | |
iframe.style.visibility = 'hidden'; | |
document.body.appendChild(iframe); | |
iframe.onload = function() |
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
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class GameSystem : MonoBehaviour | |
{ | |
public delegate void Route(); | |
public static event Route OnPlay; | |
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
var datesArray = ['2/9/2014']; | |
(function() { | |
$( "#datepicker" ).datepicker({ | |
beforeShowDay: function (date) | |
{ | |
var theday = date.getDate() +'/'+ (date.getMonth()+1) +'/'+ date.getFullYear(); | |
var thedates = datesArray.join('|'); | |
var bookedDateStyle = [true]; | |
if(thedates.indexOf(theday)!=-1) |