Posts

Showing posts from April, 2015

NoCloudAllowed on Kali Linux

Image

Data Visualization & Integration with TEIID

Image
Teiid is a data integration and virtualization engine. Teiid provides seamless integrations with many different varieties of sources like RDBMS, Flat Files, Web Services, packaged applications etc.



Visit TEIID at http://teiid.jboss.org/

Open Source PaaS: Deploy and Manage Applications on your own Servers

Deis is an open source PaaS based on Docker that runs on public cloud, private cloud and bare metal.
Deis allows software teams to deploy and scale almost any application on their own PaaS using a workflow inspired by Heroku. Deis combines Docker’s Linux container engine with infrastructure automation by Chef to create an application platform designed for developers and operations engineer
http://deis.io/

SALT: Infrastructure automation and management system

Salt, a new approach to infrastructure management, is easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with those servers inseconds.

Salt delivers a dynamic communication bus for infrastructures that can be used for orchestration, remote execution, configuration management and much more

http://saltstack.com/community/

Packer – Create VM Images Quicker and Easier

Image
Packer is a tool for creating identical images for multiple platforms from a single source configuration.


Packer supports multiple providers including Rackspace, AWS, Digital Ocean, VMWARE, Virtual Box and others.  Let’s look at how we can use Packer to make images on Rackspace.

First step is to download packer on to your Windows or Linux system

https://www.packer.io/

Packer uses JSON templates to define an image. Packer takes this JSON and runs the builds defined, producing a machine image.

To provison a Ubuntu 64bit VM on Virtualbox.  The JSON file will look similar to

{
“variables”: {
“ssh_name”: “trevor”,
“ssh_pass”: “trevor123″,
“hostname”: “packertest”
},
“builders”: [{
“type”: “virtualbox-iso”,
“guest_os_type”: “Ubuntu_64″,
“vboxmanage”: [
[“modifyvm”, “{{.Name}}”, “–vram”, “32”]
],
“disk_size” : 10000,
“iso_url”: “./ubuntu-14.04.1-server-amd64.iso”,
“iso_checksum”: “2cbe868812a871242cdcdd8f2fd6feb9″,
“iso_checksum_type”: “none”,
“http_directory” : “ubuntu_64″,
“http_port_min” …

BRIDGE.NET - Run C# Code on Any Device

BRIDGE.NET is a platform which integrates with Visual Studio.NET and allows you to write your code in C# and then compile to Javascript

This enables you to run that C# code on any device which supports Javascript.

Check out BRIDGE.NET at
http://bridge.net/

C# Code
using Bridge;using Bridge.Html5;namespace DemoApp {publicclassApp{[Ready]publicstaticvoidMain(){ Window.Alert("Hello World");}}}
Javascript Code Generated

Bridge.Class.define('DemoApp.App',{ statics:{ $config:{ init:function(){ Bridge.ready(this.main);}}, main:function(){ window.alert("Hello World");}}});

C/C++ DLL Wrapper for WSC32.DLL

//------------------------------------------
// CustomerSerial.cpp
// Trevor O Connell
//
// C/C++ DLL Wrapper for WSC32.DLL
//

#include "stdafx.h"
#include "CustomerSerial.h"
#include "wsc.h"
#include <stdio.h>

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


BEGIN_MESSAGE_MAP(CCustomerSerialApp, CWinApp)
END_MESSAGE_MAP()


CCustomerSerialApp::CCustomerSerialApp()
{
}

CCustomerSerialApp theApp;

BOOL CCustomerSerialApp::InitInstance()
{
CWinApp::InitInstance();
return TRUE;
}


//################################
//
// Custom Wrapper Routines by TOC
//
//################################



// Function called by first time the DLL is loaded.
void initialize()
{
}

// Called when front end stopped.
void finalize()
{
}


// Pass keycode to WSC DLL
int _SioKeyCode(const struct frontEndInterface &fx) {
  // initialize the status
  short status = -1;

  // check if the in and out parameters are correct
  if (fx.getParamCount() == 1 && fx.getReturnCount() == 1) {

CRATE.IO : The Distributed Database Cluster for Developers

Image
CRATE.IO enables developers to quickly set up a distributed database cluster, either on their own hardware or in a public cloud e.g. AWS.

One of the key advantages of CRATE.IO is its ability to scale.

The guiding principle for CRATE.IO is simplicity. Not only is it easy to set up, but once everything is up and running, developers can use standard SQL queries to work with their data.

Visit Crate at http://crate.io

Interesting Howto at "Using Crate Data with Rails"
http://vedanova.com/tech/open%20source/2014/06/24/using-crate-with-rails.html

To install crate  (CENTOS)

bash -c "$(curl -L try.crate.io)"

You can connect to your twitter account and download tweets from your account and import in to a test table.
From here you can select the console from the web interface and run SQL standard queries against that table.

Run query against the tweets table imported


View status of tables
View status of cluster View console system messages

IoT - Build your connected product

Spark offers a suite of hardware and software tools to help you prototype, scale, and manage your Internet of Things products.
https://www.spark.io/

You can purchase your Spark Dev Kit here
https://store.spark.io/

Highlights

The brain: Spark Core, Photon, or ElectronComponents: Shields, breadboards, jumper cables, and breakout boardsSpark's Bill of Materials: $19 and upThe back-end: Spark's hosted cloud platform (included with hardware)Timeframe: An afternoon to a week

Spark API

Apache Spark is a fast and general-purpose cluster computing system. It provides high-level APIs in Java, Scala and Python, and an optimized engine that supports general execution graphs. It also supports a rich set of higher-level tools including Spark SQL for SQL and structured data processing, MLlib for machine learning, GraphX for graph processing, and Spark Streaming. Check out more on Apache Spark at http://spark.apache.org