Skip to content

Instantly share code, notes, and snippets.

@arya-s
arya-s / README.md
Created October 1, 2023 16:30 — forked from kevinthompson/README.md
Tool Script to Create a CollisionPolygon2D from a child Sprite2D in Godot 4
@arya-s
arya-s / readme.txt
Created September 9, 2021 07:49
U (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@arya-s
arya-s / readme.txt
Created September 8, 2021 18:44
U (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@arya-s
arya-s / readme.txt
Created September 4, 2021 13:52
neko puzzle (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@arya-s
arya-s / readme.txt
Created September 4, 2021 05:29
Portals (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@arya-s
arya-s / readme.txt
Created September 4, 2021 05:28
neko puzzle (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@arya-s
arya-s / gist:10968151
Created April 17, 2014 09:25
Trying to use JOGL's curve TextRenderer
package experiments;
import static javax.media.opengl.GL.GL_COLOR_BUFFER_BIT;
import static javax.media.opengl.GL.GL_DEPTH_BUFFER_BIT;
import java.awt.BorderLayout;
import java.awt.Container;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
@arya-s
arya-s / URLShorten
Created April 24, 2013 13:40
Using google's URL shortener.
function addLink(msg, from, to){
var url = msg;
googleapis.discover('urlshortener', 'v1').execute(function(err, client){
client.urlshortener.newRequest('urlshortener.url.insert', { resource: {longUrl: url}}).execute(function(err, result){
var shortUrl = 'Cannot shorten '+url;
if(err){
console.log('Shortening error: ',err);
} else {
shortUrl = result.id;
}