January 31, 2017

[HDGEM] Remote work is part of software development today

A global workforce brings many benefits but it also means your code is being downloaded to hundreds of difficult to secure laptops. IT teams are frustrated trying to protect laptops against hacking, theft and loss. Meanwhile developers resent any security controls that hamper their ability to adjust code.

--
Posted By Blogger to HDGEM at 1/31/2017 07:36:00 PM

[HDGEM] How to create a file of random data

The following commands create a file that contains exactly 3 MiB (3 x 1024 x 1024 bytes) of random data.


$ dd if=/dev/urandom of=largefile bs=3145728 count=1  1+0 records in  1+0 records out  3145728 bytes (3.1 MB) copied, 0.205813 s, 15.3 MB/s
  

dd is a utility that copies a number of bytes from an input file to an output file. The above example uses the device file /dev/urandom as a source of random data.



--
Posted By Blogger to HDGEM at 1/31/2017 01:44:00 PM

[HDGEM] Using Amazon Glacier with the AWS Command Line Interface

$ aws glacier help
  
Amazon Glacier is a storage solution for "cold data."           Amazon  Glacier  is an extremely low-cost storage service that provides         secure, durable, and easy-to-use storage for data backup and  archival.         With  Amazon  Glacier,  customers can store their data cost effectively         for months, years, or decades. Amazon Glacier also enables customers to         offload  the administrative burdens of operating and scaling storage to         AWS, so they don't have to worry about capacity planning, hardware pro-         visioning,   data   replication,  hardware  failure  and  recovery,  or         time-consuming hardware migrations.  



--
Posted By Blogger to HDGEM at 1/31/2017 01:40:00 PM

[HDGEM] How to fix npm: command not found on Linux

$ sudo yum -y install npm

OR

$ sudo apt-get -y install npm

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

[HDGEM] How to install AWS Command Line on Mac and Linux

pip install awscli


--
Posted By Blogger to HDGEM at 1/31/2017 12:54:00 PM

[HDGEM] How to fix pip: command not found

$ sudo easy_install pip

--
Posted By Blogger to HDGEM at 1/31/2017 12:52:00 PM

[HDGEM] How to fix No package easy_install available on CentOS / Red Hat / Oracle Linux

to install easy_install:
sudo yum install python-setuptools python-setuptools-devel
to install pip:
sudo easy_install pip


--
Posted By Blogger to HDGEM at 1/31/2017 12:49:00 PM

[HDGEM] Independent Software Vendor (ISV) applications on Azure

 
 
Want to test out Independent Software Vendor (ISV) applications on Azure without the commitment of a subscription? Try them out for free in a sandbox environment and get a sense of how Azure runs your favorite apps. Launch a pre-configured image running on Azure with a couple of clicks to try it out.
 
 
  Get started   Get started  
 


--
Posted By Blogger to HDGEM at 1/31/2017 12:45:00 PM

[HDGEM] How to Install the Google Client python Library

To install the Google API Python Client on a system, use either the pip command or easy_installcommand.

easy_install --upgrade google-api-python-client
pip install --upgrade google-api-python-client
 HDGEM at 11/30/2016 04:26:00 PM

How to solve the problem of "ImportError: No module named MySQLdb" in Python

You need to install mysql-python:
  • yum install MySQL-python (Linux Fedora, CentOS, RedHat)
  • apt-get install python-mysqldb (Linux Ubuntu)
  • cd /usr/ports/databases/py-MySQLdb && make install clean (FreeBSD)
See also

[HDGEM] How to Connect a Custom Domain for FireBase App



Firebase Hosting can connect to your own custom custom domain, like https://example.com or https://myrealtimeapp.example.com. Firebase Hosting provisions an SSL certificate for your domain and serves your content over a global CDN.

Before connecting a custom domain, you'll need to deploy your site to its firebaseapp.com subdomain. This will give you access to the hosting admin panel, where you'll be able to see a history of deploys and manage custom domains.


--
Posted By Blogger to HDGEM at 1/31/2017 06:33:00 AM

[HDGEM] Value and uniqueness of the content.

Most of the content is spun, re-spun, rephrased, paraphrased, etc. from various news sources or sources of original journalistic work.

If you are going to write an article in your own words, which is already plenty available in various newsfeeds, where is your value proposition? What is so very different about your content that it should have a Dollar value attached to it?

--
Posted By Blogger to HDGEM at 1/30/2017 11:13:00 PM

January 30, 2017

[HDGEM] Build Value.

Whatever you may do online, be it running a blog, running a forum, selling software, providing services, etc. you must build a value for your product &/or service, for others to be able to find it worthy to spend money on it, either directly (purchase) or indirectly (viewership, reading, advertising, etc.).

--
Posted By Blogger to HDGEM at 1/30/2017 06:37:00 PM

[HDGEM] Talent finds Work

Work finds Talent.

--
Posted By Blogger to HDGEM at 1/30/2017 06:34:00 PM

[HDGEM] Plan how to explain to other people what you do and be remembered

"People will forget what you said, people will forget what you did, but people will never forget how you made them feel."

--
Posted By Blogger to HDGEM at 1/30/2017 06:32:00 PM

[HDGEM] Google is stopping supporting Chrome apps on Windows, Mac and Linux

Google said it would continue to enhance the Chrome apps platform on Chrome OS notebooks.

Chrome apps are basically apps that use web technologies but can launch outside the Chrome browser, making them look and feel to the user just like regular standalone apps, even though they're actually still browser-based.

--
Posted By Blogger to HDGEM at 1/30/2017 05:48:00 PM

[HDGEM] The Google G suite brought Gmail and Drive to the workplace.

Starting at $5/user/mo, it's affordable for any team with plenty of admin options to manage all your @awesome company emails.

--
Posted By Blogger to HDGEM at 1/30/2017 03:15:00 PM

[HDGEM] Atom - With a slew of packages and themes to rival Sublime Text

Atom is no longer a text editor "just for the cool kids." 

From the minds who brought us GitHub, Atom delivers a familiar text-editor experience with some nice built-in git management and search features.

--
Posted By Blogger to HDGEM at 1/30/2017 03:08:00 PM

[HDGEM] Vim has two basic modes. One is insert mode, Another is normal mode

Vim has two basic modes. 


One is insert mode, in which you write text as if in normal text editor.
Another is normal mode which provides you efficient ways to navigate and manipulate text.

At any time, you can see which mode you are in on the status bar which is located at the top of the editor.To change between modes, use Esc for normal mode and i for insert mode

--
Posted By Blogger to HDGEM at 1/30/2017 02:13:00 PM

[HDGEM] Oracle JavaScript Extension Toolkit (JET) empowers developers by providing a modular open source toolkit based on modern JavaScript, CSS3 and HTML5 design and development principles.

Oracle JET is targeted at intermediate to advanced JavaScript developers working on client-side applications. It's a collection of open source JavaScript libraries along with a set of Oracle contributed JavaScript libraries that make it as simple and efficient as possible to build applications that consume and interact with Oracle products and services, especially Oracle Cloud services.

--
Posted By Blogger to HDGEM at 1/30/2017 12:32:00 PM

[HDGEM] URL shorteners are helpful when sharing your content

Some social media, like Twitter, have a character limit so you have to be concise and relevant when posting a tweet. Using a URL shortener can thus help you to put more accurate information about the content that you are posting instead of having a tweet with a really long URL. It is also possible to brand a URL so that you know if the content has been shared by a company or a brand in particular.

--
Posted By Blogger to HDGEM at 1/30/2017 10:23:00 AM

[HDGEM] How to create .desktop file in Xfce

If you prefer to work in a GUI (allows browsing for the icon) you can create the .desktop file using

exo-desktop-item-edit --create-new ~/.local/share/applications

But the new file will only have category Application so will probably need editing afterwards.

Example desktop file:

eclipse.desktop in ~/.local/share/applications:
[Desktop Entry]  Version=1.0  Type=Application  Encoding=UTF-8  Exec=eclipse  Icon=eclipse  StartupNotify=false  Categories=X-XFCE;X-Xfce-Toplevel;  OnlyShowIn=XFCE;  Name=Eclipse  Comment=Eclipse Java IDE



--
Posted By Blogger to HDGEM at 1/30/2017 08:35:00 AM

[HDGEM] DevOps had became a permanent topic of discussion in the world of software development,

There's been a push from thought leaders, developers, and businesses to adopt the tools and methodologies to achieving Continuous Delivery. 


The benefits are obvious: with increased collaboration between development and operations teams, automated testing and deployments, and a supportive culture, bottlenecks can be eliminated, code changes can be deployed faster, and applications can recover from downtime much quicker.


--
Posted By Blogger to HDGEM at 1/30/2017 08:27:00 AM

[HDGEM] DevOps has emerged to be the "new normal" in software development

Helping companies react to user feedback real-time.

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

[HDGEM] Google Cloud Platform has released an open source Zipkin server that allows Zipkin-compatible clients to send traces to Google’s own Stackdriver Trace distributed tracing service for analysis.

This Zipkin/Stackdriver Trace integration is aimed at developers whose applications and services are written in a language or framework that Stackdriver Trace doesn't officially support, and owners of applications that are currently instrumented with Zipkin who want access to Stackdriver Trace's advanced analysis tools.

--
Posted By Blogger to HDGEM at 1/29/2017 11:25:00 PM

[HDGEM] Google Stackdriver is a monitoring, logging and diagnostic service for applications on cloud platforms.

Although data captured from any cloud platform can be sent to the Stackdriver API, Stackdriver functionality is highly integrated with many services within Google Cloud Platform (GCP) (and can be used for free by GCP customers). Google Stackdriver consists of several tools, and includes Stackdriver Trace, a distributed tracing service that has evolved from the original Google Dapper distributed tracing system.

--
Posted By Blogger to HDGEM at 1/29/2017 11:23:00 PM

[HDGEM] When it comes to online marketing, it’s important to track your every effort

Otherwise you'll lose out on the insight that helps you better understand your traffic.

--
Posted By Blogger to HDGEM at 1/29/2017 11:15:00 PM

[HDGEM] Clearbit Connect: Find Emails and Get Contact Info

Connect has proven to be one of the best.  Clearbit Connect won't just help you find the email for a specific person or role at an organization, but also see background info about a contact directly in Gmail.

--
Posted By Blogger to HDGEM at 1/29/2017 11:09:00 PM

[HDGEM] Installing too many Google Chrome extensions can slow down your browser

It's best to only install and keep the ones that you would actually use on a daily basis.

--
Posted By Blogger to HDGEM at 1/29/2017 11:05:00 PM

[HDGEM] Google Chrome has around 71% share of browser usage

It's no surprise that many of the most useful browser extensions out there have been built with Google Chrome in mind.

--
Posted By Blogger to HDGEM at 1/29/2017 11:04:00 PM

[HDGEM] Chrome 58 Canary Turns On WebAssembly

Google released Chrome 58 Canary this week, which enbales WebAssembly by default. The action gives Chrome more power to run Web apps directly in the browser, but this is early days

--
Posted By Blogger to HDGEM at 1/29/2017 11:01:00 PM

[HDGEM] GM Releases Next Generation Infotainment SDK

The NGI SDK provides app developers a virtual app building experience, accessible anywhere, that exposes 400 vehicle data points to the developer.

--
Posted By Blogger to HDGEM at 1/29/2017 11:00:00 PM

[HDGEM] Using an Ansible role to define a microservice offers the benefit of bringing existing Ansible content and community expertise to the new world of containers.

A role written to perform configuration updates or package installs on a virtual machine, or even bare metal, can just as easily be executed to perform the same tasks inside a container.

In fact, with very little change, if any, existing roles can be applied directly to the container image build process.

--
Posted By Blogger to HDGEM at 1/29/2017 10:49:00 PM

January 29, 2017

[HDGEM] BETTER STARVE FREE THAN BE A FAT SLAVE

A GAUNT Wolf was almost dead with hunger when he happened to meet a House-dog who was passing by. "Ah, Cousin," said the Dog. "I knew how it would be; your irregular life will soon be the ruin of you. Why do you not work steadily as I do, and get your food regularly given to you?"
"I would have no objection," said the Wolf, "if I could only get a place."
"I will easily arrange that for you," said the Dog; "come with me to my master and you shall share my work."
So the Wolf and the Dog went towards the town together. On the way there the Wolf noticed that the hair on a certain part of the Dog's neck was very much worn away, so he asked him how that had come about.
"Oh, it is nothing," said the Dog. "That is only the place where the collar is put on at night to keep me chained up; it chafes a bit, but one soon gets used to it."
"Is that all?" said the Wolf. "Then good-bye to you, Master Dog."

--
Posted By Blogger to HDGEM at 1/29/2017 04:13:00 PM

[HDGEM] Source Code Pro font from Adobe

It's free and awesome font for writing and programming

Source Code Pro font from Adobe 




--
Posted By Blogger to HDGEM at 1/29/2017 01:46:00 PM

[HDGEM] How to install vim awesome configuration

git clone https://github.com/amix/vimrc.git ~/.vim_runtime  sh ~/.vim_runtime/install_awesome_vimrc.sh


--
Posted By Blogger to HDGEM at 1/29/2017 01:44:00 PM

[HDGEM] EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.

The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control systems.

http://editorconfig.org/


--
Posted By Blogger to HDGEM at 1/29/2017 01:35:00 PM

[HDGEM] Example vimrc file

Inside Vim

:r $VIMRUNTIME/vimrc_example.vim

--
Posted By Blogger to HDGEM at 1/29/2017 08:54:00 AM

[HDGEM] Setting options in Vim

Typing ":set xxx" sets the option "xxx".  Some options are:
        'ic' 'ignorecase'       ignore upper/lower case when searching
        'is' 'incsearch'        show partial matches for a search phrase
        'hls' 'hlsearch'        highlight all matching phrases
     You can either use the long or the short option name.



--
Posted By Blogger to HDGEM at 1/29/2017 08:41:00 AM

[HDGEM] Finding your niche is what it is all about.

Your talent is your niche. If you're good in article writing, thats a starting point. What type of articles you are good at writing, is your micro-niche. If you like photography, what type of photography do you like? Can you do stock photography? Are you good with portraits? You may love photography, but perhaps you're even better in doing post-production work on them. That just may be your micro-niche.

--
Posted By Blogger to HDGEM at 1/29/2017 07:23:00 AM

[HDGEM] CodeEval is platform for hosting coding challenges which has over 20,000+ competitive developers

Clients including eBay, BitTorrent, Warner Bros, Blizzard, as well as dozens of startups host challenges to source and screen developers. 
CodeEval's stand alone technical screening product is now part of CodeVue and packaged into HireVue's digital interviewing platform.


--
Posted By Blogger to HDGEM at 1/29/2017 02:47:00 AM

[HDGEM] Concurrency: Scale out via the process model

Concurrency: Scale out via the process model


--
Posted By Blogger to HDGEM at 1/29/2017 02:37:00 AM

[HDGEM] Run admin/management tasks as one-off processes

Run admin/management tasks as one-off processes


--
Posted By Blogger to HDGEM at 1/29/2017 02:37:00 AM

[HDGEM] Treat logs as event streams

Treat logs as event streams


--
Posted By Blogger to HDGEM at 1/29/2017 02:36:00 AM

[HDGEM] Dev/prod parity

Keep development, staging, and production as similar as possible

--
Posted By Blogger to HDGEM at 1/29/2017 02:36:00 AM

[HDGEM] In the modern era, software is commonly delivered as a service: called web apps, or software-as-a-service.

In the modern era, software is commonly delivered as a service: called web apps, or software-as-a-service.


--
Posted By Blogger to HDGEM at 1/29/2017 02:32:00 AM

[HDGEM] Why Use AdWords Smart Bidding

● Advanced Machine Learning ● Wide Range of Contextual Signals ● Flexible Performance Controls ● Transparent Performance Reporting

--
Posted By Blogger to HDGEM at 1/29/2017 02:06:00 AM

[HDGEM] Online sessions and talks are the best resources

Online sessions and talks are the best resources to expand our knowledge and learn about new, important and exciting elements in Technology.

--
Posted By Blogger to HDGEM at 1/29/2017 01:41:00 AM

[HDGEM] Java EE’s APIs (javax.*) provide extensions to Java that are super useful for developing large-scale applications.

While Java SE's APIs provide the standard core capabilities of the Java language (java.* packages),

--
Posted By Blogger to HDGEM at 1/29/2017 01:28:00 AM

[HDGEM] Java EE is built on top of Java SE

Unlike Java SE, the Enterprise Edition of Java is just a specification, with actual implementations available from Oracle (like the Glassfish reference implementation) and other vendors like RedHat and IBM.

--
Posted By Blogger to HDGEM at 1/29/2017 01:25:00 AM

[HDGEM] MailChimp worked with Facebook

MailChimp worked with Facebook to let users target ad campaigns based on their existing MailChimp email lists or to audiences developed within the Facebook platform.

--
Posted By Blogger to HDGEM at 1/29/2017 01:23:00 AM

January 28, 2017

[HDGEM] Computational photography

Computational photography takes a swarm of data from images or image sensors and combines it algorithmically to produce a photo that would be impossible to capture with film photography or digital photography in its more conventional form. Image data can be assembled across time and space, producing super-real high-dynamic range (HDR) photos—or just ones that capture both light and dark areas well.

--
Posted By Blogger to HDGEM at 1/28/2017 03:17:00 PM

[HDGEM] THE UNDO COMMAND in Vim

** Press  u  to undo the last commands,   U  to fix a whole line. **

--
Posted By Blogger to HDGEM at 1/28/2017 11:39:00 AM

[HDGEM] How to move cursor in Vim

The cursor is moved using either the arrow keys or the hjkl keys.
h (left)j (down)k (up)l (right)

--
Posted By Blogger to HDGEM at 1/28/2017 11:25:00 AM

[HDGEM] Java EE Alternatives

For instance, the servlet container Jetty didn't need to wait for Servlet 4.0 specs to be finalized and already has HTTP 2.0 support. Spring in general competes with Java EE, benefiting from previous specs.



--
Posted By Blogger to HDGEM at 1/28/2017 09:13:00 AM

[HDGEM] Java EE 8 is expected to include the Servlet 4.0 spec with HTTP 2.0 support.

Java EE 8 is expected to include the Servlet 4.0 spec with HTTP 2.0 support.


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

[HDGEM] VIM is ubiquitous, fast, and never crashes.

And it can do just about anything!

--
Posted By Blogger to HDGEM at 1/28/2017 08:34:00 AM

[HDGEM] Adults from the ages of 35 to 49 were found to spend an average of six hours and 58 minutes on social media per week

compared with six hours and 19 minutes for their younger counterparts.

--
Posted By Blogger to HDGEM at 1/28/2017 07:01:00 AM

January 27, 2017

[HDGEM] Without a doubt the single most used device that everyone uses these days are smartphones

It's amazing to think only 10 years ago, there were no iPhones or any smart phones at all. The wow phone of 2006 was the ultra thin Moto Razr. It was silver and it did not have a color screen, it did not have internet capabilities, it could not email and it certainly did not have any mobile apps.

But obviously that's all changed. These days changing your iPhone or Android is as common as going to the dentist because your introduction rate is up. Society is simply glued to smartphones due to all the snaps, posts, tweets, pins, replies and anything else I've missed.

--
Posted By Blogger to HDGEM at 1/27/2017 07:39:00 PM

[HDGEM] Tmux is a terminal multiplexer that enables you to have several independent terminals in one terminal.

It's about dividing the window into panes or tabs within the terminal and makes it easier to move through.

--
Posted By Blogger to HDGEM at 1/27/2017 03:57:00 PM

[HDGEM] The terminal is a command line where you can execute processes.

It's quite useful and makes your job much faster. You can move between files, download apps, and many other things with just one command instead of going through the whole menu.

--
Posted By Blogger to HDGEM at 1/27/2017 03:56:00 PM

[HDGEM] Software development tools increase the efficiency and productivity of a team.



--
Posted By Blogger to HDGEM at 1/27/2017 03:53:00 PM

[HDGEM] WildFly Swarm offers an innovative approach to packaging and running Java EE applications by packaging them with just enough of the server runtime

WildFly Swarm offers an innovative approach to packaging and running Java EE applications by packaging them with just enough of the server runtime to "java -jar" your application. It's MicroProfile compatible, too. And, it's all much, much cooler than that.

--
Posted By Blogger to HDGEM at 1/27/2017 02:08:00 PM

[HDGEM] How to add Add Unit Tests to Spring boot Application

Add this to your build file's list of dependencies:
    testCompile("org.springframework.boot:spring-boot-starter-test")
If you are using Maven, add this to your list of dependencies:


        <dependency>              <groupId>org.springframework.boot</groupId>              <artifactId>spring-boot-starter-test</artifactId>              <scope>test</scope>          </dependency>


--
Posted By Blogger to HDGEM at 1/27/2017 01:47:00 PM

[HDGEM] How to fix git: fatal: refusing to merge unrelated histories

You can use --allow-unrelated-histories to force the merge to happen.

"git merge" used to allow merging two branches that have no common base by default, which led to a brand new history of an existing project created and then get pulled by an unsuspecting maintainer, which allowed an unnecessary parallel history merged into the existing project. The command has been taught not to allow this by default, with an escape hatch "--allow-unrelated-histories" option to be used in a rare event that merges histories of two projects that started their lives independently.

--
Posted By Blogger to HDGEM at 1/27/2017 01:39:00 PM

[HDGEM] How to fix MySQL ERROR 2026 (HY000): SSL connection error: SSL is required but the server doesn't support it


  1. Comment out the SSL configuration in the my.cnf file.
  2. Move all the pem files to the data directory,
  3. Disable the SELinux and restart the database, 


--
Posted By Blogger to HDGEM at 1/27/2017 10:26:00 AM

[HDGEM] How to Customize Desktop Environment for xRDP Session

If you do not want to use the default desktop environment, you can customize it by creating a .Xclients file (X is capital!!!) in your home directory to launch the desktop environment you want and making it executable. In order to do this, open a terminal and run one of the following commands
Gnome 3:
echo "gnome-session" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service  
Gnome Fallback:
echo "gnome-fallback" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service  
KDE:
echo "startkde" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service  
MATE:
echo "mate-session" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service  
Cinnamon:
echo "cinnamon" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service  
Xfce4:
echo "startxfce4" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service


--
Posted By Blogger to HDGEM at 1/27/2017 09:44:00 AM

[HDGEM] Plasma is the default desktop environment of many major distributions including openSUSE.

If you are looking for a familiar working environment, Plasma Desktop offers all the tools required for a modern desktop computing experience so you can be productive right from the start.



--
Posted By Blogger to HDGEM at 1/27/2017 09:03:00 AM

[HDGEM] Why do some emails display "on behalf of" in the "From" field?

The reason for this is email authentication, which is a way for email recipients to verify that an email was sent by who it claims to be from. Email clients like Outlook and Gmail then display this extra information to help recipients determine which emails are legitimate.

--
Posted By Blogger to HDGEM at 1/27/2017 08:05:00 AM

[HDGEM] Business reporting

  • Build out standard reporting capabilities as new requirements are identified to provide key metrics to the organization that are timely, consistent and reliable 
  • Manage and maintain the current reporting capabilities while looking for efficiencies and improvements to provide faster and more reliable reporting 
  • Identify, digest and communicate relevant data points with preliminary insights into business drivers


--
Posted By Blogger to HDGEM at 1/27/2017 07:08:00 AM

[HDGEM] Yarn - an npm replacement

Facebook, Exponent, Google, and Tilde released something unexpected, an npm replacement they dubbed Yarn

--
Posted By Blogger to HDGEM at 1/27/2017 07:04:00 AM

January 26, 2017

[HDGEM] Customer wants outcome

When you enter a new market, make sure that your software fulfills some customer need. Cherish your customers and get frequent feedback.

Don't turn your software in a bloated, feature-rich mess that nobody wants to use.



--
Posted By Blogger to HDGEM at 1/26/2017 07:53:00 PM

[HDGEM] Software is everywhere

Modern society depends on it. It's inside watches, medical devices, phones, TVs, elevators, cars

--
Posted By Blogger to HDGEM at 1/26/2017 07:49:00 PM

[HDGEM] Finding a better way through a market, system, or product category.

The most interesting startups aren't focused on disruption. They're focused on finding a better way through a market, system, or product category.

--
Posted By Blogger to HDGEM at 1/26/2017 07:35:00 PM

[HDGEM] Success with soft skills and EI

Technical ability is fairly easy to assess but it's their soft skills, their emotional intelligence that is going to have a much bigger impact on whether they will be successful or not.

--
Posted By Blogger to HDGEM at 1/26/2017 07:30:00 PM

[HDGEM] Lead by soft

It's the soft skills that determine how successful leaders will be.

--
Posted By Blogger to HDGEM at 1/26/2017 07:28:00 PM

[HDGEM] Stress is a formidable threat to your success

when stress gets out of control, your brain and your performance suffer.


Studies have long shown that stress can have a lasting, negative impact on the brain. Exposure to even a few days of stress compromises the effectiveness of neurons in the hippocampus—an important brain area responsible for reasoning and memory. Weeks of stress cause reversible damage to neuronal dendrites (the small "arms" that brain cells use to communicate with each other), and months of stress can permanently destroy neurons.






--
Posted By Blogger to HDGEM at 1/26/2017 07:14:00 PM

[HDGEM] Difficult people defy logic.

Some are blissfully unaware of the negative impact that they have on those around them, and others seem to derive satisfaction from creating chaos and pushing other people's buttons. Either way, they create unnecessary complexity, strife, and worst of all stress.

--
Posted By Blogger to HDGEM at 1/26/2017 07:11:00 PM

[HDGEM] What resumes should be about

experience, side projects, and education.

--
Posted By Blogger to HDGEM at 1/26/2017 06:54:00 PM

[HDGEM] Application Discovery and Delivery Intelligence is precisely what enterprises need.

It helps businesses find the components that will be the cloud services of the future, identifies the services which can easily become cloud services, shows the dependencies that allow developers to understand how data flows and how data is managed through an application and provides businesses with the intelligence needed to find the core services buried in their current applications so they can be unleashed for consumption by born-on-the-cloud applications.


https://www.ibm.com/blogs/cloud-computing/2016/12/cloud-expert-devops-tool


--
Posted By Blogger to HDGEM at 1/26/2017 06:32:00 PM

[HDGEM] Make reading even more magic.

Discover a great way to share favourite stories and engage new readers. Read-Aloud books feature lively narrations — by actors, celebrities, and sometimes the authors themselves — and synced word highlighting to help kids recognize words and learn to read. Experience Read-Aloud books on all your devices, including Apple TV. To get started, download Dora's Big Buddy Race for free.

--
Posted By Blogger to HDGEM at 1/26/2017 06:09:00 PM

[HDGEM] How to join multiple lines from command line

$ tr \\n '' < .ssh/id_rsa.pub
tr: when not truncating set1, string2 must be non-empty
$ tr \\n ' ' < .ssh/id_rsa.pub



--
Posted By Blogger to HDGEM at 1/26/2017 04:12:00 PM

[HDGEM] Get paid to write for GitLab! Join the Community Writers Program!

 The platform for modern developers


GitLab unifies issues, code review, CI and CD into a single UI 


How It Works

    Choose a topic
    Start writing
    Receive feedback
    Get published
    Get paid



--
Posted By Blogger to HDGEM at 1/26/2017 03:46:00 PM

[HDGEM] Why use a static site generator instead of a CMS

With a CMS you need to host a complex stack of software just to serve your site, typically you need a web server, a database, an application and then some caching.

If the same content is served to every user, caching could effectively be a set of static HTML pages that are generated every time content on the site changes.

What's the point in hosting this CMS on a publicly accessible server, paying for all the complexity and increasing the attack surface area for hackers?

--
Posted By Blogger to HDGEM at 1/26/2017 03:32:00 PM

[HDGEM] Static website generation is quickly becoming a big part of the professional website builder’s toolbox.

A new static website generator seems to pop up every week.

--
Posted By Blogger to HDGEM at 1/26/2017 03:28:00 PM

[HDGEM] GitLab Pages - Create websites for your GitLab projects, groups, or user account.


  • Use any static website generator: Jekyll, Middleman, Hexo, Hugo, Pelican, and more.
  • Connect your custom domain(s) and TLS certificates.
  • Host your static websites on GitLab.com for free, or on your own GitLab Enterprise Edition instance.


--
Posted By Blogger to HDGEM at 1/26/2017 03:27:00 PM

[HDGEM] Elasticsearch is the tool developers reach for performing a text search ridiculously fast

Elasticsearch's highly customizable interface has made it one of the most popular solutions for log aggregation and analysis.

--
Posted By Blogger to HDGEM at 1/26/2017 03:21:00 PM

[HDGEM] Postman makes API development easy

With the shift to SPAs and API architectures, Postman has become an API developer's best friend and a strong contender.

--
Posted By Blogger to HDGEM at 1/26/2017 03:19:00 PM

[HDGEM] WordPress powers 27% of the internet.

Join the global community.

WordPress is easy to get started. 



--
Posted By Blogger to HDGEM at 1/26/2017 03:16:00 PM

[HDGEM] There are 40,000 new programmers graduating every year in the U.S. alone.




--
Posted By Blogger to HDGEM at 1/26/2017 02:09:00 PM

[HDGEM] Google updated Google Voice on Monday with photo sharing and group messaging.




--
Posted By Blogger to HDGEM at 1/26/2017 02:08:00 PM

[HDGEM] What is a Web Compat bug?

If you find a bug on a web site, and it's in more than three common browsers, please report the bug to the website.

If this is happening in just one or two browsers, this is pretty likely a Web Compat bug, which you should report over at webcompat.com.


--
Posted By Blogger to HDGEM at 1/26/2017 02:02:00 PM

[HDGEM] Data Privacy Day is this Saturday.

Developers know the safety and security of the Internet impacts us all. 

Everyone should understand what is happening to our data, and have the ability to control how it is used.


--
Posted By Blogger to HDGEM at 1/26/2017 02:00:00 PM

[HDGEM] None of us want strangers accessing our accounts online.

You might use a password manager, or two-factor authentication via SMS, but there's another way you can stay protected -- physical security keys. 

--
Posted By Blogger to HDGEM at 1/26/2017 06:36:00 AM

[HDGEM] Google Home vs Amazon Alexa.

Alexa has gained lots of support in this year's CES. You may think it's just an AI assistant. It's actually is a Eco-system. With Amazon Prime account, you can have Alexa do a lot of things, like music, shopping, video. It's linked with all Amazon services.

What can you do with Google Home? You'd have to purchase a youtube red service. Most of people have Amazon Prime or Netflix, but no YouTube red.

--
Posted By Blogger to HDGEM at 1/26/2017 12:10:00 AM

[HDGEM] Google had permanently banned some publishers from its AdSense advertising network near the end of last year

Those websites try to deceive users from Google online ad service.

--
Posted By Blogger to HDGEM at 1/26/2017 12:03:00 AM

[HDGEM] Hacking Facebook accounts

Facebook accounts are compromised in such ways for the usual reasons — to send spam, to facilitate identity theft or to buy things through a connected credit card.

--
Posted By Blogger to HDGEM at 1/25/2017 11:58:00 PM

[HDGEM] Rogers Mobile Outgoing Email Server Configuration

> For all Rogers Internet Email customers ([email protected]), please use the following instructions:
>
> IMAP on Apple iOS
> http://www.rogers.com/web/support/wireless/ios/1809?setLanguage=en
>
> IMAP on Android 2.3 and below
> http://www.rogers.com/web/support/wireless/android/1807?setLanguage=en
>
> IMAP on Android 4.x devices
> http://www.rogers.com/web/support/wireless/android/1808?setLanguage=en
>
> IMAP on Windows 7.x-8.x devices
> http://www.rogers.com/web/support/wireless/windows-phone/1810?setLanguage=en
>
> For all other customers, please contact your e-mail service provider for assistance on the changes required to send email from your wireless phone.

--
Posted By Blogger to HDGEM at 1/25/2017 09:11:00 PM

January 25, 2017

[HDGEM] The Stony Brook Algorithm Repository

The Stony Brook Algorithm Repository



--
Posted By Blogger to HDGEM at 1/25/2017 08:46:00 PM

[HDGEM] Holub on Patterns: Learning Design Patterns by Looking at Code

By: Allen Holub
Publisher: Apress
Publication Date: 28-SEP-2004

Overview: Holub on Patterns: Learning Design Patterns by Looking at Code

The existing books on design patterns take a catalog approach, where they show the individual design patterns in isolation. This approach is fundamentally flawed, because you can't see how the design patterns actually function in the real world. Most programmers learn by looking at computer programs. Holub on Patterns: Learning Design Patterns by Looking at Code teaches you design patterns in exactly this way: by looking at computer programs and analyzing them in terms of the patterns that they use. Consequently, you learn how the patterns actually occur in the real world.

--
Posted By Blogger to HDGEM at 1/03/2017 08:30:00 PM

[HDGEM] Selection sort - One of the simplest sorting algorithms

Selection sort.
One of the simplest sorting algorithms works as follows: First, find the smallest item in the array, and exchange it with the first entry. Then, find the next smallest item and exchange it with the second entry. Continue in this way until the entire array is sorted. This method is called selection sort because it works by repeatedly selecting the smallest remaining item.

--
Posted By Blogger to HDGEM at 1/08/2017 10:48:00 PM

[HDGEM] The more abstraction you add, the greater the flexibility.

In today's business environment, where requirements change regularly as the program is under development, this flexibility is essential.

--
Posted By Blogger to HDGEM at 1/08/2017 10:44:00 PM

[HDGEM] Programming in terms of interfaces

Programming in terms of interfaces is a fundamental concept in OO systems in general and the Gang-of-Four design patterns in particular.

--
Posted By Blogger to HDGEM at 1/08/2017 10:17:00 PM

[HDGEM] A design pattern is a general technique used to solve a class of related problems

A design pattern is a general technique used to solve a class of related problems

--
Posted By Blogger to HDGEM at 1/03/2017 08:36:00 PM

[HDGEM] Design patterns are discovered, not invented.

Design patterns are discovered, not invented.

--
Posted By Blogger to HDGEM at 1/03/2017 08:36:00 PM

[HDGEM] Google has a nice collection of sources for students

Google has a nice collection of sources for students who would want to apply for a job at google. Students - Guide to Technical Development - Google Careers. They are all free

--
Posted By Blogger to HDGEM at 1/25/2017 07:38:00 PM

How to Test Moneris Hosted Paypage Configuration

Moneris Hosted Paypage Sample XML output

Sample test html page https://www.hhgem.com/Moneris.html:
<!DOCTYPE html>
<html>
<body>
<FORM METHOD="POST" ACTION=https://esqa.moneris.com/HPPDP/index.php>
 <INPUT TYPE="HIDDEN" NAME="ps_store_id" VALUE="BX94Ctore3">
 <INPUT TYPE="HIDDEN" NAME="hpp_key" VALUE="hp88KEKMD888">
 <INPUT TYPE="HIDDEN" NAME="charge_total" VALUE="1.00">

 <!--MORE OPTIONAL VARIABLES CAN BE DEFINED HERE -->
 <INPUT TYPE="HIDDEN" NAME="email" VALUE="[email protected]">
 <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Click to proceed to Secure Page">
</FORM>
</body>
</html>

Test locations:
https://esqa.moneris.com/mpg/

https://esplusqa.moneris.com/usmpg/index.php

Test Card Numbers
Card Plan Card Number

  • MasterCard 5454545454545454
  • Visa 4242424242424242
  • Amex 373599005095005
  • JCB 3566007770015365
  • Diners 36462462742008 


Test Card Numbers for Card Verification
Card Plan Card Number

  • Visa 4761739012345678
  • 4761739012345686
  • 4761739012345694
  • 4761739012345603
  • 4761739012345611
  • 4761739012345629
  • 4761739012345637
  • 4761739012345645

To access the Merchant Resource Centre in the test environment go to https://esqa.moneris.com/mpg and use the logins on the web page.


[HDGEM] How To Give a Linux User Root-level Access Using sudo

[email protected] [~]# visudo
This will open the sudoers file in the vi editor. In order to give the user full root privileges, add the following line to the file:
example ALL=(ALL) ALL
If you only want a user to run certain commands as root, you can create a command alias in your sudoers file, like so:
User_Alias ADMINS = example
Cmnd_Alias HTTPD = /etc/init.d/httpd
ADMINS ALL = HTTPD

User_Alias creates a group of users that you can then assign command aliases to. (Additional users can be listed on the same line, separated by commas.) Cmnd_Alias then lists the various commands that the users of that Alias can run. The user alias is then assigned the command alias. The example user is now able to run the apache init script with full root privileges, which allows him to start, stop, and restart apache.
With this configuration, the user will have to type in his own password when he wishes to run sudo. If you don't need the user to type a password every time he runs a sudo command, just replace the last line of the above with:
ADMINS ALL = NOPASSWD: HTTPD

This should get you started applying sudo privileges to your users. If you have more detailed needs, the man page for sudo is thorough and readable. The sudoers file has a separate man page that details all the configuration options.



--
Posted By Blogger to HDGEM at 1/25/2017 07:01:00 AM

[HDGEM] Git is not adequately designed to serve as a backup tool.

There are many solutions specifically designed for performing backups that are worth checking out, including Arq, Carbonite, Mozy and CrashPlan.

--
Posted By Blogger to HDGEM at 1/25/2017 02:10:00 AM

[HDGEM] Difference between public and private repo of GitHub fork

Deleting a private repo deletes all its forks. Deleting a public repo keeps the forks but promotes one fork to be the new parent repo. If your boss makes your public repo private, it breaks all the existing forks and you won't be able to make pull requests from them to the private repo. help.github.com/

--
Posted By Blogger to HDGEM at 1/25/2017 01:49:00 AM

[HDGEM] Kuzzle is an open-source back-end solution for various applications.

It combines a high level API, a database, a real-time engine, subscription
and notification mechanisms as well as advanced search features.
The API is accessible through several standard protocols.

--
Posted By Blogger to HDGEM at 1/25/2017 01:38:00 AM

[HDGEM] Helping software developers of all levels get ahead in their careers.

The most valuable content you can get John Sonmez's YouTube videos are those that discuss how to improve your people skills, mental health, and productivity as a developer. 

--
Posted By Blogger to HDGEM at 1/25/2017 01:23:00 AM

January 24, 2017

[HDGEM] iDRAC SM-CLP Command Line Example

To see all targets and properties in the address space, use the -l all option, as in the following command:

show -l all -d properties /

Using the -level Option

The show -level option executes show over additional levels beneath the specified target. For example, if you want to see the username and userid properties of the account1 through account16 targets beneath /system1/sp1, you could enter the following command:

show -l 1 -d properties=(userid,username) /system1/sp1/account*




--
Posted By Blogger to HDGEM at 1/24/2017 04:04:00 PM

How to install Xfce using yum

To install Xfce using yum, execute the following as root:

yum install @xfce

How to Install xrdp on CentOS 7 / RHEL 7

$ sudo yum -y install xrdp
$ sudo systemctl start xrdp
$ sudo systemctl status xrdp
xrdp.service - LSB: Starts the xrdp daemon
   Loaded: loaded (/etc/rc.d/init.d/xrdp)
   Active: active (running) since Sat 2015-03-07 22:49:16 EST; 26s ago
  Process: 22272 ExecStart=/etc/rc.d/init.d/xrdp start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/xrdp.service
           ââ22281 /usr/sbin/xrdp
           ââ22285 /usr/sbin/xrdp-sesman

Mar 07 22:49:16 localhost.localdomain xrdp[22272]: Starting xrdp: [  OK  ]
Mar 07 22:49:16 localhost.localdomain xrdp[22272]: Starting xrdp-sesman: [  O...
Mar 07 22:49:16 localhost.localdomain systemd[1]: Started LSB: Starts the xrd...
Hint: Some lines were ellipsized, use -l to show in full.
$ sudo ss -antup | grep xrdp
tcp    LISTEN     0      2                      *:3389                  *:*      users:(("xrdp",22281,6))

tcp    LISTEN     0      2              127.0.0.1:3350                  *:*      users:(("xrdp-sesman",22285,6))

By default, services wont auto start after system reboot. Issue the following command to enable the service at system start up.

$ sudo systemctl enable xrdp.service
Next is to create iptables rule to allow rdp connection from the external machines, following command will add the exception for rdp port (3389).

$ sudo firewall-cmd --permanent --zone=public --add-port=3389/tcp
$ sudo firewall-cmd --reload

Now you can connect from for example Windows machine using "Remote Desktop Connection".

If you would like to fine tune your parameters, edit the file of /etc/xrdp/xrdp.ini and restart xrdp service. Inside /etc/xrdp/xrdp.ini, you can find section [xrdp1], [xrdp2], [xrdp3]...., you can choose to login with different section. You can port=-1 so it will connect to the last session. You can change username default to "i88ca" instead of "ask". Or you can set the username to "aski88ca", which will ask you for username while preset it to i88ca.

See also

Encryption levels of Remote Desktop connections

How to install RHEL EPEL Repo in Centos

How to install RHEL EPEL Repo in Centos

Fedora EPEL repos, and the famillecollet.com remi package repositories are not officially supported by CentOS, but they provide much more current versions of popular applications like PHP or MYSQL, rdp.

EPEL For CentOS 7
sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/7Server/x86_64/e/epel-release-7-9.noarch.rpm

For remi:

sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

You can see some additional repo definitions under the /etc/yum.repos.d directory.

You can enable the repos by editing for example:

sudo vim /etc/yum.repos.d/remi.repo

See also

[HDGEM] Tracker is a synergy of technologies that are designed to provide a highly sophisticated, innovative and integrated desktop.


Tracker provides the following:

  • Indexer for desktop search (for more details see this spec : https://wiki.ubuntu.com/IntegratedDesktopSearch)
  • Tag database for doing keyword tagging of any object
  • Extensible metadata database for apps like gedit and rhythmbox which need to add custom metadata to files
  • Database for first class objects allows using tracker's database for storage and implementation of First Class Objects and the Gnome 3.0 Model.

How to get rid of processes?

  1. Disabling tracker for globally (for all users)
    1. Edit /etc/xdg/autostart/trackerd.desktop file with root privileges (sudo -i gedit /etc/xdg/autostart/trackerd.desktop)
    2. Add Hidden=true to the end of the file
    3. Do the same for /etc/xdg/autostart/tracker-applet.desktop if you want
  2. Disabling tracker for your user only
    1. Enter the directory ~/.config/autostart, create it if it does not exist
    2. Create a file named trackerd.desktop
    3. Paste the following into the file, save and exit:
      [Desktop Entry]  Encoding=UTF-8  Name=Tracker  Hidden=true  
Source: https://wiki.ubuntu.com/Tracker


--
Posted By Blogger to HDGEM at 1/24/2017 07:20:00 AM

[HDGEM] Cost of data breach

IBM and Ponemon Institute's 2016 Cost of Data Breach Study found that the average cost of a data breach for the 383 companies participating increased from $3.79m to $4m over 2015: the average cost paid for each lost or stolen record containing sensitive and confidential information increased from $154 in 2015 to $158.

--
Posted By Blogger to HDGEM at 1/24/2017 01:26:00 AM

Featured Post

Check which window manager is running on Linux

In the terminal type  env  to see all environment variables. Some of them are: XDG_CURRENT_DESKTOP  - Tells you what Windows Manager you...