Posts

Linux Task Manager & XKill

Image
XKILL Want to kill a Window process? Let's use the XKILL command creating a new personalized Icon.
STEP 1 - Make sure the xkill package is installed
STEP 2 - Let's create our quick access icons and shortcuts Ok, now that we have “xorg-xkill” package installed, we can open a terminal and simply put “xkill” and press enter. This will transform your mouse cursor into an “X” or into a “🕱Red Skulll (depending on your icon set). Now you may simply left-click whatever window is not responding and it'll be gone in an instant.
Define a Keyboard Shortcut
You can define a keyboard shortcut that will allow you to call for “xkill” in any situation. To do this you simply go to the “System Settings”, choose the “Keyboard” section and then add your desired shortcuts from the “Custom Shortcuts” category.


<

New Java 8 Random Style

Image
Instead of using the old java.util.Random - let's get updated.

No we use the java.util.concurrent.ThreadLocalRandom.

Here you go. Get the code:

PDF Version: View the Code - HTML Version: View the Code

Your First Java Program

Image

Pseudo-Random JavaScript

Just playing and did this code just for fun. Nothing fancy but does the Random job nicely. Check this out:

<button onclick="mkRandom()">GET RANDOMS</button>
<p id="demo"></p>
<script>
function mkRandom() {
    var d = new Date();
    var n = d.getMilliseconds();
    document.getElementById("demo").innerHTML = "<br>Random 0 - 999: ";
    document.getElementById("demo").innerHTML += n;
    document.getElementById("demo").innerHTML += "<br>Random Binary: ";
    document.getElementById("demo").innerHTML += n.toString(2);
    document.getElementById("demo").innerHTML += "<br>Random Decimal 0 - 9: ";
    document.getElementById("demo").innerHTML += n.toString()[0,0];
    document.getElementById("demo").innerHTML += "<br>Random True[1] or False[0]: ";
    if(n >= 500)
    {
     document.getElementById("demo").in…

Methark Invest: 90% Accuracy

Image
Here is our investment day report: 90% Accuracy. 🔝


New Triangle of Business

Image
The market over the world has changed with the Web and nowadays companies can get out of a regional and limited sales place to a worldwide expansion pretty much more easily and an absurd low cost.  All you need is to update your vision of what is Business, Marketing and IT Solutions, taking care to invest on the right new possibilities brought to us by technology. Here is a update of Business, Marketing and Technology today: 1. Business Solutions
The process of defining, educating, and providing access to complete and integrated solutions that deliver customer value by helping customers to solve their problems. A solution is a product, a combination of products, services, or a mix of products and services that a vendor, service provider or value added reseller (VAR) will offer to their client. In almost every case, a solution is provided to address the client's specific business problem or other need.

2. Marketing Solutions
The activity, set of institutions, and processes for creating, …