Skip to main content

Posts

Showing posts from October, 2016

[HDGEM] OpenShift shell assist yous in managing OpenShift applications.

The following commands are available to help control your openshift
application and environment.

gear            control your application (start, stop, restart, etc)
                or deps with --cart      (gear start --cart mysql-5.1)
tail_all        tail all log files
export          list available environment variables
rm              remove files / directories
ls              list files / directories
ps              list running applications
kill            kill running applications
mysql           interactive MySQL shell
mongo           interactive MongoDB shell
psql            interactive PostgreSQL shell
quota           list disk usage



--
Posted By Blogger to HDGEM at 10/31/2016 03:56:00 PM

[HDGEM] Vanilla JS is a fast, lightweight, cross-platform framework for building incredible, powerful JavaScript applications.

In fact, Vanilla JS is already used on more websites than jQuery, Prototype JS, MooTools, YUI, and Google Web Toolkit - combined.

The Vanilla JS team maintains every byte of code in the framework and works hard each day to make sure it is small and intuitive.

--
Posted By Blogger to HDGEM at 10/31/2016 01:53:00 PM

[HDGEM] A web worker is a JavaScript that runs in the background, independently of other scripts, without affecting the performance of the page.

You can continue to do whatever you want: clicking, selecting things, etc., while the web worker runs in the background.

While executing normal scripts in an HTML page, the page becomes unresponsive until the script is finished.

--
Posted By Blogger to HDGEM at 10/31/2016 01:31:00 PM

[HDGEM] Web applications can store data locally within the user's browser with HTML Local Storage

Local storage is more secure, and large amounts of data can be stored locally
Before HTML5, application data had to be stored in cookies, included in every server request. Local storage is more secure, and large amounts of data can be stored locally, without affecting website performance.

Unlike cookies, the storage limit is far larger (at least 5MB) and information is never transferred to the server.

Local storage is per origin (per domain and protocol). All pages, from one origin, can store and access the same data.

--
Posted By Blogger to HDGEM at 10/31/2016 01:27:00 PM

[HDGEM] Fixed Data Tables for React from Facebook

FixedDataTable is a React component for building and presenting data in a flexible, powerful way. 
It supports standard table features, like headers, columns, rows, header groupings, and both fixed-position and scrolling columns.

The table was designed to handle thousands of rows of data without sacrificing performance. Scrolling smoothly is a first-class goal of FixedDataTable and it's architected in a way to allow for flexibility and extensibility.

https://facebook.github.io/fixed-data-table/

--
Posted By Blogger to HDGEM at 10/31/2016 01:15:00 PM

[HDGEM] Flux components

Dispacher – Is the central component that manages the data flow within the application, it distribute the actions to the appropriate stores.Store – Components that contains the logic and state of the application.View – The components that represent the user interface.Controller-view – The type o view the listens to events coming from the stores.



--
Posted By Blogger to HDGEM at 10/31/2016 01:06:00 PM

[HDGEM] Function React.createClass

Function React.createClass receives an object as a parameter containing a render function, this function will process and return the component's HTML code the way it'll be displayed on the browser

--
Posted By Blogger to HDGEM at 10/31/2016 12:56:00 PM

[HDGEM] React is one of the most promising technologies of the present days

React is constantly showing up on trending technologies lists, quickly gaining market and becoming popular among developers. 
React defines itself as an open source JavaScript library for building user interfaces, it is an excellent tool for developers to create highly dynamic UI components.

--
Posted By Blogger to HDGEM at 10/31/2016 12:48:00 PM

[HDGEM] Google Closure Compiler

The Closure Compiler is a tool for making JavaScript download and run faster.  Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

--
Posted By Blogger to HDGEM at 10/31/2016 11:57:00 AM

[HDGEM] Thread-safe in Session scope

The Session object is shared among all threads initiated by the same user. This may cause problems when objects are accessed concurrently e.g. when the user opens a second browser tab of the application.

Concurrency problems are hard to discover.

--
Posted By Blogger to HDGEM at 10/31/2016 10:53:00 AM

[HDGEM] Blogger Lambda Operators

Blogger Lambda Operators any Returns true if any of the items in the set returns true for the lambda expression all Returns true if all of the items in the set return true for the lambda expression none Returns true if none of the items in the set return true for the lambda expression count Returns the count of the items in the set which return true for the lambda expression filter Returns a set of items for which the lambda expression is true map Returns a set containing each of the results of the lambda expression first Returns the first item for which the lambda expression is true
Source:  https://productforums.google.com/forum/#!topic/blogger/l3phi8bscGY



--
Posted By Blogger to HDGEM at 10/31/2016 09:59:00 AM

[HDGEM] How to Email Posts to Blogger

Log in to your email account and compose a new email.Enter your Mail-to-Blogger address in the "To" field. Type the title of your post in the "Subject" field.Type your post in the body of the email. Add a picture to the post by attaching an image to the email.Click "Send" to send the post to your blog or save it as a draft If your email program appends text at the bottom of messages, type "

[HDGEM] Emailing Google+ connections

If you use Google+, you can email people in your Google+ circles even if you don't know their email address. You can also control who from Google+ can email you.

--
Posted By Blogger to HDGEM at 10/31/2016 08:33:00 AM

[HDGEM] Amazon's Product Advertising API

Amazon's Product Advertising API, formerly Amazon Associates Web Service (A2S) and before that known as Amazon E-Commerce Service (ECS), is a web service and application programming interface (API) that gives application programmers access to Amazon's product catalog data. 
Accessible via either the SOAP or REST protocols it enables products to be listed and/or sold through third-party websites and applications. It is a product of Amazon Services, not to be confused with Amazon Web Services.

--
Posted By Blogger to HDGEM at 10/30/2016 05:11:00 AM

[HDGEM] Prioritize your job needs

During your job search, figure out what qualities you are seeking from your employerPrioritize those needs and also determine what is absolutely not tolerable. 
If you're ambivalent about what you want and what you're looking for, your job search will not be as effective as when you have tremendous clarity and focus.

--
Posted By Blogger to HDGEM at 10/29/2016 04:51:00 PM

[HDGEM] How to let Safari know which card in Contacts is you:

Follow these steps to let Safari know which card in Contacts is you: Tap on Settings > Safari > Passwords & AutoFill.Set Use Contact Info to On.Tap on My Info.Tap on your own name from Contacts list (you can use the Search bar at the top to look for yourself if you have a long list).

--
Posted By Blogger to HDGEM at 10/29/2016 04:27:00 PM

[HDGEM] NFS stands for “Networked File System.”

It was developed by Sun Microsystems and serves essentially the same purpose as SMB (i.e., to access files systems over a network as if they were local), but is an entirely different protocol.  This means that NFS clients can't speak directly to SMB servers.

--
Posted By Blogger to HDGEM at 10/29/2016 04:11:00 PM

[HDGEM] SMB stands for “Server Message Block.”

It's a file sharing protocol that was invented by IBM and has been around since the mid-eighties.  It was designed to allow computers to read and write files to a remote host over a local area network (LAN).  The directories on the remote hosts made available via SMB are called "shares."

--
Posted By Blogger to HDGEM at 10/29/2016 04:08:00 PM

[HDGEM] DDOS from IoT

After years of warnings from security experts that the makers of many internet-enabled devices paid too little attention to security, shipping internet-connected hardware with preset passwords, insecure default connections, and other vulnerabilities, it finally happened.

--
Posted By Blogger to HDGEM at 10/29/2016 02:28:00 PM

[HDGEM] RDFa Lite is a subset of RDFa (Resource Description Framework in Attribute) that provides a common syntax for expressing metadata on websites

RDFa Lite RDFa Lite is a subset of RDFa (Resource Description Framework in Attribute) that provides a common syntax for expressing metadata on websites in a way that computers can understand and begin to formulate knowledge about those data about your organization. RDFa Lite embeds itself in existing, standard HTML pages. For example, if previously a dataset was described as <h2>Name of Dataset</h2>, RDFa would extend that markup as <h2 property="dcterms:title">Name of Dataset</h2> (notice the additional of the property field). This additional metadata is not visible when the page is rendered, and does not affect the page layout or content. It simply provides an additional level of description for search engines, crawlers, and other programmatic consumers of your site's content. It is acceptable for the RDFa Lite file to contain only the machine-readable metadata, but agencies may wish to add human readable content to display the metadata to th…

[HDGEM] Tail call optimization (TCO)

Some compilers and interpreters will do what's called tail call optimization (TCO), where it can optimize some recursive functions to avoid building up a tall call stack. Python and Java decidedly do not use TCO. Some Ruby implementations do, but most don't. Some C implementations do, and the JavaScript spec recently allowed TCO. Scheme is one of the few languages that guarantee TCO in all implementations. In general, best not to assume your compiler/interpreter will do this work for you.

--
Posted By Blogger to HDGEM at 10/29/2016 04:45:00 AM

[HDGEM] Why handshake failures with Java-based clients when using a certificate with more than 1024 bits?

Java 7 and earlier limit their support for DH prime sizes to a maximum of 1024 bits. So there is handshake failure for DH parameters which include primes with lengths of more than 1024 bits.

If your Java-based client aborts with exceptions such as java.lang.RuntimeException: Could not generate DH keypair and java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive), and httpd logs tlsv1 alert internal error (SSL alert number 80) (at LogLevel info or higher), you can either rearrange mod_ssl's cipher list with SSLCipherSuite (possibly in conjunction with SSLHonorCipherOrder), or you can use custom DH parameters with a 1024-bit prime, which will always have precedence over any of the built-in DH parameters.

--
Posted By Blogger to HDGEM at 10/28/2016 09:43:00 AM

[HDGEM] How to convert PEM file into JKS.

> keytool -importcert -file ca-cert.pem -keystore cacerts.jks -storepass secret1 -storetype JKS
> keytool -importcert -file client-cert.pem -keystore keystore.jks -storepass secret2 -storetype JKS

--
Posted By Blogger to HDGEM at 10/28/2016 08:49:00 AM

[HDGEM] AWS OpsWorks helps you define, deploy, and operate your applications on AWS using Chef.

AWS OpsWorks handles the heavy lifting for you, and it does it by using a single console.
To compete in today's cloud-driven market, you need tools to help you automate bootstrapping, configuration, deployment, monitoring, scaling, recovery, and more. AWS OpsWorks helps you define, deploy, and operate your applications on AWS using Chef.

--
Posted By Blogger to HDGEM at 10/28/2016 08:03:00 AM

[HDGEM] Gain New Insights Quicker with Amazon AWS

The flexibility of AWS enables you to tailor your approach for architecting a Data Lake.  Whether building your Data Lake yourself, or leveraging the skills and expertise of an APN Partner to implement one for you, AWS provides a complete platform for getting started. AWS provides you with secure infrastructure and offers a number of scalable, cost-effective storage, data management, and analytics services to turn heterogeneous data into new meaningful insights. Hosting your Data Lake on AWS gives you access to the most complete platform for Big Data.

--
Posted By Blogger to HDGEM at 10/28/2016 06:59:00 AM

[HDGEM] Google Duo is video calling made easy

Duo brings you face to face with the people who matter most – across Android and iPhone – so you're always in touch. With the new Knock Knock feature, you can even see the caller before you pick up.

--
Posted By Blogger to HDGEM at 10/28/2016 02:18:00 AM

[HDGEM] Faster than a speeding laptop.

The 64-bit A9X chip gives iPad Pro the power to easily take on tasks once reserved for workstations and PCs. Not to mention tasks you'd never consider doing on a PC. Despite this barrier-breaking performance, the A9X chip's efficient architecture enables up to 10 hours of battery life.

--
Posted By Blogger to HDGEM at 10/28/2016 02:06:00 AM

[HDGEM] iPad Pro is more than the next generation of iPad

It's an uncompromising vision of personal computing for the modern world. It puts incredible power that leaps past most portable PCs at your fingertips. It makes even complex work as natural as touching, swiping or writing with a pencil. And whether you choose the 12.9-inch model or the new 9.7-inch model, iPad Pro is more capable, versatile and portable than anything that's come before. In a word, super.

--
Posted By Blogger to HDGEM at 10/28/2016 02:03:00 AM

[HDGEM] The new MacBook Pro is built on groundbreaking ideas. And it’s ready for yours.

It is faster and more powerful than before, yet remarkably thinner and lighter. It has the brightest, most colourful Mac notebook display ever. And it introduces the Touch Bar — a Multi-Touch enabled strip of glass built into the keyboard for instant access to the tools you want, right when you want them. 

--
Posted By Blogger to HDGEM at 10/28/2016 01:48:00 AM

[HDGEM] Monetizing data

Monetizing data frequently requires the creation of products incorporating or supporting
reporting/benchmarking,
and descriptive, predictive, or prescriptive analytics.

--
Posted By Blogger to HDGEM at 10/27/2016 04:26:00 PM

[HDGEM] Java Exceptions

Exception: Parent class for all existing exceptions in the world, which, in turn, has two subclasses: Checked Exceptions:These are typically used when you want to force the programmer using your API to think of how to handle them. These types of exceptions are checked at compile-time. Any subclass of the Exception class, which is not a subclass of RuntimeException, is considered a checked exception.Runtime Exceptions: Also often called Unchecked Exceptions, these are used when your exceptional condition is unrecoverable, and you can't do anything about this. The programmer is not forced to handle these types of exceptions.

--
Posted By Blogger to HDGEM at 10/27/2016 04:07:00 PM

[HDGEM] "When used to best advantage, exceptions can improve a program’s readability, reliability, and maintainability. When used improperly, they can have the opposite effect.” – Effective Java

"When used to best advantage, exceptions can improve a program's readability, reliability, and maintainability. When used improperly, they can have the opposite effect."
– Effective Java


--
Posted By Blogger to HDGEM at 10/27/2016 04:03:00 PM

[HDGEM] Security news feed

Help Net Security - News Dark Reading: Dark Reading News Feed
IEEE Spectrum
Security Week RSS Feed
Naked Security
Trend Labs Security Intelligence Blog

--
Posted By Blogger to HDGEM at 10/27/2016 03:53:00 PM

[HDGEM] How to redirect error output in Bash

Using stderr 2 file
This will cause the stderr ouput of a program to be written to a file.

         grep hdgem * 2> grep-errors.txt

Here, a file called 'grep-errors.txt' will be created and it will contain what you would see the stderr portion of the output of the 'grep hdgem *' command.

--
Posted By Blogger to HDGEM at 10/27/2016 02:03:00 PM

[HDGEM] Gmail API: New endpoints for settings

New endpoints for managing Gmail settings. These new endpoints cover the following features: FiltersForwarding addresses and auto-forwardingIMAP and POP settingsSend-as aliasesSignaturesVacation responder With this update, we're equipping developers with some new tools that have never been available in any previous Google API. These include the ability to: Retrieve and update signatures for send-as aliasesConfigure forwarding to external addressesConfigure send-as aliases that send mail through external providersUse HTML in vacation messagesManipulate settings for gmail.com accounts

--
Posted By Blogger to HDGEM at 10/27/2016 01:07:00 PM

[HDGEM] API Test Automation With Postman

Kevin Ang Qi Ye has a series of detailed blog posts on API Testing that you might want to check out. He covers environments, variables, test scripts, code snippets, and more. "To make it even more awesome, Postman has packed a small collection of JavaScript libraries that you can use within the pre-request script — How cool is that?!" Read the cool blog post here

--
Posted By Blogger to HDGEM at 10/27/2016 11:55:00 AM

[HDGEM] How to connect to an Amazon AWS DB cluster with SSL using the MySQL utility

Download the public key for the Amazon RDS signing certificate fromhttp://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem. Note that this will download a file named rds-combined-ca-bundle.pem. Type the following command at a command prompt to connect to the primary instance of a DB cluster with SSL using the MySQL utility. For the -h parameter, substitute the endpoint DNS name for your primary instance. For the --ssl_ca parameter, substitute the SSL certificate file name as appropriate. Type the master user password when prompted. mysql -h mycluster-primary.i88i88i88ca.us-east-1.rds.amazonaws.com --ssl-ca=[full path]rds-combined-ca-bundle.pem --ssl-verify-server-cert

--
Posted By Blogger to HDGEM at 10/27/2016 11:53:00 AM

[HDGEM] How to check your MySQL connection is secure

Just run  status OR \s And see the result. If this connection is not using SSL, you'll get: SSL:Notinuse You can also use: mysql> SHOW STATUS LIKE'Ssl_cipher';+---------------+--------------------+| Variable_name | Value |+---------------+--------------------+| Ssl_cipher | DHE-RSA-AES256-SHA |+---------------+--------------------+1rowinset(0.00 sec) mysql>

--
Posted By Blogger to HDGEM at 10/27/2016 11:49:00 AM

[HDGEM] MySQL Option Files Read on Unix and Unix-Like Systems

Option Files Read on Unix and Unix-Like Systems File NamePurpose/etc/my.cnfGlobal options/etc/mysql/my.cnfGlobal optionsSYSCONFDIR/my.cnfGlobal options$MYSQL_HOME/my.cnfServer-specific options (server only)defaults-extra-fileThe file specified with --defaults-extra-file, if any~/.my.cnfUser-specific options~/.mylogin.cnfUser-specific login path options (clients only)

--
Posted By Blogger to HDGEM at 10/27/2016 11:21:00 AM

[HDGEM] Google Cloud Shell VM Boost mode

Enable Boost mode
Boost mode temporarily increases the power of your Cloud Shell VM. Once activated, all sessions will be boosted for the next 24 hours. The usage of Cloud Shell in Boost mode is subject to regular usage limits. The feature is currently experimental and there may be additional limits in the future. Enabling Boost mode may take a couple of minutes and will immediately terminate your session. A new VM will then be provisioned for you, which can take a couple of minutes. The data in your home directory will persist, but all running processes will be lost.

--
Posted By Blogger to HDGEM at 10/27/2016 11:19:00 AM

[HDGEM] AWS Directory Service makes it easy to setup and run Microsoft Active Directory (AD) in the AWS cloud, or connect your AWS resources with an existing on-premises Microsoft Active Directory.

Once your directory is created, you can use it to manage users and groups, provide single sign-on to applications and services, create and apply group policy, domain join Amazon EC2 instances, as well as simplify the deployment and management of cloud-based Linux and Microsoft Windows workloads.

AWS Directory Service provides you with three directory types to choose from including AWS Directory Service for Microsoft Active Directory (Enterprise Edition), also referred to as Microsoft AD, as well as Simple AD, and AD Connector.

--
Posted By Blogger to HDGEM at 10/27/2016 08:26:00 AM

[HDGEM] An LDAP directory is organized in a simple "tree" hierarchy

The hierarchy consisting of the following levels: The root directory (the starting place or the source of the tree), which branches out to
Countries, each of which branches out to
Organizations, which branch out to
Organizational units (divisions, departments, and so forth), which branches out to (includes an entry for)
Individuals (which includes people, files, and shared resources such as printers)

--
Posted By Blogger to HDGEM at 10/27/2016 08:19:00 AM

[HDGEM] OpenLDAP Software is an open source implementation of the Lightweight Directory Access Protocol.

OpenLDAP Software is an open source implementation of the Lightweight Directory Access Protocol.The suite includes:slapd - stand-alone LDAP daemon (server)libraries implementing the LDAP protocol, andutilities, tools, and sample clients.

--
Posted By Blogger to HDGEM at 10/27/2016 08:17:00 AM

[HDGEM] How to make Blogger widgets visible in Blogger Mobile template

How to enable widgets to display on mobile devices?

To display Blogger widgets view-able on desktops to also appear on mobile devices, do the following:
1. Login to Blogger > Template > Edit HTML
2. From the "Jump To Widget", click on the widget you are interested in
To show this widget on mobile devices, just add "mobile='yes'' to the line.

--
Posted By Blogger to HDGEM at 10/27/2016 07:43:00 AM

[HDGEM] LDAP, Lightweight Directory Access Protocol, is an Internet protocol that email and other programs use to look up information from a server.

LDAP is mostly used by medium-to-large organi­zations. If you belong to one that has an LDAP server, you can use it to look up contact info and the like. Otherwise, if you were just wondering about this acronym, you probably don't need it. But feel free to read on to learn the story of this bit of Internet plumbing.

Every email program has a personal address book, but how do you look up an address for someone who's never sent you email? How can an organization keep one centralized up-to-date phone book that everybody has access to?

Those questions led companies such as Microsoft, IBM, Lotus, and Netscape to support a standard called LDAP. "LDAP-aware" client programs can ask LDAP servers to look up entries in a wide variety of ways. LDAP servers index all the data in their entries, and "filters" may be used to select just the person or group you want, and return just the information you want. For example, here's an LDAP search translated into plain En…

[HDGEM] What are the Google Safe Browsing APIs?

The Safe Browsing APIs (v4) let your client applications check URLs against Google's constantly updated lists of unsafe web resources.  Examples of unsafe web resources are social engineering sites (phishing and deceptive sites) and sites that host malware or unwanted software. Any URL found on a Safe Browsing list is considered unsafe. To determine if a URL is on any of the Safe Browsing lists, clients can use either the Lookup API (v4) or the Update API (v4).

--
Posted By Blogger to HDGEM at 10/27/2016 07:25:00 AM

[HDGEM] Marketing email checklist

A quick summary checklist to help you start designing and building your marketing email template. Sender nameSender company (If applicable)Project Name (if applicable)Your product's nameReason for the email Link to next action A relevant reply-to address for the sender or product supportVery brief explanation of your product and what it doesSome help information about what's next after they get started

--
Posted By Blogger to HDGEM at 10/27/2016 06:34:00 AM

[HDGEM] Full-Stack Monitoring, Powered by Google

Stackdriver Monitoring provides visibility into the performance, uptime, and overall health of cloud-powered applications. Stackdriver collects metrics, events, and metadata from Google Cloud Platform, Amazon Web Services, hosted uptime probes, application instrumentation, and a variety of common application components including Cassandra, Nginx, Apache Web Server, Elasticsearch, and many others. Stackdriver ingests that data and generates insights via dashboards, charts, and alerts. Stackdriver alerting helps you collaborate by integrating with Slack, PagerDuty, HipChat, Campfire, and more.

--
Posted By Blogger to HDGEM at 10/27/2016 05:41:00 AM