This file contains hidden or 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 hidden or 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 hidden or 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 { | |
void Start() | |
{ | |
//Always call the init function first to use SoundsManager component | |
SoundsManager.init(); |
This file contains hidden or 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 hidden or 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 |
This file contains hidden or 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 | |
error_reporting(E_PARSE | E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR); | |
ini_set('date.timezone','Asia/Kuala_Lumpur'); | |
ini_set('display_errors',1); | |
ini_set('display_startup_errors',1); | |
ini_set('error_log',__DIR__.'error.log'); | |
ini_set('track_errors',1); | |
ini_set('post_max_size','100M'); | |
ini_set('upload_max_filesize','100M'); | |
set_time_limit(0); |
This file contains hidden or 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
#you start job at 9AM. U did 5 commits every hour | |
#so can export from latest to the 9am commit id | |
# | |
# | |
#commit_id_5 | |
#commit_id_4 | |
#commit_id_3 | |
#commit_id_2 | |
#commit_id_1 | |
#commit_id_0 (9AM) |
This file contains hidden or 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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html"> | |
<polymer-element name="my-element"> |
This file contains hidden or 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
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../paper-toast/paper-toast.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> |
This file contains hidden or 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
<link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> |