This file contains hidden or 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 pbo; | |
import static com.jogamp.opengl.GL.GL_COLOR_BUFFER_BIT; | |
import static com.jogamp.opengl.GL.GL_DEPTH_BUFFER_BIT; | |
import static com.jogamp.opengl.GL.GL_DEPTH_TEST; | |
import static com.jogamp.opengl.GL.GL_LEQUAL; | |
import static com.jogamp.opengl.GL.GL_NICEST; | |
import static com.jogamp.opengl.GL2ES1.GL_PERSPECTIVE_CORRECTION_HINT; | |
import static com.jogamp.opengl.fixedfunc.GLLightingFunc.GL_SMOOTH; |
This file contains hidden or 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 pbo; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import java.nio.IntBuffer; | |
import java.util.Random; | |
import javax.imageio.ImageIO; |
This file contains hidden or 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
#!/bin/bash | |
#First you update your system | |
sudo apt-get -y update && sudo apt-get -y upgrade | |
sudo apt-get -y install curl wget firefox | |
#Install Google Chrome | |
echo "Chrome" | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
sudo apt-get -y update |
This file contains hidden or 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
System information: | |
------------------------------------------------------------------------------------------------------------ | |
Linux alicana 3.10.0-229.11.1.el7.x86_64 #1 SMP Thu Aug 6 01:06:18 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux | |
Linux standard base information: | |
------------------------------------------------------------------------------------------------------------ | |
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch | |
Distributor ID: CentOS |
This file contains hidden or 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
Console 1 | |
-------------------------------------------------------- | |
[alicana@alicana ~]$ ffplay -rtsp_transport udp_multicast rtsp://10.0.5.1:554/live.sdp | |
ffplay version 2.6.3 Copyright (c) 2003-2015 the FFmpeg developers | |
built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9) | |
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 -- |
This file contains hidden or 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
[rtsp @ 0x18d09e0] SDP: | |
v=0 | |
o=RTSP 1452432743 127 IN IP4 0.0.0.0 | |
s=RTSP server | |
c=IN IP4 0.0.0.0 | |
t=0 0 | |
a=charset:Shift_JIS | |
a=range:npt=0- | |
a=control:* | |
a=etag:1234567890 |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.gilmour.native</groupId> | |
<artifactId>jinput-2</artifactId> | |
<version>1.0-SNAPSHOT</version> |
This file contains hidden or 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
Port 8090 | |
BindAddress 0.0.0.0 | |
MaxHTTPConnections 2000 | |
MaxClients 1000 | |
MaxBandwidth 500000 | |
CustomLog - | |
NoDaemon | |
#RTSPPort 7654 | |
#RTSPBindAddress 0.0.0.0 |
This file contains hidden or 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
/** | |
* Created by alicana on 11/06/2016. | |
*/ | |
object TailRecursiveSum { | |
def square(x: Int): Int = { | |
x * x | |
} | |
def cube(x: Int): Int = { | |
x * x * x |
This file contains hidden or 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
import javax.swing.JFrame; | |
import javax.swing.SwingUtilities; | |
import java.awt.Dimension; | |
import java.awt.event.WindowAdapter; | |
import java.awt.event.WindowEvent; | |
import static com.jogamp.opengl.GL.GL_COLOR_BUFFER_BIT; | |
import static com.jogamp.opengl.GL.GL_TRIANGLES; | |
import com.jogamp.opengl.GL2; | |
import com.jogamp.opengl.GLAutoDrawable; |
OlderNewer