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 |
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
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
// 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
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
function cd{ | |
cd $1 | |
pwd | |
} |
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
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
string foo[3] = {"a", "b", "c"}; | |
cout << &foo[0] << " minus " << &foo[1] << " equals " << int(&foo[0])-int(&foo[1]) << endl; | |
cout << *(&foo[0]-4) << endl; | |
cout << "Hello world!" << endl; |
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
RewriteBase /~slackware/slackware.koding.com/website | |
Redirect /index.html http://slackware.koding.com/dock.php # <- this is not working | |
#DirectoryIndex dock.php index.html <- this works |
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
Assets/Scripts/MenuManager.cs(25,17): | |
error CS0030: Cannot convert type | |
`System.Collections.Generic.KeyValuePair<int,System.Collections.Generic.Dictionary<int,UnityEngine.GameObject>>' | |
to | |
`System.Collections.Generic.KeyValuePair<int,UnityEngine.GameObject>' |
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; | |
public class Character : MonoBehaviour { | |
private float speed = 0.2F; | |
private Texture[] buffer = new Texture[2]; | |
private Texture image; | |
void Start () { |
NewerOlder