Skip to content

Instantly share code, notes, and snippets.

View jpaveggio's full-sized avatar

Juan Pablo Aveggio jpaveggio

View GitHub Profile
@emchristiansen
emchristiansen / gist:6845954
Created October 5, 2013 21:00
This is a modified version of FindJNI.cmake which lets CMake work with Oracle Java 7 in Ubuntu 13.04. The file at /usr/share/cmake-2.8/Modules/FindJNI.cmake should be overwritten with this file.
# This is a modified version of FindJNI.cmake which lets it work with
# Oracle Java 7 in Ubuntu 13.04.
# The file at /usr/share/cmake-2.8/Modules/FindJNI.cmake should be
# overwritten with this file.
# - Find JNI java libraries.
# This module finds if Java is installed and determines where the
# include files and libraries are. It also determines what the name of
# the library is. This code sets the following variables:
#
@willurd
willurd / web-servers.md
Last active June 17, 2024 09:38
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000