Skip to content

Instantly share code, notes, and snippets.

View nsphung's full-sized avatar

Nicolas PHUNG nsphung

View GitHub Profile
@vasilisvg
vasilisvg / HTML-presentation-tools.md
Created January 14, 2012 13:53
HTML presentation tools

#HTML presentation tools

There are many HTML presentation tools and they are all created for slightly different reasons. Here's an overview. Please let me know if I forgot any.

##CSSS

CSS-based SlideShow System

@Gekkio
Gekkio / OptionSerializers.scala
Created September 6, 2011 11:03
Kryo serializers for Scala None/Some
import com.esotericsoftware.Kryo
import com.estoericsoftware.serialize.SimpleSerializer
import java.nio.ByteBuffer
object OptionSerializers {
def register(kryo: Kryo) {
kryo.register(classOf[None$], new NoneSerializer)
kryo.register(classOf[Some[_]], new SomeSerializer(kryo))
}
}
@michiel
michiel / cors-nginx.conf
Created July 5, 2011 10:41
Wide-open CORS config for nginx
#
# Wide-open CORS config for nginx
#
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
#