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
See http://stackoverflow.com/questions/2947990/using-ikvm-to-convert-a-jar-flying-saucer-xhtmlrenderer | |
I wanted to use the Flying Saucer Java API in .NET so I tried to use IKVM to convert the Flying Saucer library: | |
ikvmc core-renderer.jar | |
For some reason, IKVMC gave me an exe core-renderer.exe so I renamed it to core-renderer.dll, added to my assemblies and hacked away | |
using java.io; | |
using java.lang; | |
using com.lowagie.text; |
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
/* | |
http://entitycrisis.blogspot.com/2010/02/spatial-hash-class-in-c.html | |
This is a rather useful class, the Spatial Hash. It is used for creating an index of spatial data (3D things in space) and allowing fast queries to be run against the index. | |
Effectively, you can use this class to ask, "I'm at this position, what other objects are near me?". | |
*/ | |
using UnityEngine; //This needs to be 'removed' to make 'universal', i.e. not tied to Unity3D | |
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
/* | |
* Slightly modified from | |
* http://www.java-gaming.org/index.php?topic=33022.0 and the | |
* pastebin link http://pastebin.com/WMFBg3zQ | |
* | |
* cache:http://www2.cs.uidaho.edu/~jeffery/courses/328/newPong.java <=** | |
*/ | |
package com.mygdx.game; | |
import com.badlogic.gdx.ApplicationListener; |
Bare essentials Android SDK installation, forked from: https://gist.github.com/srmds/55532e8782fb5d1f7383a78dee393ebd which itself was based on the original at https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03 . Some suggestions regarding HAXM etc. were also added.
Prerequisites:
Make sure the doctor is happy (do what it tells you):
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Current TS File", | |
"type": "node", | |
"request": "launch", | |
"args": ["${file}"], | |
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"], | |
"sourceMaps": true, |
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
<!-- Originally found at http://qainsight.net/2007/03/04/Update+To+User+Agent+Import+For+User+Agent+Switcher.aspx --> | |
<useragentswitcher> | |
<useragent description="*Internet Explorer*****************" useragent="" appname="" appversion="" | |
platform="" vendor="" vendorsub="" /> | |
<useragent description="MSIE 7 (Win Vista)" useragent="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" | |
appname="" appversion="" platform="" vendor="" vendorsub="" /> | |
<useragent description="MSIE 7 (Win XP)" useragent="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" | |
appname="" appversion="" platform="" vendor="" vendorsub="" /> | |
<useragent description="MSIE 7 (Win Storage Server)" useragent="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1)" | |
appname="" appversion="" platform="" vendor="" vendorsub="" /> |
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
http://www.aopentk.com/node/1892 | |
Projects a 3D vector from object space into screen space. Reference page contains links to related code samples. | |
Parameters | |
source | |
The vector to project. | |
projection | |
The projection matrix. | |
view | |
The view matrix. |
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
#!/bin/sh | |
extensionList=( | |
formulahendry.auto-close-tag | |
formulahendry.auto-complete-tag | |
formulahendry.auto-rename-tag | |
CoenraadS.bracket-pair-colorizer | |
wmaurer.change-case | |
Shan.code-settings-sync | |
streetsidesoftware.code-spell-checker |
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
#!/bin/bash | |
kivyBaseBuildDir=/tmp | |
myKivyInstallAlias="kivyDev" | |
#Build and install Kivy on Ubuntu - http://kivy.org/docs/installation/installation.html#development-version | |
#Modify the PYTHONPATH to point at our Kivy install - see http://docs.python.org/2/tutorial/modules.html#the-module-search-path AND http://docs.python.org/2/tutorial/modules.html#standard-modules | |
sudo apt-get install python-setuptools python-pygame python-opengl python-gst0.10 python-enchant gstreamer0.10-plugins-good python-dev build-essential libgl1-mesa-dev libgles2-mesa-dev python-pip | |
if [ ! `pip freeze | grep -i cython` ]; then |