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 date($string){ | |
$dateArray = explode('-', $string); | |
$output = ""; | |
$months = array( | |
1 => "January", | |
2 => "February", | |
3 => "etc, dont forget to continue the array" | |
) | |
$output += $months[$dateArray[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
// BaseObj.cs | |
using UnityEngine; | |
using System.Collections; | |
public class BaseObj : MonoBehaviour { | |
public TextMesh template; | |
public float health; | |
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
12-12 01:17:20.779: E/AndroidRuntime(2916): FATAL EXCEPTION: main | |
12-12 01:17:20.779: E/AndroidRuntime(2916): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.road/com.example.road.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class android.widget.ListView | |
12-12 01:17:20.779: E/AndroidRuntime(2916): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956) | |
12-12 01:17:20.779: E/AndroidRuntime(2916): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) | |
12-12 01:17:20.779: E/AndroidRuntime(2916): at android.app.ActivityThread.access$600(ActivityThread.java:123) | |
12-12 01:17:20.779: E/AndroidRuntime(2916): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147) | |
12-12 01:17:20.779: E/AndroidRuntime(2916): at android.os.Handler.dispatchMessage(Handler.java:99) | |
12-12 01:17:20.779: E/AndroidRuntime(2916): at android.os.Looper.loop(Looper.java:137) | |
12-12 01:17:20.779: E/AndroidRunt |
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
final Button graphButton = (Button) findViewById(R.id.button1); | |
graphButton.setOnClickListener( new Button.OnClickListener(){ | |
public void onClick(View v){ | |
switchToGraph( ); | |
} | |
}); |
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
01-07 19:30:35.740: W/com.jjoe64.graphview(1373): *** WARNING *** No scaling available for graphs. Exception: | |
01-07 19:30:35.740: W/System.err(1373): java.lang.ClassNotFoundException: com.jjoe64.graphview.compatible.RealScaleGestureDetector | |
01-07 19:30:35.740: W/System.err(1373): at java.lang.Class.classForName(Native Method) | |
01-07 19:30:35.740: W/System.err(1373): at java.lang.Class.forName(Class.java:234) | |
01-07 19:30:35.740: W/System.err(1373): at java.lang.Class.forName(Class.java:181) | |
01-07 19:30:35.740: W/System.err(1373): at com.example.road.compatible.ScaleGestureDetector.<init>(ScaleGestureDetector.java:35) | |
01-07 19:30:35.740: W/System.err(1373): at com.example.road.GraphView.setScalable(GraphView.java:578) | |
01-07 19:30:35.740: W/System.err(1373): at com.example.road.GraphFragment.onCreateView(GraphFragment.java:38) | |
01-07 19:30:35.740: W/System.err(1373): at android.support.v4.app.Fragment.performCreateView(Fragment.java:1460) | |
01-07 19:30:35.740: W/System.err(1373): at android.support.v4.app.F |
OlderNewer