CyberMonday Special- VPS From 2.5$ – 50% Lifetime OFF ( NL,USA) KVM, SSD, VNC, VPN, Root Access – (PP,BTC,CC) | Proxies-free

Host Mayo offers SSD KVM VPS with advance features like instant upgrades, DDOS protection, Gigabit Uplink and 24/7 Support. We have been in business since 2015. Over the span of last few years we have expanded our products range to cover simple web hosting to enterprise level VPS & dedicated servers. We offer exceptional customer support and guarantee 99% uptime. Today we bring exclusive CyberMonday Special. You can now Get Double Space, Double Bandwidth and Additional IP for free in addition to our existing plans as mentioned below. Just open ticket once you ordered and let one of our representative increase your resources.

☁ 1GM RAM VPS – 5$/mo or 60$/year 2.5$/mo or 30$/year

  • 20 GB SSD Disk Space + 20 GB CyberMonday Special
  • 1 TB Bandwidth + 1 TB CyberMonday Special
  • 1 GB RAM
  • 512MB Swap
  • 1 CPU Core
  • 1 IPv4 + 1 IPv4 CyberMonday Special
  • More Info | Order Now

☁ 2GM RAM – 10$/mo or 120$/year 5$/mo or 60$/year

  • 40 GB SSD Disk Space + 40 GB CyberMonday Special
  • 2 TB Bandwidth + 2 TB CyberMonday Special
  • 2 GB RAM
  • 1GB Swap
  • 2 CPU Core
  • 1 IPV4 + 1 IPv4 CyberMonday Special
  • More Info | Order Now

☁ 3GM RAM VPS – 15$/mo or 180$/year 7.5$/mo or 90$/year

  • 60 GB SSD Disk Space + 60 GB CyberMonday Special
  • 3 TB Bandwidth + 3 TB CyberMonday Special
  • 3 GB RAM
  • 1.5 GB Swap
  • 2 CPU Core
  • 1 IPV4 + 1 IPv4 CyberMonday Special
  • More Info | Order Now

☁ 4GM RAM VPS – 20$/mo or 240$/year 10$/mo or 120$/year

  • 80 GB SSD Disk Space + 80 GB CyberMonday Special
  • 4 TB Bandwidth + 4 TB CyberMonday Special
  • 4 GB RAM
  • 2 GB Swap
  • 4 CPU Core
  • 1 IPV4 + 1 IPv4 CyberMonday Special
  • More Info | Order Now

☁ 8GM RAM VPS- 35$/mo or 420$/year 17.5$/mo or 210$/year

  • 100 GB SSD Disk Space + 100 GB CyberMonday Special
  • 8 TB Bandwidth + 8 TB CyberMonday Special
  • 8 GB RAM
  • 4 GB Swap
  • 4 CPU Core
  • 1 IPV4 + 1 IPv4 CyberMonday Special
  • More Info | Order Now

Payment Methods
We accept PayPal, Credit Card, BitCoins, LTC, BCH & ETH other cryptocurrencies.

Frequently Asked Questions
1. Is RDNS Supported? Yes
2. Custom ISO Allowed? Yes
3. Unlimited Reboot and Installations? Yes
4. Additional IP Allowed? Yes 1$ per additional ip.
5. Do we offer IPv6? Yes you can request additional ip for free.

Server Features

  • Intel Xeon CPU
  • All Ports Open
  • DDOS Protected
  • Pure SSD storage
  • KVM Virtualization
  • Test IP NL: 5.253.86.28
  • Test IP USA: 162.223.31.39
  • Unlimited OS reinstall
  • Virtualizor Control Panel
  • VPS Looking Glass: lg.hostmayo.com
  • Additional IPv4 available for 1$ per month
  • Popular Operating System Choices including Centos 8, Ubuntu 20 & Debian 10

Reviews & Awards
Hosting Reviews: https://hostmayo.com/reviews-awards

Connect with US
If you have any questions, please feel free to contact us at admin@hostmayo.com || Skype @hostmayo|| Tweeter @hostmayo|| Facebook HostMayoServers

 

linux – On a single user laptop does it make sense to have a separte password for root and the user?

It’s all about your own personal risk tolerance and your threat model. In short, you are worried about someone who is physically in possession of your laptop and has guessed your user password, and you want to keep them from having full admin rights. I’m having a hard time coming up with a scenario where that may actually happen, so I can’t help but think that you are overthinking this. Moreover, for most personal computers, the user account is typically more critical than admin access;

https://xkcd.com/1200/

Then again, remembering two passwords isn’t much harder than memorizing one, so go for it if you want. Just make sure you have a way to copy your data off the machine without needing admin credentials – you’ll want to do that if you ever forget your admin credentials and need to reinstall.

Still, I might suggest an alternate solution:

Use a strong password and don’t tell it to anyone

root access – Is it possible to take pictures from both front and rear camera at the same time (like bothie)

There are apps that can do this but they are not exactly Bothie. The app allows the user to first take a picture from rear camera and then from the front camera (but not simultaneously). Nokia first came up with this idea in 2017.
More about Bothie

I am just wondering if this is a hardware feature or software. I can handle the software issue(with root) i think. And if this is not possible then can you please explain why and how it works?

Thanks a ton in advance : )

Can’t find the correct root for this equation

So I have this expression

    Expr= (5.70129*10^14 f^2 (7.97764*10^8 + 4 f^2 (Pi)^2) + 
   6198.06 (-6.34731*10^8 + 4 f^2 (Pi)^2)^2 (7.97764*10^8 + 
      4 f^2 (Pi)^2) + 
   13149.6 (6.34731*10^8 + 4 f^2 (Pi)^2) (3.14945*10^10 f^2 + 
      0.648892 (-7.97764*10^8 + 
         4 f^2 (Pi)^2)^2))/((3.14945*10^10 f^2 + 
     0.648892 (-7.97764*10^8 + 4 f^2 (Pi)^2)^2) (2.50582*10^10 f^2 + 
     0.272416 (-6.34731*10^8 + 4 f^2 (Pi)^2)^2))

I want to solve

Eqn=Abs(Expre-0.00012)=0.99*0.00012

However when I do

Eqn=Abs(Expre-0.00012)=0.99*0.00012

aux = Quiet(FindRoot(Eqn, {f, 3000}));
result = f /. aux((1))

I obtain result=42013.8 instead of a value around 3000 or 4000 (the correct answer).

What am I doing wrong?

Bash/zsh function that cd to the root of git tree

I’d like to get a review for the function, that cd into the git tree root, or does nothing if we are outside of the repository

# cd to the root of the current git directory
# If $PWD is submodule, will cd to the root of the top ancestor
# It requires to stay in the current directory, if the root is . or unknown,
# and use cd only once, to have a way to do `cd -`
function cg {
  git_root() {
    local super_root
    local top
    top="$(git rev-parse --show-cdup)"
    top="${top:-./}"
    super_root="$(git rev-parse --show-superproject-working-tree)"
    if (( "$super_root" )); then
      printf '%s' "$top../"
      ( cd "$top../" && git_root || return )
    fi
    printf '%s' "$top"
  }
  local git_root
  git_root="$(git_root)"
  ( "x${git_root}" != "x./" ) && cd "$(git_root)" && return || return 0
}

wordpress.org – WP Htaccess file in root folder seem to overwrite the htaccess rules in Sub Directory folder

I’ll like to seek your help on htaccess.

I have WP installed at the root folder. eg: www.mywpsite.com I have the 2nd WP installed in the sub directory folder “hello”. eg: >> www.mywpsite.com/hello

Problem: Unable to access the subpages of the 2nd WP site. I will hit 404. However, when I try to connect to www.mywpsite.com/hello/contactus it gets redirected to the first website in the root folder www.mywpsite.com/contactus which is not what I want.

I’ve checked my htaccess file and I am not sure what is going wrong. It looks like the root folder htaccess supersede the sub directory folder. Any advice? Thanks!

Root Htaccess File

php_flag output_buffering on
php_value expose_php off
# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - (L)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php (L)
RewriteEngine Off
</IfModule>
# END WordPress

Here is the Sub Directory Htaccess file

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /hello/
RewriteRule ^index.php$ – (L)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /hello/index.php (L)
</IfModule>

drush – Drupal root not found. Pass –root or a @siteAlias in order to see Drupal-specific commands

I have multiple sites inside the same htdocs directory. In one, I removed all the folders except vendor under Web. Now drush will not work (it worked before I moved the folders). But now, it cannot find the database, which is correctly defined in web/sites/default/settings.php

/srv/www/htdocs/jar/drupal # ./drush status
 PHP binary    : /usr/bin/php
 PHP config    : /srv/www/php.ini
 PHP OS        : Linux
 Drush script  : /srv/www/htdocs/jar/drupal/vendor/drush/drush/drush
 Drush version : 10.3.6
 Drush temp    : /tmp
 Drush configs : /srv/www/htdocs/jar/drupal/vendor/drush/drush/drush.yml
 Drupal root   : /srv/www/htdocs/jar/drupal

I am running Drupal 9.0.8 and drush 10.3.6 (in /srv/www/htdocs/jar/drupal). I have removed drush using composer (2.0.3) and reinstalled it (recreating vendor in the process).

/srv/www/htdocs/jar/drupal # ./drush -vvv cr
 (preflight) Config paths: /srv/www/htdocs/jar/drupal/vendor/drush/drush/drush.yml
 (preflight) Alias paths: /srv/www/htdocs/jar/drupal/drush/sites,/srv/www/htdocs/jar/drush/sites
 (preflight) Commandfile search paths: /srv/www/htdocs/jar/drupal/vendor/drush/drush/src
 (debug) Starting bootstrap to site (0.04 sec, 8.17 MB)

In BootstrapHook.php line 32:
  (Exception)
  Bootstrap failed. Run your command with -vvv for more information.
Exception trace:
  at /srv/www/htdocs/jar/drupal/vendor/drush/drush/src/Boot/BootstrapHook.php:32
 DrushBootBootstrapHook->initialize() at /srv/www/htdocs/jar/drupal/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:44
 ConsolidationAnnotatedCommandHooksDispatchersInitializeHookDispatcher->doInitializeHook() at /srv/www/htdocs/jar/drupal/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:36
 ConsolidationAnnotatedCommandHooksDispatchersInitializeHookDispatcher->callInitializeHook() at /srv/www/htdocs/jar/drupal/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:29
 ConsolidationAnnotatedCommandHooksDispatchersInitializeHookDispatcher->initialize() at /srv/www/htdocs/jar/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php:145
 ConsolidationAnnotatedCommandCommandProcessor->initializeHook() at /srv/www/htdocs/jar/drupal/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:296
 ConsolidationAnnotatedCommandAnnotatedCommand->initialize() at /srv/www/htdocs/jar/drupal/vendor/symfony/console/Command/Command.php:221
 SymfonyComponentConsoleCommandCommand->run() at /srv/www/htdocs/jar/drupal/vendor/symfony/console/Application.php:1018
 SymfonyComponentConsoleApplication->doRunCommand() at /srv/www/htdocs/jar/drupal/vendor/symfony/console/Application.php:271
 SymfonyComponentConsoleApplication->doRun() at /srv/www/htdocs/jar/drupal/vendor/symfony/console/Application.php:147
 SymfonyComponentConsoleApplication->run() at /srv/www/htdocs/jar/drupal/vendor/drush/drush/src/Runtime/Runtime.php:118
 DrushRuntimeRuntime->doRun() at /srv/www/htdocs/jar/drupal/vendor/drush/drush/src/Runtime/Runtime.php:49
 DrushRuntimeRuntime->run() at /srv/www/htdocs/jar/drupal/vendor/drush/drush/drush.php:72
 require() at /srv/www/htdocs/jar/drupal/vendor/drush/drush/drush:4

I looked at all the above suggestions, but am stuck. Drush works perfectly on my other 5 sites…

exploit – Is there a website that provides details and root cause of data breaches reported in the media?

The Privacy Rights Clearinghouse keeps a comprehensive Chronology of Data Breaches, and includes Type of Breach and Type of Business.

See https://privacyrights.org/data-breaches

It gives you the threat vector (type) but does not include technical details.

I often check Google to research root cause technical details to understand the nature of a big hack, and the vulnerability. Sometimes it’s easy to track down good technical articles on the causes of the breach. Other times there does seem to be much disclosure, as the other answer suggests. No one wants to really say what vulnerability they left unprotected.

How To Calculate Merkle Root?

I found this example:


Current merkle hash list:
32650049a0418e4380db0af81788635d8b65424d397170b8499cdc28c4d27006
30861db96905c8dc8b99398ca1cd5bd5b84ac3264a4e1b3e65afa1bcee7540c4

Current merkle hash list:
d47780c084bad3830bcdaf6eace035e4c6cbf646d103795d22104fb105014ba3


I have tried to calculate the hash using PHP:

$tx1="32650049a0418e4380db0af81788635d8b65424d397170b8499cdc28c4d27006";
$tx2="30861db96905c8dc8b99398ca1cd5bd5b84ac3264a4e1b3e65afa1bcee7540c4";
$v=hash('sha256', hash('sha256',$tx1.$tx2) );

But I got:
2b5f377b4adab64f489a2f73605ffb448b8add5b708d218729f9dfc58f1f5fe2

What is wrong?