Showing posts from March, 2017

[HDGEM] How to Convert an Array to Comma Separated String in Java

The simplest way to convert an array to comma separated String is to create a StringBuilder, iterate through the array, and add each element of the array into StringBuilder after appending comma.

String venueGroup; StringBuilder sb=new StringBuilder(); for(String venue: venues) { sb.append(venue).append(","); }> sb.append(i).append(",")); venueGroup=sb.substring(0, sb.length()-1);

Posted By Blogger to HDGEM at 3/20/2017 09:14:00 AM

[HDGEM] Every company should make sure any third-party software applications do not permit unauthorized or undisclosed access to personal information.

To avoid becoming open to legal liability, every company should make sure the agreements they sign with third-party developers and vendors contain appropriate representations, indemnifications, protections and legal compliance.

Posted By Blogger to HDGEM at 3/20/2017 08:54:00 AM

[HDGEM] How to convert Set to String[] in Java

Use the Set#toArray(T[]) method taking a typed array argument of the same size.

String[] myArray = myset.toArray(new String[myset.size()]);

A different size can also, but that would force the toArray() method to create a new array to return instead of reusing the provided argument, which may end up to be less efficient.

Posted By Blogger to HDGEM at 3/20/2017 08:50:00 AM

[HDGEM] How to uninstall npm modules in node js?

To remove module1 without changing package.json: npm uninstall module1.To remove module1 with changing package.json, and removing it from the dependencies in package.json: npm uninstall --save module1.

Posted By Blogger to HDGEM at 3/20/2017 07:45:00 AM

[HDGEM] The Leaky Bucket Algorithm

API service can use a variation of the leaky bucket algorithm to meter the web service and implement throttling.  The algorithm is based on the analogy where a bucket has a hole in the bottom from which water leaks out at a constant rate. Water can be added to the bucket intermittently, but if too much water is added at once or if water is added at too high an average rate, the water will exceed the capacity of the bucket.

To apply this analogy to API service, imagine that the bucket represents the maximum request quota, which is the maximum number of requests you can make at one time. The hole in the bucket represents the restore rate, which is the amount of time it takes to be able to make new requests. So, if you submit too many requests at once, then the bucket overflows and throttling occurs.

If you fill up the bucket, it takes some time before you can add more water to the bucket since the water leaks from the bucket at a steady rate. So the ability to submit more requests …

[HDGEM] The leaky bucket is an algorithm that may be used to determine whether some sequence of discrete events conforms to defined limits on their average and peak rates or frequencies.

The leaky bucket is based on an analogy of how a bucket with a leak will overflow if either the average rate at which water is poured in exceeds the rate at which the bucket leaks, or if more water than the capacity of the bucket is poured in all at once.

The leaky bucket algorithm is used in packet switched computer networks and telecommunications networks to check that data transmissions, in the form of packets, conform to defined limits on bandwidth and burstiness (a measure of the unevenness or variations in the traffic flow). It can also be used as a scheduling algorithm to determine the timing of transmissions that will comply with the limits set for the bandwidth and burstiness applied by the network: see network scheduler.

A version of the leaky bucket, the Generic Cell Rate Algorithm, is recommended for Asynchronous Transfer Mode (ATM) networks in Usage/Network Parameter Control at User–Network Interfaces or Inter-Network Interfaces or Network-Network Interfaces to protect …

[HDGEM] Keywords are words or phrases that are relevant to your product or service.

When people search for words or phrases similar to your keywords on Google, you can display your ads alongside those search results.

Posted By Blogger to HDGEM at 3/19/2017 11:06:00 AM

[HDGEM] Online advertising is all about getting your ad to show where interested people are likely to be.

Google AdWords brings you a rich set of targeting tools to help make this happen.

Posted By Blogger to HDGEM at 3/19/2017 11:03:00 AM

[HDGEM] How to enable Always Use HTTPS on cloudflare

SSL is enabled by default in the Crypto section of Cloudflare. Once you've enabled any mode of SSL, create a Page Rule for HTTP that includes an asterisk before and after your domain, for example   Http://** and select "Add a Setting" > Always Use HTTPS.

This URL pattern that includes HTTP, with an asterisk before and after your domain ensures that any subdomains, directories or query strings referencing your domain will be forced over HTTPS.

Once you click Save and Deploy, new and returning visitors attempting to connect to your domain over HTTP will be redirected to HTTPS. Keep in mind that this option should generally be the first rule you set in Page Rules. Unless you have a special case, be sure to reorder this rule to appear at the top of your set.

An additional benefit of enforcing a secure connection is that your domain will be able to utilize HTTP/2, which offers performance gains like header compression, server push, and more.

Posted By Blogg…

[HDGEM] CRM applications are one of the best examples of big data environments

CRM has huge daily data volumes and numbers of transactions. All vendors of these applications are using both SQL and NoSQL, and while the transactional data is still mostly stored in SQL databases, with improvements of publicly available DBaaS (database-as-a service) services like AWS DynamoDB and Azure DocumentDB, much more data processing could move to NoSQL world running on the clouds.

Posted By Blogger to HDGEM at 3/19/2017 08:43:00 AM

[HDGEM] Non-relational databases And relational databases

Relational databases are relationally structured entities, usually representing a real-world object; for example, a person or shopping cart details. Non-relational databases are document-structured and distributed, holding information in a folder-like Hierarchy which holds the data in an unstructured format.

Posted By Blogger to HDGEM at 3/19/2017 08:39:00 AM

[HDGEM] Amazon FBA and sales tax

Using Amazon FBA's service may cause you to trigger sales tax nexus in more than one state, which creates potential tax collection and remittance headaches for your business.

Posted By Blogger to HDGEM at 3/19/2017 08:30:00 AM

[HDGEM] There are ups and downs to any market

whether that is real estate or stock portfolios

Posted By Blogger to HDGEM at 3/19/2017 08:24:00 AM

[HDGEM] Google announces Montreal region for Google Cloud Platform

Google Cloud Platform continues to rapidly expand our global footprint. Today, we announced we will launch a Google Cloud Platform region in Montreal.

Posted By Blogger to HDGEM at 3/19/2017 07:51:00 AM

[HDGEM] Jenkins is the most popular open-source automation server,

Jenkins has many plugins and a large community.  Jenkins introduced the Pipeline Plugin to help manage and describe the deployment process. The plugin is intensively developed and its popularity continues to grow.

Posted By Blogger to HDGEM at 3/19/2017 07:36:00 AM

[HDGEM] Getting your products to your customers is a complex process and there are lots of things that can go wrong.

Shipping can be a headache.

Lost packages. Damaged products. Hidden fees.

Posted By Blogger to HDGEM at 3/19/2017 07:33:00 AM

[HDGEM] Keep your body clock consistent

changing the times we sleep, wake, and eat, we break the synchrony that our master clock sets for the peripheral clocks throughout the body.  Instead of following the master clock, they align with our social clocks, disrupting the highly interconnected and complex pathways of human physiology.

Posted By Blogger to HDGEM at 3/19/2017 07:23:00 AM

[HDGEM] Managing the Mental Game by Jeff Boss

Using a blend of mental-training methodologies, former Navy SEAL Jeff Boss shows readers how to build self-confidence and fortitude, enabling them to reach new levels of success.

Managing the Mental Game contains useful exercises on learning how to manage chaos and pressure in order to stay clearheaded and calm in uncertain and difficult situations. Boss's advice helps you understand that stress is a mental game that can be overcome, often by avoiding mental pitfalls and learning to replace negative thoughts with positive ones.

Posted By Blogger to HDGEM at 3/19/2017 07:18:00 AM

[HDGEM] How to be a successful consultant

Cultivate deep and lasting relationships built on the premise that continued success for all
Innovative in your work, Proactive in your advice Demonstrate enthusiasm for your assignmentsMoving from project to project, contract to contract. Treating consulting as your life's work. Thrive on tacking challenges, Solving problems Seizing business opportunities. 

Posted By Blogger to HDGEM at 3/19/2017 05:18:00 AM

[HDGEM] Era of rapid technological advances

Artificial intelligence
and robotics,
and the potential for automating increasingly sophisticated tasks

Are changing our world in fast pace.

Posted By Blogger to HDGEM at 3/18/2017 10:12:00 PM

[HDGEM] Job losses from automation

Rise of machines means Global economy could lose tens of million jobs in coming years.

Posted By Blogger to HDGEM at 3/18/2017 10:04:00 PM

[HDGEM] Unified Security Management™ Simplifies Security in the Cloud & On-Premises

AlienVault unifies all of your essential security tools in one location and combines them with real-time threat intelligence.

Posted By Blogger to HDGEM at 3/18/2017 09:54:00 PM

[HDGEM] Providing quality asset management services

Working closely with the Investment Team and Operations Lead, the Investment Analyst plays a key role in supporting client relationships and providing quality asset management services for pension funds, endowment & foundations, retail and high net worth clients of various sizes

Posted By Blogger to HDGEM at 3/18/2017 09:41:00 PM

[HDGEM] Many gamers are fueled by junk food, caffeine and alcohol.

Many gamers are fueled by junk food, caffeine and alcohol.

Posted By Blogger to HDGEM at 3/18/2017 09:34:00 PM

[HDGEM] Twitch - live game streaming

Twitch is a website owned by Amazon that lets people broadcast themselves playing games.

Posted By Blogger to HDGEM at 3/18/2017 09:32:00 PM

[HDGEM] Yahoo Data Breach

Four men, including two Russian intelligence agents, face 47 criminal charges, including conspiracy, computer fraud, economic espionage, theft of trade secrets and aggravated identity theft.

Posted By Blogger to HDGEM at 3/18/2017 09:27:00 PM

[HDGEM] The market for software developers is booming right now.

But that doesn't mean it will stay that way.

Posted By Blogger to HDGEM at 3/18/2017 09:24:00 PM

[HDGEM] WebAssembly is a new type of code that can be run in modern web browsers

WebAssembly is a low-level assembly-like language with a compact binary format that runs with near-native performance and provides languages such as C/C++ with a compilation target so that they can run on the web. It is also designed to run alongside JavaScript, allowing both to work together.

Posted By Blogger to HDGEM at 3/18/2017 09:20:00 PM

[HDGEM] Researchers succeeded in taking remote control of a Jeep in 2015, including steering, brakes and transmission.

Researchers succeeded in taking remote control of a Jeep in 2015, including steering, brakes and transmission.

Posted By Blogger to HDGEM at 3/18/2017 08:50:00 PM

[HDGEM] BootstrapCDN

The recommended CDN for Bootstrap, Font Awesome and Bootswatch.

Posted By Blogger to HDGEM at 3/18/2017 08:18:00 PM

[HDGEM] Transfer your knowledge

If you can stay mentally flexible and look for places where you can easily transfer your knowledge it makes your life as a job seeker easier.

Posted By Blogger to HDGEM at 3/18/2017 08:08:00 PM

[HDGEM] Skills and market

Even your most hard-earned skills are only valuable as long as there are "buyers"—employers who need those skills and have money to pay for them.

Posted By Blogger to HDGEM at 3/18/2017 08:05:00 PM

[HDGEM] Azure Storage provides four different storage services suited for varying application purposes.

Blob Storage If your app needs to store unstructured object data, then blob storage is for you. Sometimes referred to as object storage, blob storage can be any form of text or binary data, such as a document or media file. Unstructured means that data isn't stored in columns and rows, as is the case in relational databases. Blob storage can be accessed from anywhere using REST APIs, but unlike file storage, can't be mounted using the SMB protocol. File Storage Intended mainly for legacy apps that you want to 'lift and shift' to the cloud, file storage allows files to be accessed from virtual machines using the standard SMB protocol. There's also a REST API so that on-premises apps can access data stored in shares. Table Storage This is where it gets interesting because while table storage might sound like it's just an SQL database, instead of storing data in rows and columns, data is stored in collections of individual documents, or as Microsoft refers to…



Posted By Blogger to HDGEM at 3/18/2017 07:54:00 PM

[HDGEM] Cloud WAFs are HTTPS interception products.

Could WAFs decrypt traffic and in some configurations they either don't re-encrypt it, or they don't perform certificate validation to verify the identity of the website being visited. This breaks end-to-end encryption.

Posted By Blogger to HDGEM at 3/18/2017 07:49:00 PM

[HDGEM] US-CERT is the United States Computer Emergency Readiness Team

They are an organization within the US Department of Homeland Security.

Posted By Blogger to HDGEM at 3/18/2017 07:47:00 PM

[HDGEM] AWS WAF is a web application firewall that helps protect your web applications from common web exploits

AWS WAF - Web Application Firewall AWS WAF is a web application firewall that helps protect your web applications from common web exploits that could affect application availability, compromise security, or consume excessive resources. AWS WAF gives you control over which traffic to allow or block to your web applications by defining customizable web security rules. You can use AWS WAF to create custom rules that block common attack patterns, such as SQL injection or cross-site scripting, and rules that are designed for your specific application. New rules can be deployed within minutes, letting you respond quickly to changing traffic patterns. Also, AWS WAF includes a full-featured API that you can use to automate the creation, deployment, and maintenance of web security rules. With AWS WAF you pay only for what you use. AWS WAF pricing is based on how many rules you deploy and how many web requests your web application receives. There are no upfront commitments. You can deploy AW…

[HDGEM] Qualys Web Application Firewall

Web Application Firewall Qualys Web Application Firewall (WAF) is a next-generation cloud service that brings an unparalleled combination of scalability and simplicity to web app security. Its automated, adaptive approach lets you quickly and more efficiently:
attacks on web server vulnerabilities Prevent
disclosure of sensitive information. Control where and when your applications are accessed.

Posted By Blogger to HDGEM at 3/18/2017 07:43:00 PM

[HDGEM] Cloudflare’s enterprise-class web application firewall (WAF)

Cloudflare's enterprise-class web application firewall (WAF) protects your Internet property from common vulnerabilities like SQL injection attacks, cross-site scripting, and cross-site forgery requests with no changes to your existing infrastructure.

Posted By Blogger to HDGEM at 3/18/2017 07:40:00 PM

[HDGEM] While there are many parallels, working on the web is quite different from working in an art studio.

There are so many unique concerns that fine artists don't have to worry about, like user device, accessibility, user experience, etc.

Posted By Blogger to HDGEM at 3/18/2017 07:28:00 PM

[HDGEM] Why ISPs sell you bundles

The ISPs don't make nearly as much selling you a data plan as they used to make selling you a cable plan. 
So their goal is to return to the "good old days" by locking down the internet into "channels" and "bundles" then forcing you to buy those.

Posted By Blogger to HDGEM at 3/18/2017 07:25:00 PM

[HDGEM] Internet is the ultimate information technology

The internet is special. It's the ultimate information technology — capable of supplanting the telegram, telephone, radio, cinema, television, and much more — and there's no clear way to disrupt it.

Posted By Blogger to HDGEM at 3/18/2017 07:05:00 PM

[HDGEM] Apex Systems

ABOUT APEX Apex Systems was founded in Richmond, Virginia in 1995 by Brian Callaghan, Win Sheridan and Jeff Veatch, three friends who met at Virginia Tech. They were inspired to start Apex for three main reasons: To treat job seekers better.To provide a better staffing service for companies.To build a company where the best recruiters, sales staff and infrastructure specialists would want to work.

Posted By Blogger to HDGEM at 3/18/2017 07:00:00 PM

[HDGEM] As an entrepreneur, you can’t stand still

You always need to look for ways to be more productive, more innovative and more competitive.

Posted By Blogger to HDGEM at 3/18/2017 03:51:00 PM

[HDGEM] NGINX Plus R12, a major new release of the NGINX Plus software application delivery platform.

NGINX Plus R12 adds more programmability, scalability, and automated management to help enterprises seamlessly deliver outstanding digital experiences.

Posted By Blogger to HDGEM at 3/18/2017 03:50:00 PM

[HDGEM] Google Sites

Google Sites has been part of Google's suite of apps since 2008, when it was launched as a simple website builder. The original version looked very similar to Google Docs—and the resulting websites looked a bit like documents with a search bar at the top. You could format text, embed images, documents, or videos, and even insert your own HTML code if you wanted to add more features. Everything was laid out in tables, so you could have a single or multiple-column layout for your content.

The new Google Sites editor looks more like the new Google Forms Then, in late 2016, Google revamped Google Sites, giving it a design quite similar to the new Google Forms. It uses a one-column design like many modern websites, and it makes it easier than ever to lay out your site, with all the tools organized into a sidebar or a popover menu that appears when you select text on your site.

Both app versions are still available—you can choose which editor you'd like to use when creating a …

[HDGEM] Free Google Sites

Building a new website seems like an impossibly hard task, something that'd take a few hours at best and a few weeks or months at worst. You'd never make a new website just to share a couple reports or write about a project you're working on.

You could, however. With the newly redesigned Google Sites—one of Google's best yet least known apps—you can build a full website for free in minutes.

Posted By Blogger to HDGEM at 3/18/2017 03:44:00 PM

[HDGEM] Customer Lifetime Value (CLV) is one of the most important factors in determining your business’ present and future success.

CLV is an often-overlooked metric that can accurately predict how much your customers are really worth. By measuring the net profit that you'll take in over the course of your entire relationship with a customer, you'll be able to narrow down exactly how valuable they are to your business.

CLV gives you crucial insight into how much money you should be spending on acquiring your customers by telling you how much value they'll bring to your business in the long run. Rather than just racing to keep your head above water, you'll be able to understand which customers you should be focusing on and, more importantly, why you should be focusing on them.

Posted By Blogger to HDGEM at 3/18/2017 03:26:00 PM

[HDGEM] Automate your bidding in AdWords

It's critical to understand your business and which customer segments are the most valuable.

To help with the process, automated bidding leverages contextual signals and high-accuracy bidding models to get you more conversions within your performance target.

Posted By Blogger to HDGEM at 3/18/2017 03:22:00 PM

[HDGEM] Use Ansible to provision everything you need, and work with the infrastructure you have.

No matter what infrastructure you have, there are baremetal machines under it somewhere. When rolling out datacenter deployments, use Ansible to provision everything you need, and work with the infrastructure you have.

Posted By Blogger to HDGEM at 3/18/2017 03:08:00 PM

[HDGEM] AWS Tech Talks are a selection of live online presentations that cover a broad range of topics at varying technical levels.

These webinars feature technical sessions led by AWS solutions architects and engineers, live demonstrations, customer examples, and Q&A with AWS experts.

Posted By Blogger to HDGEM at 3/18/2017 03:06:00 PM

[HDGEM] Online marketing plan

Markting where your customers and their influencers are actually active and paying attentionMarkting where you can provide unique value beyond what anyone else is doingMarkting where you have personal passion and interest.

Posted By Blogger to HDGEM at 3/18/2017 03:01:00 PM

[HDGEM] Four people were accused of hacking 500 million Yahoo accounts

The U.S. Department of Justice accused of two Russian FSB officers and two criminal hackers of orchestrating the hack of at least 500 million Yahoo accounts. The DoJ alleges that they used unauthorized access to Yahoo's systems to obtain unauthorized a access to the contents of accounts at Yahoo, Google and other providers. One of the defendants is also accused of ecommerce fraud, as he used his access to Yahoo's network for personal financial gain.

Posted By Blogger to HDGEM at 3/18/2017 11:32:00 AM

[HDGEM] Someone who is socially awkward might still work very effectively on a team.

Someone who's socially awkward? That can be handled just fine.

Someone who is socially awkward might still work very effectively on a team.

Posted By Blogger to HDGEM at 3/18/2017 02:21:00 AM

[HDGEM] Get more skills, context, and experience.

You get respect for being reliable, motivated, and correct.
You get respect for delivering.
You get respect for picking and solving hard problems that matter and are material to the business.

Posted By Blogger to HDGEM at 3/18/2017 02:14:00 AM

[HDGEM] Don't sell a product, solve a problem!

Assists people reach their business goals.

If your work helps your buyers, they will always be looking for more work from you. They will tell all their friends how much you've contributed to their business success. Before you know it, buyers will beg you to take on their work and you'll be so busy, you can be very selective about the work you agree to take on.

Posted By Blogger to HDGEM at 3/18/2017 02:12:00 AM

[HDGEM] The new RSS reader in Opera

Now, you can decide which news should appear in your RSS-based feed.
To use the RSS reader, all you have to do is to enter the news menu, click "+ add sources" and paste the URL into the search field. Once recognized as a valid source, it will be added to the newsreader. The feed can either be read in a timeline or stacked view.

Posted By Blogger to HDGEM at 3/17/2017 03:19:00 PM

[HDGEM] Idempotency

Idempotence is an important concept in the HTTP specification that states idempotent HTTP requests will result in the same state on the server no matter how many times that same request is executed. GET, HEAD, PUT, and DELETE all have this attribute, but POST does not.

Posted By Blogger to HDGEM at 3/17/2017 02:03:00 PM

[HDGEM] Building an API can be as quick as serving fast food.

Frameworks like Express, Flask, and Sinatra combined with cloud  platform now help any developer have an API up and running in a few minutes.

Posted By Blogger to HDGEM at 3/17/2017 12:49:00 PM

[HDGEM] Cloudflare uses CNAME Flattening to present a CNAME as an A record.

The Cloudflare server generating the response follows the CNAME chain so that the response to the request from the client (for example, the browser) contains only non-CNAME data -- usually, an IP address. This effectively creates an A or an AAAA record. Without flattening, Cloudflare would serve the CNAME record directly to the recursor (the DNS resolver that translates the domain name to an IP address).

Posted By Blogger to HDGEM at 3/17/2017 07:29:00 AM

[HDGEM] How to get apache config location

Get the path of running Apache $ ps -ef | grep apacheAppend -V argument to the path $ httpd -V Server version: Apache/2.2.15 (Unix) Server built: Jan 12 2017 17:09:39 Server's Module Magic Number: 20051115:25 Server loaded: APR 1.3.9, APR-Util 1.3.9 Compiled using: APR 1.3.9, APR-Util 1.3.9 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/etc/httpd" -D SUEXEC_BIN="/usr/sbin/suexec" -D DEFAULT_PIDLOG="run/" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT…

[HDGEM] How to send email in non-interactive mode by Mutt

Mutt was not meant for sending messages programmatically.It's meant to be an interactive mail client; the command-line flags for sending messages are there only as a minor add-on.

See also:

How to send a file as an email attachment using Linux command line

Posted By Blogger to HDGEM at 10/14/2016 12:58:00 PM

[HDGEM] How to fix if you're having trouble opening the DMG file to install desktop app for Mac

Click Open With then select DiskImageMounter
Open Finder. Select OverDrive Media Console under "Devices" on the left-hand side. 
Double-click the installer, then follow the prompts to complete the installation. 

Posted By Blogger to HDGEM at 3/16/2017 02:46:00 PM

[HDGEM] Test Email server

To test, use this Microsoft guide or a service such as

Posted By Blogger to HDGEM at 3/16/2017 10:49:00 AM

[HDGEM] Apple Pay now available for WooCommerce customers.

That's right! With Stripe you can now accept payments on your store via Apple Pay. Quicker checkouts for your customers, better conversion rates for you.

Posted By Blogger to HDGEM at 3/16/2017 10:35:00 AM

[HDGEM] How to fix: Wordpress: Error plugins/insert-headers-and-footers/ihaf.php on line 102

This  fatal errors which cause 500 error. Change plugin code- line number 102- 108 ihaf.php if ( empty( get_option( $this->plugin->db_welcome_dismissed_key ) ) ) { if ( ! ( $pagenow == 'options-general.php' && isset( $_GET['page'] ) && $_GET['page'] == 'insert-headers-and-footers' ) ) { $setting_page = admin_url( 'options-general.php?page=' . $this->plugin->name ); // load the notices view include_once( WP_PLUGIN_DIR . '/' . $this->plugin->name . '/views/dashboard-notices.php' ); } } change to – $welcome_key = get_option( $this->plugin->db_welcome_dismissed_key ); if ( empty( $welcome_key ) ) { if ( ! ( $pagenow == 'options-general.php' && isset( $_GET['page'] ) && $_GET['page'] == 'insert-headers-and-footers' ) ) { $setting_page = admin_ur…

[HDGEM] Commands available to help control your openshift application and environment.

> help Help menu: 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 Deprecated: ctl_app control your application (start, stop, restart, etc) ctl_all control application and deps like mysql in one command

Posted By Blogger to HDGEM at 3/16/2017 08:03:00 AM

[HDGEM] How to create a Catch-All E-mail Account

A catch-all e-mail address can be made by using an asterisk(*) as the account name such as *

Posted By Blogger to HDGEM at 3/16/2017 07:47:00 AM

[HDGEM] Catch-All E-mail Account

A "catch-all" e-mail address is simply an e-mail address that will receive e-mails that have been sent to a non-existent account at(@) your domain. This means that if and are the only e-mail accounts created and someone mistakenly tries to send a mail to, this e-mail would be delivered to the catch-all address if one is set up. If no catch-all e-mail address is set up, then the e-mail would simply be returned to the sender with a message that it is not deliverable because no such e-mail account exists.

With a catch-all e-mail account set up, and will continue to only receive e-mails that are addressed to them and will not receive any mail addressed to non-existent accounts like the catch-all e-mail.

Posted By Blogger to HDGEM at 3/16/2017 07:39:00 AM

[HDGEM] Google G Suite Administrator resources

Administrator resources Visit these sites to explore more configuration options and get help managing your services:
Plan a large deployment or find more user resources.
Learn about new features and products as we release them.
Troubleshoot or further configure your services.

Posted By Blogger to HDGEM at 3/16/2017 07:07:00 AM

[HDGEM] Gmail alias for limitless email accounts

For instance, if your email address is , any email that's addressed to either  or i88.c.a or will also be delivered to your main inbox since Gmail ignores dots and anything that's after the plus symbol in email usernames.

Therefore, theoretically speaking, you get an unlimited number of email addresses with one Gmail account.

Posted By Blogger to HDGEM at 3/16/2017 06:50:00 AM

[HDGEM] How to setup an email alias in Google Apps

Log in to as an admin (replace with your domain name) and click the "Users and groups" option.

Select the email username for which you wish to setup aliases and then click "Add a nickname" to associate another email username with this user. You may associate up to 30 different nicknames per user in Google Apps.

When you reply to an email that's addressed to one of your nicknames, the "From" address may still have your main email address. You can however change that quite easily.

Posted By Blogger to HDGEM at 3/16/2017 06:47:00 AM

[HDGEM] Amazon Web Services (AWS) got hit with an S3 outage

Which led to other services going down. The downtime affected Docker, Medium, Slack, and the U.S. Securities and Exchange Commission, among other customers. AWS said the issue resulted from human error.

Posted By Blogger to HDGEM at 3/16/2017 06:34:00 AM

[HDGEM] Lenovo ThinkPad T460s 20F9 - 14" - Core i7 6600U - 8 GB RAM - 256 GB SSD

$1,799.00 Advertised Price

Product Overview

Core i7 6600U / 2.6 GHz
Win 7 Pro 64-bit (includes Win 10 Pro 64-bit License)
256 GB SSD TCG Opal Encryption 2
14" IPS 2560 x 1440 (WQHD)
HD Graphics 520
WWAN upgradable

Feature-rich and feather-light, this Ultrabook boasts high processing power; MILSPEC-tested durability; amazing audiovisuals; effortless manageability; and all-day battery life. The well-connected business person likes to travel light, and T460s lets you do just that.

Posted By Blogger to HDGEM at 3/15/2017 10:00:00 AM

How to fix: Error 1001: CNAME a domain not on CloudFlare to a domain that is on CloudFlare

Trying to use a CNAME to redirect traffic for a domain not on CloudFlare to a domain that is on CloudFlare will create a DNS resolution error like the following:

Error1001Ray ID: 1587aee6688a0888
DNS resolution error
What happened?
You've requested a page on a website ( that is on the CloudFlare network. CloudFlare is currently unable to resolve your requested domain ( There are two potential causes of this: Most likely: if the owner just signed up for CloudFlare it can take a few minutes for the website's information to be distributed to our global network.Less likely: something is wrong with this site's configuration. Usually this happens when accounts have been signed up with a partner organization (e.g., a hosting provider) and the provider's DNS fails.

Since CloudFlare is a reverse proxy for the domain that is on CloudFlare, the CNAME redirect for the domain (not on CloudFlare) wouldn't know where to send the traffic to.

If you would still…

[HDGEM] March 14 is recognized across the math world as Pi Day

March 14 is recognized across the math world as Pi Day, thanks to the resemblance of the date "3/14" to the first three digits of mathematics' most famous constant. 
While not an official federal holiday, Pi Day was enshrined by the House of Representatives in a ceremonial 2009 vote.

Posted By Blogger to HDGEM at 3/15/2017 06:42:00 AM

[HDGEM] The future of security best practices.

Solving today's most challenging security problems can be addressed with cognitive solutions that can stop threats through reason and machine learning, and is the future of security best practices.

Posted By Blogger to HDGEM at 3/15/2017 06:37:00 AM

[HDGEM] Gumshoe lets you monitor your application performance statistics.

With Gumshoe you can pinpoint lines of code, and get statistics which are associated with a call stack and individual stack frames. This means that you'll be able to analyze your resources usage (TCP, UDP, filesystem or processor utilization). This repository allows capturing, filtering and visualizing statistics as they are generated, and gives you intuitive views of flame and root graphs. If you're looking for something a little more specific in your application, you can also filter stack frames at capture and/or during visualization, and change them while they're running.

Posted By Blogger to HDGEM at 3/14/2017 08:29:00 PM

[HDGEM] Dex : The data explorer. A data visualization tool written in java/javafx capable of powerful ETL and publishing D3 and other HTML visualizations.

If you want a cool way to interact with your data, you should check out Dex. With it you can extract, transform and visualize your data, while also get predictive capabilities. You can publish your visualizations in 3D or any other HTML variable you'd like. Dex lets you generate over 50 different visualization patterns that include world maps, engagement timeline, network usage and more. You can integrate it with a running instance of R, and tap into complex statistical analysis and predictive analytics.

Posted By Blogger to HDGEM at 3/14/2017 08:25:00 PM

[HDGEM] Collaborative Writing for WordPress with Google Docs

Google Docs is one of the most popular online collaborative writing tools, you can publish from Google Docs directly to a WordPress site. Eliminate copying and pasting, re-uploading images, and re-formatting. Stop disrupting your creative flows: just write, collaborate, and publish. Installation is simple. Visit the official page on the Chrome store and click the blue "Free" button to install the add-on. Then follow the prompts to approve our add-on and you're all set.

Posted By Blogger to HDGEM at 3/14/2017 07:12:00 PM

[HDGEM] a webhook is simply a notification

In general terms, a webhook is simply a notification sent over the web, which is triggered automatically whenever a specific event occurs.

Posted By Blogger to HDGEM at 3/14/2017 06:55:00 PM

[HDGEM] reCAPTCHA Can be Bypassed Using Google's Speech Recognition API

A researcher has found a vulnerability in the latest version of reCAPTCHA that could let spambots bypass reCAPTCHA fields across millions of sites.

Posted By Blogger to HDGEM at 3/14/2017 06:01:00 PM

[HDGEM] Google App Engine Adds .NET Support As It Races to Be The PaaS of Choice

Knowing that language flexibility is core to PaaS success, Google has the most popular languages covered in Google App Engine now that it has added support for .NET and PHP.

Posted By Blogger to HDGEM at 3/14/2017 06:00:00 PM

[HDGEM] Amazon EC2Rescue is a convenient, straightforward, GUI-based troubleshooting tool that can be run on your Amazon EC2 Windows Server instances

Amazon EC2Rescue is a convenient, straightforward, GUI-based troubleshooting tool that can be run on your Amazon EC2 Windows Server instances to troubleshoot operating system-level issues and collect advanced logs and configuration files for further analysis. EC2Rescue provides capabilities that help you simplify and expedite the troubleshooting of EC2 Windows instances. You can use EC2Rescue in either Current Instance or Offline Instance Modes to perform a variety of diagnostic and troubleshooting tasks.

Posted By Blogger to HDGEM at 3/14/2017 01:31:00 PM

[HDGEM] How to get notification after end of job execution in terminal

The simplest way would be to use notify-send: sleep 8 && notify-send 'done'

Posted By Blogger to HDGEM at 3/14/2017 11:22:00 AM

How to fix: MySQL bin log index not found (Errcode: 13)

If you get for example

/usr/sbin/mysqld: File '/var/log/mysql/mysql-bin.index' not found (Errcode: 13)
after for example you change your bin log files location.

You first need to make sure your new bin log file has correct permission setting, owned by mysql:mysql.

You may also need to disable SELinux ( CentOS) or apparmor ( Ubuntu) to make it work.

See also:
How to check / change SELinux in linux

[HDGEM] SPF is an extension to Internet e-mail.

SPF prevents unauthorized people from forging your e-mail address (see the introduction). But for it to work, your own or your e-mail service provider's setup may need to be adjusted. Otherwise, the system may mistake you for an unauthorized sender.

Note that there is no central institution that enforces SPF. If a message of yours gets blocked due to SPF, this is because (1) your domain has declared an SPF policy that forbids you to send through the mail server through which you sent the message, and (2) the recipient's mail server detected this and blocked the message.

Posted By Blogger to HDGEM at 3/14/2017 09:00:00 AM

How to get Active Transactions and Locks from MySQL

To get a list of active transactions and locks that are currently executing against our target databaseMySQL captures transaction and lock information in the INNODB_TRX, INNODB_LOCKS, and INNODB_LOCK_WAITS INFORMATION_SCHEMA tables.
INNODB_TRX provides us with information on the currently executing transactions.INNODB_LOCKS gives us information on current lock.INNODB_LOCK_WAITS provides information on who is actually waiting for locks.  The query below enables one to see active locks filtered by a particular database:

How to reduce MySQL InnoDB Lock by innodb_autoinc_lock_mode

There are three possible settings for the innodb_autoinc_lock_mode configuration parameter. The settings are 0, 1, or 2, for “traditional”,“consecutive”, or “interleaved” lock mode, respectively. innodb_autoinc_lock_mode = 0 (“traditional” lock mode) The traditional lock mode provides the same behavior that existed before the innodb_autoinc_lock_mode configuration parameter was introduced in MySQL 5.1. The traditional lock mode option is provided for backward compatibility, performance testing, and working around issues with “mixed-mode inserts”, due to possible differences in semantics. innodb_autoinc_lock_mode = 1 (“consecutive” lock mode) This is the default lock mode. In this mode, “bulk inserts” use the special AUTO-INC table-level lock and hold it until the end of the statement.  innodb_autoinc_lock_mode = 2 (“interleaved” lock mode)

How to deal with Lock wait timeout exceeded in MySQL

Run SHOW ENGINE INNODB STATUS\G after your failed statement, you can find what caused the lock.

pt-deadlock-logger - Log MySQL deadlocks

can do this job for you.

You should consider increasing the lock wait timeout value for InnoDB by setting the innodb_lock_wait_timeout

show variables like 'innodb_lock_wait_timeout';

SET innodb_lock_wait_timeout = 120; (only for current session)


SET GLOBAL innodb_lock_wait_timeout = 120;

or put to configuration file:


[HDGEM] Amazon AWS Enhanced Networking on Linux

Enhanced networking uses single root I/O virtualization (SR-IOV) to provide high-performance networking capabilities on supported instance types. SR-IOV is a method of device virtualization that provides higher I/O performance and lower CPU utilization when compared to traditional virtualized network interfaces. Enhanced networking provides higher bandwidth, higher packet per second (PPS) performance, and consistently lower inter-instance latencies. There is no additional charge for using enhanced networking.

Posted By Blogger to HDGEM at 3/14/2017 06:48:00 AM

[HDGEM] Google discounts the cost of cloud instances based on the amount of usage they get in a month.

Google significantly reduces the cost of an instance if it can be preempted and shut down

when it's resources are needed elsewhere.

Posted By Blogger to HDGEM at 3/14/2017 06:47:00 AM

[HDGEM] Disk storage options is one area where Google outshines Amazon in the breadth of options.

Google provides storage volumes that can be directly connected to an instance and not
connected over the network. These disks provide near hardware level performance.

Posted By Blogger to HDGEM at 3/14/2017 06:46:00 AM

[HDGEM] Externally facing IP addresses of cloud instance

Externally facing IP addresses can easily be switched from virtual instance to virtual instance in
both Amazon AWS and Google Cloud.

Posted By Blogger to HDGEM at 3/14/2017 06:44:00 AM

[HDGEM] Amazon provides a unique service called “Enhanced Networking”

Amazon provides a unique service called "Enhanced Networking" on some of its instances
that provides near physical hardware performance. However, this level of optimization is only
needed for specialized systems.

Posted By Blogger to HDGEM at 3/14/2017 06:44:00 AM

[HDGEM] How to Move Unity Launcher To Bottom

To move unity launcher from left to bottom, you need to install a third party application called gconf-editor to move unity launcher to bottom. sudo apt-get install dconf-editor Open dconf-editor and go to com >> canonical >> unity >> unity and change launcher position to bottom. And Voila! Your unity launcher has moved to bottom.

Posted By Blogger to HDGEM at 3/14/2017 06:38:00 AM

[HDGEM] The Unity tweak tool extends the customization of Unity by allowing you to change the themes and icons. Enter the following command via terminal.

The Unity tweak tool extends the customization of Unity by allowing you to change the themes and icons. Enter the following command via terminal. sudo apt-get install unity-tweak-tool

Posted By Blogger to HDGEM at 3/14/2017 06:31:00 AM

[HDGEM] Terminator is to produce a useful tool for arranging terminals.

Terminator is inspired by programs such as gnome-multi-term, quadkonsole, etc. in that the main focus is arranging terminals in grids. Features:
Arrange terminals in a gridTabsDrag and drop re-ordering of terminalsLots of keyboard shortcutsSave multiple layouts and profiles via GUI preferences editorSimultaneous typing to arbitrary groups of terminals

Posted By Blogger to HDGEM at 3/14/2017 06:25:00 AM

[HDGEM] Google customized compute engine

Google let's you create a custom instance type where you can manually select the number of cores and amount of memory you want on that machine.

Posted By Blogger to HDGEM at 3/14/2017 05:59:00 AM


Amazon EC2s and Google Compute Engines are very similar in structure. Both are con gured via a software and hardware con guration.
Amazon EC2 software con gurations (called AMIs) range from free OS only versions to third- party full stack maintained con gurations.
Google Compute Engine software con gurations all start with bare-bones OS installations. However, further con gurations can be uploaded from AMIs, VirtualBoxes, or previous Compute Engine instances.
Hardware con gurations on both services are broken into focused categories such as general purpose, storage heavy, or memory optimized.
Amazon has a GPU focused hardware con guration that Google does not for heavy graphics processing or streaming applications.
Google allows for a completely custom hardware con guration option, which Amazon does not. 

Posted By Blogger to HDGEM at 3/14/2017 05:56:00 AM