Category Archive: Root

All articles. For promotion purpose

Aug 30

Test

Aug 15

Anything: Software, Web, Mobile, Database, BI, Big-Data, Cloud, Telecom, Security

Aug 13

Issues and solutions for moving WordPress based applications from one hosting to another

Just moving the Training and Education site http://SitesTree.com to a different hosting i.e. from a reseller hosting to a Cloud Hosting (no, it is not AWS or Azure or Bluemix cloud, just the as usual cloud hosting provided by some regular hosting provider. ) . Just two cents on how this moving (WordPress) can be done.

Continue reading »

Aug 04

Python CMSes. and/or on Integration with Python Backend.

Apparently, you can use most of the modern CMSes in any other platforms to integrate into Python backend (i.e. code written in Python). I.e. WordPress, Drupal, DNN (.Net), OpenCMS (Java), LifeRay (Java) – all logically should be able to talk to Python ( in the backend ). The solution is write Python code in API …

Continue reading »

Jul 28

Java Spring and AWS Cloud

Java Spring and AWS Cloud   AWS Core: AWS native services from spring-cloud-aws AWS JDBC: Relational databases on AWS with RDS and spring-cloud-aws-jdbc AWS Messaging: Messaging on AWS with SQS and spring-cloud-aws-messaging

Jul 28

Java Spring and I/O

Java Spring and I/O   Batch: Spring Batch including HSQLDB database Integration: Common spring-integration modules Quartz Scheduler: Schedule jobs using Quartz: requires Spring Boot >=2.0.0.M2 Activiti: Activiti BPMN workflow engine Apache Camel: Integration using Apache Camel JMS (ActiveMQ): Java Message Service API via Apache ActiveMQ JMS (Artemis): Java Message Service API via Apache Artemis JMS …

Continue reading »

Jul 28

Java Spring and NoSQL

Java Spring and NoSQL   MongoDB: MongoDB NoSQL Database, including spring-data-mongodb Reactive MongoDB: MongoDB NoSQL Database, including spring-data-mongodb and the reactive driver: requires Spring Boot >=2.0.0.M1 Embedded MongoDB: Embedded MongoDB for testing Cassandra: Cassandra NoSQL Database, including spring-data-cassandra Reactive Cassandra: Cassandra NoSQL Database, including spring-data-cassandra and the reactive driver: requires Spring Boot >=2.0.0.M1 Couchbase: Couchbase …

Continue reading »

Jul 28

Java Spring: Components to Deal with Database (SQL Aspect)

Java Spring: Components to Deal with Database (SQL Aspect)   JPA: Java Persistence API including spring-data-jpa, spring-orm and Hibernate JOOQ: Persistence support using Java Object Oriented Querying MyBatis: Persistence support using MyBatis JDBC: JDBC databases H2: H2 database (with embedded support) HSQLDB: HSQLDB database (with embedded support) Apache Derby: Apache Derby database (with embedded support) …

Continue reading »

Jul 28

Java Spring and Social

Java Spring and Social Social Facebook: spring-social-facebook LinkedIn: spring-social-linkedin Twitter: spring-social-twitter

Jul 28

Java Spring: Template Engine

Java Spring: Template Engines Freemarker: FreeMarker templating engine Velocity: Velocity templating engine: requires Spring Boot >=1.1.6.RELEASE and <1.4.0.M2 Groovy Templates: Groovy templating engine Thymeleaf: Thymeleaf templating engine, including integration with Spring Mustache: Mustache templating engine

Jul 20

Implement your Own Permission: Pretty Simple Java Code

Implementing Your Own Permission package com.gamedev.games; import java.io.*; import java.security.*; import java.util.Hashtable; import com.scoredev.scores.*; public class ExampleGame { public static void main(String args[]) throws Exception { HighScore hs = new HighScore(“ExampleGame”); if (args.length == 0) usage(); if (args[0].equals(“set”)) { hs.setHighScore(Integer.parseInt(args[1])); } else if (args[0].equals(“get”)) { System.out.println(“score = “+ hs.getHighScore()); } else { usage(); } } …

Continue reading »

Jul 16

MongoDB Examples – 3: MongoDB Node.js Driver

Install node -> For Mac, to have node, install homebrew first -> then: brew install node, brew update   MongoDB Node.js Driver To Install:  npm install mongodb –save Create a NodeJS Script to interact with MongoDB File Create: nano node.script.js NodeJS code: Put in the file const MongoClient = require(‘mongodb’).MongoClient; MongoClient.connect(‘mongodb://localhost/playground’, function(err, db) { db.collection(’employees’).find().toArray(function(err, …

Continue reading »

Jun 23

Some More Big Data Terms and Technologies

HDFS: “HDFS is a distributed file system that provides high-performance access to data across Hadoop clusters. Like other Hadoop-related technologies, HDFS has become a key tool for managing pools of big data and supporting big data analytics applications.” http://searchbusinessanalytics.techtarget.com/definition/Hadoop-Distributed-File-System-HDFS   Apache Ambari “A completely open source management platform for provisioning, managing, monitoring and securing Apache …

Continue reading »

Mar 14

Ontario – Annual Awards & History

” Awards Overview The Municipal Information Systems Association of Ontario (MISA), is looking to recognize people and organizations for excellence in the use and delivery of technology.  Details can be found in the nominations form noted below. Every year, awards are presented at the MISA Ontario Annual Conference to individual information technology leaders and to …

Continue reading »

Feb 26

Laravel API Stuff

Laravel API Stuff https://github.com/esbenp/larapi http://esbenp.github.io/2016/04/11/modern-rest-api-laravel-part-1/

Dec 22

Misc. Laravel Concepts, Tools, Extensions

Laravel concepts and tools defined here are Valet Valet Share Lumen slim Laravel Passport Laravel Homestead Forge Socialite Spark Settler Scout Echo Elixir Cashier Cashier Braintree Envoy Browser Kit testing Braintree Cachet Valet: “is a Laravel development environment for Mac minimalists. Laravel Valet configures your Mac to always run Nginx in the background when your …

Continue reading »

Dec 10

Laravel Mocking, Laravel Testing

<?php use App\Events\UserRegistered; class ExampleTest extends TestCase { /** * Test new user registration. */ public function testUserRegistration() { $this->expectsEvents(UserRegistered::class); // Test user registration… } } — <?php class ExampleTest extends TestCase { public function testUserRegistration() { $this->withoutEvents(); // Test user registration code… } } — <?php use App\Events\OrderShipped; use App\Events\OrderFailedToShip; use Illuminate\Support\Facades\Event; class ExampleTest …

Continue reading »

Nov 08

Buy Full-page view ads, Interstitial ads from Justetc

Buy Full-page view ads, Interstitial ads from Justetc Your web-sites need visitors to succeed and to make sales. VisitorsShop operates an online advertising platform built with our own network of web-sites as well as search and ad network partners to deliver high quality, geographically targeted website traffic at reasonable prices to businesses. With VisitorsShop’s innovative …

Continue reading »

Nov 06

Use AWS-CLI to Move Files between instances

You need to install AWS-CLI http://docs.aws.amazon.com/cli/latest/userguide/installing.html Sure, I did in multiple platforms. This will work in Ubuntu Linux sudo pip install awscli aws configure —

Nov 05

AWS Misc Stuff

To install more software in Amazon Linux Instance After you create an instance based on Amazon Linux, you can use the Linux commands as provided in the URL to install more tools for your development. Actually, the commands are for Fedora Linux http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html The steps work like charm. One note though, when installing pecl to …

Continue reading »

Nov 04

On Data Transfer: AWS to Local to AWS. Between EC2 Instances

Sure, used some of the approaches Share Data among Multiple EC2 instances https://objectivefs.com/howto/how-to-share-files-between-ec2-instances scp and rsync commands also works for transferring files across EC2 instances AWS Import/Export Snowball https://aws.amazon.com/importexport/ Related: Managing AWS, Sure, Used this. http://www.skeddly.com/ https://app.skeddly.com/Credentials/Create?type=amazon-iam-role Related to Setting up an NFS server for Sharing Files across EC2 instances sudo apt-get update && sudo …

Continue reading »

Nov 03

EC2 : AWS : Misc

Install Git: EC2 with Amazon Linux sudo yum install git Change Folder Owner sudo chown -R apache:apache folder If Ubuntu in EC2 Instance, Install Git sudo apt-get install git

Nov 03

Mount EBS Volumes using Ubuntu Command: AWS stuff

Tried as follows and worked >> sudo fdisk -l Disk /dev/xvdb: …. Then format >> sudo mkfs -t ext4 /dev/xvdf Create mount dir >>mkdir /mnt you can mount now >>sudo mount /dev/xvdb /mnt Check if it has been mounted correctly with: >>mount -l /dev/xvdb on /mnt type ext4 (rw) mount automatically – this will be …

Continue reading »

Nov 03

Linux Commands Used: AWS or not

Remove MySQL Completely: sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-5.5 mysql-client-core-5.5 sudo rm -rf /etc/mysql /var/lib/mysql sudo apt-get autoremove sudo apt-get autoclean Did not try but might work as well [ sudo apt-get remove –purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean sudo rm -rf /var/lib/mysql sudo rm -rf /etc/mysql ] See HDD …

Continue reading »

Sep 26

ReactJS Stuff

Why ReactJS? 6 Reasons We Love It https://www.syncano.io/blog/reactjs-reasons-why-part-1/   Combining ReactJS and AngularJS https://blog.logentries.com/2016/02/combining-angularjs-and-reactjs-for-better-applications/   Stop Using Everything for ReactJS View story at Medium.com React.js Best Practices for 2016 https://blog.risingstack.com/react-js-best-practices-for-2016/ ReactJS for Stupid People http://blog.andrewray.me/reactjs-for-stupid-people/ Why React over AngularJS https://www.quora.com/Why-would-I-use-React-over-AngularJS Why React https://facebook.github.io/react/docs/why-react.html Crockford on JavaScript Learn …

Continue reading »

Sep 26

How to design a system : System design concepts

Sep 25

One Fund Approach of Investing

Just checked on: One Fund Approach of Investing One fund: one ETF that has a mix of bonds, stocks, real estate trusts, commodities, and alternative investments under it. Stocks under them are usually globally diversified. Many such one funds use some other ETFs inside them, one for each aspect of the investment (such as one US ETF …

Continue reading »

Sep 15

Creating Custom Tags in JSP

By Sayed, January 13th, 2008 [use large font in IE/Firefox] How to create custom tags in JSP? You can create custom tags in JSP. Steps: —– 1. You have to create a Java file that will define the operation of the custom tag 2. For the Java file, you have to extend javax.servlet.jsp.tagext.BodyTagSupport class 3. …

Continue reading »

Sep 15

Matlab Overview: What is Matlab

Matlab is used for: Math and computation, Algorithm development, Data acquisition, Modeling, simulation, and prototyping, Data analysis, exploration, and visualization, Scientific and engineering graphics, Application development, including graphical user interface building.

Sep 15

More CSS Layouts

Three Column layout with header and footer: The CSS html, body { margin: 0; padding: 0; } #header { width: 800px; float: left; } #maincontainer { width: 800px; float: left; } #nav { width: 200px; float: left; } #main { float: right; width: 600px; } #footer { width: 800px; float: left; } The XHTML <!DOCTYPE …

Continue reading »

Older posts «

%d bloggers like this:
Skip to toolbar
dead