View demo gif on Imgur.
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
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
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; | |
} |
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
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; |