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) |
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"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0"> | |
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="19" /> | |
<!-- Mandatory permission --> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<!-- Optional, but without them, you might get less ads and tracking could be less accurate --> | |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> | |
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
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 Unity.Engine; | |
using System.Collection; | |
public class csOne : MonoBehaviour | |
{ | |
public jsOne jsOneClass; | |
void Start() | |
{ | |
jsOneClass = GetComponent("jsOne"); |
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
/* | |
GUIDES: | |
1. Attach it on "Main Camera" to use. | |
2. Bind your function to the system event OnCasted, OnBegan, OnMove, OnEnd | |
4. Make sure you add "using System.Collections.Generic" on the top of all your script | |
See example below "YouScript.cs" | |
*/ | |
using UnityEngine; | |
using System.Collections; |
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
set DATET=%date:~-4%_%date:~7,2% | |
"mysqldump.exe" --host="localhost" --user="{username}" --password="{password}" {database name} > "{folder path}"backup_%DATET%_{database name}.sql | |
pause |
OlderNewer