Skip to content

Instantly share code, notes, and snippets.

Avatar
🖖
Hi

David Bernard davidB

🖖
Hi
View GitHub Profile
@davidB
davidB / FakeThreadState.java
Created Jul 21, 2011
I used the following code to check if Thread of java process can have independent state
View FakeThreadState.java
// I used the following code to check if Thread of java process can have independent state with
// ps -Teo state,pcpu,pmem,nlwp,pid,spid,user,args |grep FakeThread
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
// The goal is to create several Thread that should be in different state and check if ps or other catch the correct state of the thread
public class FakeThreadState {
@davidB
davidB / ReCaptcha.scala
Created Oct 8, 2010
code I used to integrate recaptcha with Lift ProtoUser (2.1)
View ReCaptcha.scala
package net_alchim31_vscaladoc2_www.model
/**
* To use ReCaptach (http://www.google.com/recaptcha) :
* * add a project dependency
* <dependency>
* <groupId>net.tanesha.recaptcha4j</groupId>
* <artifactId>recaptcha4j</artifactId>
* <version>0.0.7</version>
View TestRenderToTexture.java
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
View LayoutMig.java
/// License [CC0](http://creativecommons.org/publicdomain/zero/1.0/)
package tonegod.ext;
import com.jme3.export.JmeExporter;
import com.jme3.export.JmeImporter;
import com.jme3.export.Savable;
import com.jme3.math.Vector2f;
import com.jme3.math.Vector4f;
import com.jme3.scene.Node;
import java.io.IOException;
View Control_LayoutMig.java
/// License [CC0](http://creativecommons.org/publicdomain/zero/1.0/)
package tonegod.ext;
import com.jme3.math.Vector2f;
import com.jme3.renderer.RenderManager;
import com.jme3.renderer.ViewPort;
import com.jme3.scene.Node;
import com.jme3.scene.Spatial;
import com.jme3.scene.control.AbstractControl;
import java.util.Collection;
View install_unity.md

Overview

The following instruction are based on the WineHQ >... > Unity + my own experience.

What works

  • Installation,
  • scene editor and gui,
  • opening existing projects,
  • Linux export,
You can’t perform that action at this time.