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; | |
using System.Collections.Generic; | |
public class Bezier3D : MonoBehaviour | |
{ | |
public Vector3 start = new Vector3(0, 0, 0); | |
public Vector3 end = new Vector3(1, 1, 0); | |
public Vector3 handle1 = new Vector3(0, 1, 0); | |
public Vector3 handle2 = new Vector3(1, 0, 0); |
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
/** | |
* Linkurious 2012, all rights reserved. | |
* Sébastien Heymann <seb@linkurio.us>, | |
* Romain Yon <romain@linkurio.us> | |
* | |
* Please use http://jsbeautifier.org/ and indent with 2 spaces. | |
* | |
* Lib docs: | |
* http://twitter.github.com/bootstrap/ | |
* http://docs.jquery.com/ |
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
SELECT SUM(NOW()::date - sq.sig) FROM( | |
SELECT DISTINCT programmers.id, programmers.signed_in_at AS sig | |
FROM programmers | |
INNER JOIN projects_programmers ON (programmers.id = projects_programmers.programmer_id) | |
INNER JOIN projects ON (projects_programmers.project_id = projects.id) | |
INNER JOIN languages ON (languages.id = projects.language_id) | |
WHERE languages.label LIKE 'ruby') AS sq; |