Skip to content

Instantly share code, notes, and snippets.

1. Download manager - https://www.freedownloadmanager.org
2. Office - https://www.libreoffice.org/
- https://www.openoffice.org/
3. PDF Reader & Creator - https://www.pdfforge.org/pdfcreator
4. Photoshop - https://www.gimp.org/
5. Illustrator - https://inkscape.org/
6. Visio - https://wiki.gnome.org/Apps/Dia
7. Video Editing - http://cinelerra.org/
- http://avidemux.sourceforge.net/
@ditzel
ditzel / MathParabola.cs
Last active February 19, 2024 02:07
A simple Math class to calculate a point in 2D or 3D space lying on a parabola. And a more complex parabola controller that you can put on an object.
using UnityEngine;
using System;
public class MathParabola
{
public static Vector3 Parabola(Vector3 start, Vector3 end, float height, float t)
{
Func<float, float> f = x => -4 * height * x * x + 4 * height * x;
@nopitech
nopitech / PunchScale.cs
Created October 19, 2017 16:49
iTween.PunchScale
public class iTweenMethod : MonoBehaviour {
void Start ()
{
PunchScale();
}
void PunchScale()
{
iTween.PunchScale (gameObject,
public class CardController : MonoBehaviour {
public Sprite frontSprite;
public Sprite backSprite;
public float uncoverTime = 12.0f;
// Use this for initialization
void Start () {
GameObject card = new GameObject("Card"); // parent object
GameObject cardFront = new GameObject("CardFront");
@GuilleUCM
GuilleUCM / ObjectShake.cs
Last active August 7, 2023 18:34
Unity:Animation:Shake object vibrate
using UnityEngine;
using System.Collections;
/// http://www.mikedoesweb.com/2012/camera-shake-in-unity/
public class ObjectShake : MonoBehaviour {
private Vector3 originPosition;
private Quaternion originRotation;
public float shake_decay = 0.002f;
@jaimeiniesta
jaimeiniesta / example.js
Created August 12, 2011 15:41
jQuery-UI autocomplete with multiple comma-separated values from a JSON remote source
$(function() {
function split( val ) {
return val.split( /,\s*/ );
}
function extractLast( term ) {
return split( term ).pop();
}
$( "#new_interest" ).autocomplete({