Translate

Tuesday, 23 June 2020

6 Essentials for the Ultimate Home Office Setup

6 Essentials for the Ultimate Home Office Setup

A good home office setup is the sum of its parts. Great Wi-Fi isn’t going to offset the mounting frustration of a wobbly chair. Calming natural lighting won’t be able to shut those kids up from across the street. To create a space that cultivates productivity, everything has to work in harmony.

Although some specifics will likely differ depending on your job (software engineers are probably going to want a more powerful computer than copywriters), here are six essentials for building the ultimate home office setup imaginable.

1. Create a Distinct Space to Work In

No matter how badly many of us loathe the morning commute, going from one’s home to a distinct secondary location helps create that thing we love to call a work/life balance. On one side of the scale is the office — aka work — and on the other side of the scale is your home — aka life. But if you work from home, work and life gets all crammed together on one side of the scale.

To regain that balance, you have to create a distinct work space that’s either physically or psychologically separate from the space in which you relax and sleep. In other words, the place where you work can’t also be the place you don’t do work.

If you have a home with extra rooms, this should be relatively easy. Designate one of those rooms as your office. Boom. We’re done.

However, if you live in a home or apartment with no extra rooms, you’ll have to get a little creative. If you can’t put a door between your home and your work, put up a room divider or a curtain. Heck, make your own divider with plants. These separators help tell your brain that it’s work time, not play time.

Another way to trick your brain into separating your home office from your home is to leave the house before you start work. Get up and go for a walk, do a quick errand, or take out the garbage. Do something to tell your brain that you’re transitioning from one part of the day to another.

2. Prevent Distractions

Unless you’re lucky enough to have a Faraday cage in your home, you’re bound to be met with some sort of distraction throughout your day. Some of these distractions may be auditory in nature. Perhaps the person living above you is an all-day stomper; maybe the park across your street attracts a lot of terrible street musicians. Here, sound is the enemy, and the solution is a white noise machine, sound canceling headphones, or even a loud fan.

Other distractions may be digital. With no one looking over your shoulder, it’s tempting to futz around on the Internet instead of doing your work. This is where anti-procrastination apps come in handy. Here are some good ones:

Continue reading 6 Essentials for the Ultimate Home Office Setup on SitePoint.



VirusTotal Adds Cynet's Artificial Intelligence-Based Malware Detection

VirusTotal, the famous multi-antivirus scanning service owned by Google, recently announced new threat detection capabilities it added with the help of an Israeli cybersecurity firm. VirusTotal provides a free online service that analyzes suspicious files and URLs to detect malware and automatically shares them with the security community. With the onslaught of new malware types and samples,

Hackers Using Google Analytics to Bypass Web Security and Steal Credit Cards

Researchers reported on Monday that hackers are now exploiting Google's Analytics service to stealthily pilfer credit card information from infected e-commerce sites. According to several independent reports from PerimeterX, Kaspersky, and Sansec, threat actors are now injecting data-stealing code on the compromised websites in combination with tracking code generated by Google Analytics for

Monday, 22 June 2020

Scam uses Elon Musk’s name to trick people out of US$2 million in bitcoin

The giveaway scheme uses the tech titan’s name as part of Bitcoin addresses for extra credibility

The post Scam uses Elon Musk’s name to trick people out of US$2 million in bitcoin appeared first on WeLiveSecurity



Learn GitHub CLI: Your Guide to GitHub from the Command Line

A Quickstart Guide to GitHub CLI

In this quickstart guide, you’ll learn GitHub CLI.

If you’re already familiar with Git commands, you’re obviously aware that you need to switch to the web browser in order to perform various actions on your GitHub repository. With the new GitHub CLI tool, you can execute many of these actions without leaving the command-line interface.

Setup

To get started, simply visit the installation page and find instructions on how to install GitHub CLI for your operating system. For Windows and macOS, you can use package managers to install and keep GitHub CLI up to date. For Linux users, you’ll need to download the package from the latest release page. There are Signed MSI installers for Windows users too, but be aware you have to re-download and update the tool manually if you opt for this. The easiest way for Windows users is to use the scoop package manager.

Below are snapshots of install instructions for each supported platform:

  • Windows:

    scoop bucket add github-gh https://github.com/cli/scoop-gh.git
    scoop install gh
    
  • macOS:

    brew install github
    
  • Debian/Ubuntu Linux:

    sudo apt install git && sudo dpkg -i gh_*_linux_amd64.deb
    
  • Fedora/Centos Linux:

    sudo yum localinstall gh_*_linux_amd64.rpm
    
  • Arch Linux:

    yay -S github-cli
    

On Windows, I would recommend the use of the Git Bash terminal. This interface will allow you to access common Linux commands and Bash features such as autocompletion. It’s also officially supported by Visual Studio Code via terminal integration.

After installing GitHub CLI, you’ll need to authenticate your account. Running any command will trigger this authentication process. For example, try gh repo view cli/cli. For first-time users, you’ll be prompted with the following:

GitHub authentication

Simply press the Enter key to start the process as illustrated below:

Gitub authorization

Once you provide your password, you’ll get a “Successfully authenticated GitHub CLI” message. You’re now able to interact with the GitHub platform via the command-line terminal. The next step is to implement autocomplete, which is optional. Simply add this line to your ~/.bash_profile:

eval "$(gh completion -s bash)"

You can also run the above command in your current terminal to get the autocomplete feature without restarting your terminal. To confirm it’s working, type gh repo, then press tab twice. It should show you four different commands you can append to the current repo command.

Command Structure

The gh command structure is tree-like and easy to remember. There are basically two levels of commands. The first level only consists of six commands:

Continue reading Learn GitHub CLI: Your Guide to GitHub from the Command Line on SitePoint.



Hackers Leaked 269 GB of U.S. Police and Fusion Centers Data Online

A group of hacktivists and transparency advocates has published a massive 269 GB of data allegedly stolen from more than 200 police departments, fusion centers, and other law enforcement agencies across the United States. Dubbed BlueLeaks, the exposed data leaked by the DDoSecrets group contains hundreds of thousands of sensitive documents from the past ten years with official and personal

How to Add Custom JavaScript into Your WordPress Site?

When you want to change the theme of your site, one thing that needs to be done is to add custom JavaScript to it. However, there are other options available if you do not want to add it to your site. For instance, simply add the ‘Heat and Footer Script’ as an option which is much less intrusive compared to the other.

Well, this article is not about the various alternatives, but mainly about the JavaScript which can be added to your WordPress site. How you can exactly do the task? We will share the details with you in the section below.

Options to add JavaScript to WordPress Site

How to Add Custom JavaScript into Your WordPress Site

Image Source

It is not difficult to add custom JavaScript to a WordPress site. All you need to know the way through which it can be done. Two main options and ways in which you can add JavaScript to WordPress sites include the following:

1. Add Custom JavaScript File

First of all, you have to save the file with .js format. After this, you may add this into the folder http://wp-content/themes/your-theme/js/. When you do this, go to the settings where there will be two options in front of you. Either you can add it to the header, or the footer. This is how simple it can be.

2. Add Custom JavaScript Without File

This option is simple to add the custom JavaScript without file. You do not need to save this file as .js format. Rather, you can directly upload it to the folder http://wp-content/themes/your-theme/js/. The header will be the place where you will add it and then go to the save setting when you complete the process.

One Thing You Should Never Do

Although it is quite clear that a much better option to add the custom JavaScript to your WordPress site is to use the ‘SCRIPT’ tag. This is added directly into either header or footer.php. However, you should never do that. As WordPress has a specific loading sequence, therefore, this sequence needs to be respected, and this option must not be availed.

The reason behind this is that if you will add to the header or footer.php which will lead to changes within the whole theme. The core and plugins of WordPress might also face conflicts due to the addition of custom JavaScript in this way. Instead of this option that brings so many issues in your WordPress site, therefore, try to use only the above-mentioned two options. Make sure that you do not add it to the header or footer, even if it seems the only option.

When it comes to importing templates, getting a reliable WordPress website builder will allow you to import templates for just about any topic or any niche with endless customization options.

Conclusion

As you can see that the custom JavaScript is not difficult to add to the WordPress site. It will take a few minutes if you know how to do it. We have explained the information in detail where you will get to know about each point. Follow the step by step, and do not make amendments on your own.

The post How to Add Custom JavaScript into Your WordPress Site? appeared first on The Crazy Programmer.