Skip to main content

Posts

Showing posts from April, 2017

[HDGEM] AWS Glue is a fully managed ETL service that makes it easy to move data between your data stores.

AWS Glue simplifies and automates the difficult and time consuming data discovery, conversion, mapping, and job scheduling tasks. AWS Glue guides you through the process of moving your data with an easy to use console that helps you understand your data sources, prepare the data for analytics, and load it reliably from data sources to destinations.

--
Posted By Blogger to HDGEM at 4/30/2017 02:27:00 PM

[HDGEM] What is Big O Notation

It is the relative representation of the complexity of an algorithm.
It describes how an algorithm performs and scales.
It describes the upper bound of the growth rate of a function and could be thought of the worst case scenario.

--
Posted By Blogger to HDGEM at 4/30/2017 01:40:00 PM

[HDGEM] Function without parameters is an antipattern.

There are certain scenarios in which it might be useful of function without parameters, but those are very rare and mostly related to already-broken design. 
If the function doesn't have any params, then what does it do? Where does it take the input and state? It could a global one — but that is an antipattern, too. 
Functions need input and output and should be pure.

--
Posted By Blogger to HDGEM at 4/30/2017 01:36:00 PM

[HDGEM] Top universities have collaborated with Massive Open Online Course (MOOC) providers to launch their online master’s degree.

The first MOOC-based degree was announced back in 2013. It took two years for the next one to be announced in 2015. But in the last year or so, MOOC providers have announced seven more completely-online master's degrees. In fact, Coursera plans to offer 20 such degrees by the end of 2019.

--
Posted By Blogger to HDGEM at 4/30/2017 10:48:00 AM

[HDGEM] Subscribe with Amazon.

Sellers of digital products and services can utilize Subscribe with Amazon to manage and operate a subscription based payment and consumption model through integration with Amazon APIs. After integration, sellers can find themselves listed on Amazon's subscription storefront.

--
Posted By Blogger to HDGEM at 4/29/2017 09:54:00 AM

[HDGEM] How to run script from Internet URL

curl -L http://hdgem.com/url | bash The -L flag is for location. If the server reports that the requested page has moved to a different location, this option will make curl redo the request on the new place.

The pipe | links the two commands so that the output of the curl command becomes the input of the bash command.

If you want to run a script from GitHub and you need to get the URL of raw script.

To pass arguments to the script:
curl -sL http://i88.ca/url | bash /dev/stdin arg1 arg2 Bourne shell also supports -s to read from stdin. curl -sL http://goyun.info/url | bash -s arg1 arg2

--
Posted By Blogger to HDGEM at 4/29/2017 08:36:00 AM

[HDGEM] Google G Suite can be configured using Security Keys

They are actual physical key-like dongles that plug into a computer and use Bluetooth or near-field communications (NFC) to verify a user's authenticity.

Spend a few minutes, just once, to set it up, and you're good to go from there on out. If you use different devices frequently as part of your work setup, this security feature could save you lots of time over the long run.

--
Posted By Blogger to HDGEM at 4/28/2017 09:33:00 PM

[HDGEM] Malware attacks on Apple's Mac computers

According to the McAfee Labs, malware attacks on Apple's Mac computers were up 744% in 2016, and its researchers have discovered nearly 460,000 Mac malware samples, which is still just a small part of overall Mac malware out in the wild.

--
Posted By Blogger to HDGEM at 4/28/2017 09:30:00 PM

[HDGEM] Android and Linux: Indicator KDE Connect

See Android notifications on your desktop
Check current battery level
Send and receive files to/from phone/desktop
Use phone as a mouse touchpad & keyboard
Ring your device to find it
Control desktop media player using phone
Clipboard sync between phone and desktop
View device information (e.g., battery)
Run commands & launch apps
Send SMS

--
Posted By Blogger to HDGEM at 4/28/2017 09:27:00 PM

[HDGEM] Google Cloud Dataflow dramatically simplifies and accelerates ingestion and processing compared to platforms like Spark, Hadoop, and Storm.

Google Cloud Dataflow's unified batch and streaming programming model and simple, high-level language reduce both latency and errors.

Your big data pipeline for GCP
Manage ETL tasks to filter, format, enrich, and ingest new data into BigQuery, or process data already stored on Cloud Storage, BigQuery, and Bigtable.

Fully managed and flexible
Dataflow automatically rebalances and autoscales worker resources to let you run large-scale parallel processing without operational headaches.

Unrivaled price to performance
Only pay for what you use. As resources scale up or down, you automatically get the best performance at the best price.

--
Posted By Blogger to HDGEM at 4/28/2017 06:05:00 PM

[HDGEM] Google Advanced Sheets service

The Advanced Sheets service lets you access the Sheets API using Apps Script. Much like Apps Script's built-in Sheets service, this API allows scripts to read, edit, format and present data in Google Sheets. In most cases, the built-in service is easier to use, but this advanced service provides a few extra features.

--
Posted By Blogger to HDGEM at 4/28/2017 03:40:00 PM

[HDGEM] Google Compute Engine zone

Which Google Compute Engine zone would you like to use as project default?If you do not specify a zone via a command line flag while working with Compute Engine resources, the default is assumed. [1] asia-east1-a [2] asia-east1-c [3] asia-east1-b [4] asia-northeast1-a [5] asia-northeast1-b [6] asia-northeast1-c [7] asia-southeast1-a [8] asia-southeast1-b [9] europe-west1-c [10] europe-west1-b [11] europe-west1-d [12] us-central1-f [13] us-central1-a [14] us-central1-c [15] us-central1-b [16] us-east1-d [17] us-east1-b [18] us-east1-c [19] us-west1-a [20] us-west1-b

--
Posted By Blogger to HDGEM at 4/28/2017 07:23:00 AM

[HDGEM] HTML5 Element provides a secure way to authenticate users.

The <keygen> element specifies a key-pair generator field in a form.

When the form is submitted, two keys are generated, one private and one public.

The private key is stored locally, and the public key is sent to the server.

The public key could be used to generate a client certificate to authenticate the user in the future.

--
Posted By Blogger to HDGEM at 4/28/2017 02:34:00 AM

[HDGEM] How to upgrade ubuntu server system

Install the update-manager-core package if it is not already installed.
Make sure the Prompt line in /etc/update-manager/release-upgrades is set to normal.
Launch the upgrade tool with the command sudo do-release-upgrade.
Follow the on-screen instructions.

--
Posted By Blogger to HDGEM at 4/28/2017 02:09:00 AM

[HDGEM] XHTML is HTML redesigned as XML.

There are many different browser technologies. Some browsers run on computers, and some browsers run on mobile phones or other small devices.

Smaller devices often lack the resources or power to interpret "bad" markup.

XML is a markup language where documents must be marked up correctly.

By combining the strengths of HTML and XML, XHTML was developed.

--
Posted By Blogger to HDGEM at 4/28/2017 01:23:00 AM

[HDGEM] Close all HTML elements properly

Empty elements can be "closed" in the opening tag like this: <br />.

HTML5 does not require empty elements to be closed. But if you want stricter validation, or if you need to make your document readable by XML parsers, you must close all HTML elements properly.

--
Posted By Blogger to HDGEM at 4/27/2017 07:48:00 PM

[HDGEM] There are websites which provide online contests

TopCoder (offers online contests for programmers).
CodeChef Programming Competition
HackerEarth - Programming challenges and Developer jobs

On these websites you basically create profile there are always some contests on going and you can participate and win big prize money / job offers / goodies and much more.

--
Posted By Blogger to HDGEM at 4/27/2017 07:02:00 PM

[HDGEM] Apache Maven WAR Plugin

Name: Apache Maven WAR Plugin
Description: Builds a Web Application Archive (WAR) file from the project
  output and its dependencies.
Group Id: org.apache.maven.plugins
Artifact Id: maven-war-plugin
Version: 3.0.0
Goal Prefix: war

This plugin has 4 goals:

war:exploded
  Description: Create an exploded webapp in a specified directory.
  Implementation: org.apache.maven.plugins.war.WarExplodedMojo
  Language: java
  Bound to phase: package

  Available parameters:

    archive
      The archive configuration to use. See Maven Archiver Reference.

    archiveClasses (Default: false)
      Whether a JAR file will be created for the classes in the webapp. Using
      this optional configuration parameter will make the compiled classes to
      be archived into a JAR file and the classes directory will then be
      excluded from the webapp.

    cacheFile (Default: ${project.build.directory}/war/work/webapp-cache.xml)
      Required: true
      The file containing the…

[HDGEM] Office 365 shared mailboxes

You don't need to assign licenses to shared mailboxes that are under 50 GB.

You need to give users permissions (membership) to use the shared mailbox. Only people inside your organization can use a shared mailbox.

You can't access a shared mailbox from Outlook for Mac or any mobile device (iPhone, Android, etc).

You can't encrypt email sent from a shared mailbox.



--
Posted By Blogger to HDGEM at 4/27/2017 12:10:00 PM

[HDGEM] Socket.IO is a popular library for Node.js that provides a real-time transport between the web browser and the Node.js server.

Socket.IO supports various protocols and methods for real-time transport, including WebSocket, Flash socket, Comet, and polling. By default, Socket.IO tries to connect with WebSocket protocol for better performance. But if it detects that the protocol is not available on the particular network, it falls back to other protocols and tries to establish a real-time connection with potentially higher performance.

--
Posted By Blogger to HDGEM at 4/27/2017 11:58:00 AM

[HDGEM] The biggest advantages of App Engine are its automatic scalability and availability.

Google App Engine applications must follow the design guidelines related to each unique App Engine runtime environment and various App Engine service APIs. The runtime and APIs are carefully designed to abstract datacenters as one massive parallel computer that powers your application and isolates it from single machine failures. As a result of these powerful features, developers can access a platform that is highly tolerant to events such as huge traffic spikes, rapid change in the number of users and services, and datacenter-wide downtime.

--
Posted By Blogger to HDGEM at 4/27/2017 11:54:00 AM

[HDGEM] Building a real-time game that has the potential to receive global media attention and host a large number of simultaneous players can be a daunting challenge.

Typically, it requires integrating various hardware, software, and platforms to satisfy common requirements of such a game, such as: Scalability to handle a large number of simultaneous usersHigh availability to be tolerant of a datacenter-wide downtimeLow latency to process player actions within a few hundred milliseconds

--
Posted By Blogger to HDGEM at 4/27/2017 11:50:00 AM

[HDGEM] Google Data Studio allows you to create and share as many reports as needed

Data Studio, allowing you to create and share as many reports as needed — all for free. Today we are opening up access to 180+ countries, enabling even more businesses to easily connect to data and create beautiful, informative reports that are easy to read, easy to share, and fully customizable.

--
Posted By Blogger to HDGEM at 4/27/2017 09:42:00 AM

[HDGEM] How to create distribution lists in the Office 365 admin center

Create a distribution list (group)Sign in to Office 365 with your work or school account.Select the app launcher icon and choose Admin.Choose Groups in the left navigation pane.Under Type of group, select the dropdown and choose Distribution list.Enter a name and add a description for your new distribution list.


--
Posted By Blogger to HDGEM at 4/27/2017 09:14:00 AM

[HDGEM] How to see process created by specific user in Unix/linux

To view only the processes owned by a specific user, use the following command:

top -U [username]
Replace the [username] with the required username

If you want to use ps then

ps -u [username]
OR

 ps -ef | grep <username>
OR

ps -efl | grep <username>
for the extended listing

See also:

How to prints the process tree of the user

--
Posted By Blogger to HDGEM at 4/27/2017 09:13:00 AM

[HDGEM] Bash Script Sleep or Delay a Specified Amount of Time

You need to use the sleep command to add delay for a specified amount of time. The syntax is as follows for gnu/bash sleep command:

sleep NUMBER[SUFFIX]

Where SUFFIX may be:


s for seconds (the default)
m for minutes.
h for hours.
d for days.
To sleep for 5 seconds, use:
sleep 5

To sleep for 2 minutes, use:
sleep 2m

--
Posted By Blogger to HDGEM at 4/27/2017 09:01:00 AM

[HDGEM] Deploying shared mailboxes for Exchange and Office 365 environments helps organizations handle customer emails efficiently.

However, managing the shared mailboxes using PowerShell or native tools requires additional time and effort. Organizations that have shared mailboxes in multiple Exchange Server versions and Office 365 are forced to sign in to different consoles to create and modify the shared mailboxes. In addition, there is no option to delegate the management of shared mailboxes.
Therefore, organizations need a more practical alternative to simplify shared mailbox management.

--
Posted By Blogger to HDGEM at 4/27/2017 08:01:00 AM

[HDGEM] How to Convert an Exchange Mailbox to a Shared Mailbox

Click Convert on the right side of the screen, under Convert to Shared Mailbox header. It will take a few minutes to convert the mailbox to shared. Once finished, remove the license from the mailbox in the Office 365 Admin center. Select the account, then click Edit next to the Assign license information on the right.

--
Posted By Blogger to HDGEM at 4/27/2017 07:48:00 AM

[HDGEM] Shared mailboxes in Office 365 make it easy for a group of people to monitor and send email from a common email addresses

Monitor and send email from a common email addresses, like [email protected]hdgem.com
When a person in the group replies to a message sent to the shared mailbox, the email appears to be from the shared mailbox, not from the individual user.

--
Posted By Blogger to HDGEM at 4/27/2017 07:41:00 AM

[HDGEM] JSF: the does not support the rendered attribute.

Your can use the itemDisabled attribute which still displays the item, but makes it unselectable.

The server side alternative is to bring in a JSTL <c:if> around the individual <f:selectItem> to contitionally add it to the view.

Or just clone the selectOneMenu and put different rendered condition there.



--
Posted By Blogger to HDGEM at 4/26/2017 11:17:00 AM

[HDGEM] 650,000 to 900,000 H-1B visas

It is not clear exactly how many foreigners are in the United States on H-1B visas, but analysts estimate 650,000 to 900,000. In recent years, about 70 percent of the visas have been issued to citizens of India.

--
Posted By Blogger to HDGEM at 4/25/2017 03:13:00 PM

[HDGEM] How to set up a webhook in GitHub

Sign in, then select the related repository you own.Click on "Settings" on the right panel.Then click on "Webhooks & Services" on the left panel.Click on the "Add WebHook" Button.Paste the copied URL in the URL form field.Select "application/json" as the content type.

--
Posted By Blogger to HDGEM at 4/25/2017 11:32:00 AM

[HDGEM] GitHub webhooks allow you to easily generate notifications whenever certain actions occur.

Webhooks allow you to build or set up integrations which subscribe to certain events on GitHub.com. When one of those events is triggered, we'll send a HTTP POST payload to the webhook's configured URL. Webhooks can be used to update an external issue tracker, trigger CI builds, update a backup mirror, or even deploy to your production server. You're only limited by your imagination.

--
Posted By Blogger to HDGEM at 4/25/2017 11:29:00 AM

[HDGEM] gcloud config - view and edit Cloud SDK properties

NAME gcloud config - view and edit Cloud SDK properties SYNOPSIS gcloud config GROUP | COMMAND [GLOBAL-FLAG ...] DESCRIPTION The gcloud config command group lets you set, view and unset properties used by Cloud SDK. A configuration is a set of properties that govern the behavior of gcloud and other Cloud SDK tools. The initial default configuration is set when gcloud init is run. You can create additional named configurations using gcloud init or gcloud config configurations create. To switch between configurations, use gcloud config configurations activate. gcloud supports several flags that have the same effect as properties in a configuration (for example, gcloud supports both the --project flag and project property). Properties differ from flags in that flags affect command behavior on a per-invocation basis. Properties allow you to maintain the same settings across command executions. Fo…

[HDGEM] Google cloud command line gcloud

Default gcloud configuration is called [default]. You can create additional configurations if you work with multiple accounts and/or projects.

Run `gcloud topic configurations` to learn more.

Some things to try:

* Run `gcloud --help` to see the Cloud Platform services you can interact with. And run `gcloud help COMMAND` to get help on any gcloud command.
* Run `gcloud topic -h` to learn about advanced features of the SDK like arg files and output formatting



--
Posted By Blogger to HDGEM at 3/23/2017 01:55:00 PM

[HDGEM] Google Cloud Machine Learning

Machine learning (ML) is a branch of artificial intelligence (AI).

Google not only offers Cloud Machine Learning for general purpose ML, but also leverages products they had to build for their own apps and offers interfaces for accessing them.

--
Posted By Blogger to HDGEM at 4/25/2017 05:41:00 AM

[HDGEM] Amazon QuickSight for business intelligence (BI)

You don't need to fall into the category of big data to be able to make sense of data. Large amounts of structured and even unstructured data can help you identify business opportunities. This is known as business intelligence (BI), and the strategies here can be very diverse and will vary a lot depending on your field.

If your business has the data sets, there may be valuable insights waiting to be mined.

--
Posted By Blogger to HDGEM at 4/25/2017 05:36:00 AM

[HDGEM] AWS Marketplace now enables multi-year contracts for software-as-a-service (SaaS) and application programming interface (API) products

This means you can contract for one, two, and three year terms with SaaS Contracts.

With this feature, you can use a shopping-cart like experience to determine the number of included units and the duration of your contract. You also now have the option to select automatic renewals, and to expand or modify your contract at any time.

--
Posted By Blogger to HDGEM at 4/24/2017 06:27:00 AM

[HDGEM] The H-1B program grants 65,000 work visas a year to foreigners

with 20,000 more visas granted to foreigners with advanced degrees and an unlimited number of extra visas available for universities, teaching hospitals and other nonprofit organizations. The program is aimed at highly skilled workers, and most of the visas are awarded to technology companies, although other specialty industries such as fashion also use the visas

--
Posted By Blogger to HDGEM at 4/23/2017 04:42:00 PM

[HDGEM] Google hacking as known as Google dorking

Google hacking, also named Google dorking is a computer hacking technique that uses Google Search and other Google applications to find security holes in the configuration and computer code that websites use.

--
Posted By Blogger to HDGEM at 4/23/2017 04:33:00 PM

[HDGEM] Deliver customer value faster, with higher quality

To be competitive in today's app economy, companies must deliver customer value faster, with higher quality—and lower costs.

You can accomplish this by incorporating customer feedback, and allowing developers, testers and performance teams to work in parallel.

--
Posted By Blogger to HDGEM at 4/23/2017 01:29:00 PM

[HDGEM] Firefox safe mode

Restarting the Firefox browser in "safe mode" temporarily disables browser extensions and helps you troubleshoot problems.

--
Posted By Blogger to HDGEM at 4/22/2017 02:05:00 PM

[HDGEM] HTML boilerplate templates and frameworks

Few people design their web pages from scratch. Most opt to use a pre-built template design, custom fit for their content management system of choice

HTML boilerplate templates and frameworks help you avoid reinventing the wheel and hand coding your website.

Bootstrap
HTML5 Boilerplate
Skeleton.

--
Posted By Blogger to HDGEM at 4/22/2017 03:46:00 AM

[HDGEM] Two-factor authentication (2FA) is an additional layer of security that can protect your account when your password has already been stolen by malicious hackers.

Two-factor authentication codes are generated based on several variables, including a secret seed and a timestamp. The seed is unique every time it's generated, and the time variable creates a new seed generally every 30 seconds. In order for a 2FA code to be generated, the company's server needs to share a secret seed with the user's local application. This is usually done by encoding the seed in a QR code, which can then be captured by an authenticator app by scanning it.

--
Posted By Blogger to HDGEM at 4/22/2017 03:40:00 AM

[HDGEM] Focused Inbox uses machine intelligence to guess which messages are most important

Focused Inbox places important emails under a "Focused" tab in an account's inbox. Emails that the system considers nonessential are shunted to an "Other" tab, to let users spend their time on only the most important items. 
Additional Gmail support includes faster and better search and the ability to track travel and package information.

--
Posted By Blogger to HDGEM at 4/22/2017 03:37:00 AM

[HDGEM] featured snippets are considered to be rich answers of Google search

Short bits of information at the top of a Google search page, known as "featured snippets," are considered to be "rich answers," or answers that are given special priority beyond the usual results you'll find below it.

Basically, rich answers give you the desired information without you having to click on any links.

If you have a Google Home, those rich answer snippets are usually what you get when you ask the personal assistant device a question.

--
Posted By Blogger to HDGEM at 4/22/2017 03:33:00 AM