Posts

Showing posts from 2018

ubuntu and Docker

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04

Docker Commands

docker --version docker info docker image ls docker container ls --all ================================================================ Dockerfile # Use an official Python runtime as a parent image FROM python:2.7-slim # Set the working directory to /app WORKDIR /app # Copy the current directory contents into the container at /app COPY . /app # Install any needed packages specified in requirements.txt RUN pip install --trusted-host pypi.python.org -r requirements.txt # Make port 80 available to the world outside this container EXPOSE 80 # Define environment variable ENV NAME World # Run app.py when the container launches CMD ["python", "app.py"] #ENV http_proxy host:port #ENV https_proxy host:port # =============================================================== docker build -t friendlyhello . sudo service docker restart docker run -p 4000:80 friendlyhello docker run -d -p 4000:80 friendlyhello docker login  // https://hub....

Combine multiple development languages

GraalVM Api to develop interpreted programming languages

Cyber attack map

https://threatmap.checkpoint.com/ThreatPortal/livemap.html

Rest and netbeans

Image
REST WebService using Netbeans & GlassFish REF - http://ayazroomy-java.blogspot.com/2013/08/java-webservice-tutorial-part-11.html In this part we will see how to write a Simple REST Style Web Service using NetBeans and GlassFish Server Server and we will test the service. Requirements: 1. NetBeans ID 2. GlassFish Server. Usually NetBeans comes along with the GlassFish Server and also in build support for generating REST Services using the Jersey Framework. So , once we have installed the NetBeans ID and GlassFish we can create our first webservice now. Note :  This is a quick guide of creating REST using Jersey Framework, we are not going in detail about the annotations we are using in the REST Webservice , we will discuss the basic annotation right now ,in later part we will cover in detail about each annotations with respective example. Step 1: Open NetBeans ID. File-->New ---> New Project --> Java Web-->Web Applicati...

AI software

1. Popular programming language for AI Java (41%), Python (40%), and R (16%). TensorFlow is themost popular framework at 25%, SparkMLLib at 16%, andAmazon ML at 10%.