What’s the reference screen resolutions to start preparing mockups for desktop?

Design for the most common screen resolution in your userbase. If it’s an internal company application then you can hopefully find out the various devices being used boy contacting the internal IT department. If it’s an external application then you’ll have to go by statistics available in that location.

Sites like https://gs.statcounter.com/screen-resolution-stats can give you stats by country, which is a place to start.

HOWEVER – just because screens have a certain resolution, that doesn’t mean the application window will always be set to maximum for all users to make the most of. People use applications in all sorts of ways, have different sized monitors connected, have them set to different zoom levels… So you need to make sure the application can scale to a variety of different sizes.

Kubuntu doesn’t start after selected on Grub

I installed yet.
But fortunately after I selected Ubuntu (Kubuntu) does not start.
Pc got stuck on motherboard brand screen.
Please help me.

Disk type : GPT
Installation type : UEFI
ISO V: LTS 20.04

Singapore Hosting from JustVPS Start at $2.52/mo for WordPress or $3.68 for KVM (1st Month)!

JustVPS is new to LEB and this is their first offer.  They’re offering VMs and WordPress hosting in Singapore.  That’s a less common hosting location than the major geographies (SF Bay, NYC, Dallas, Netherlands, London, etc.) and their offers are…well, just!

  • 1GB RAM VM with 25GB disk/1TB transfer starting at $3.68/mo (first month, then $4.90/mo)
  • Or up that to  2GB RAM and double the disk for $5.93/mo (first month, then $7.90/mo)
  • Or if you want to host WordPress but not get into the details of managing it yourself, check out their WordPress hosting at only $2.52/mo or $25.20/year

If you’re looking for Singapore-based hosting, check out their Looking Glass below and decide if JustVPS is right for you.  They are registered in the Lion City itself (Singapore, as Virtual Electronics PTE, 01918829E). Their Terms of Service is available on their web site. They accept Visa/Mastercard, PayPal, Crypto, AliPay.

Here’s a little about JustVPS in their own words:

“We implement powerful Cloud Hosting solutions to help you develop and manage your projects. With our Cloud VPS solutions, you can utilize maximum server power and smartly allocate available resources to fit any growth. Let’s take a closer look at the advantages of Just Cloud VPS.

Total scalability – We simplify things for you to focus on what matters most. Just Cloud VPS is designed to support your projects with maximum scalability. Scale up or down whenever you need it and manage your budget with ease.

99.999% uptime – Just Cloud VPS is much more reliable than a regular VPS. With Just Cloud VPS, Compute Nodes form a core of resources within a cloud environment. Even if one of the Compute Nodes fails, your Just Cloud VPS is instantly recreated on another

Cloud Compute Node – This will happen so quickly that you won’t even notice. And this lets us achieve 99.999% uptime.

Powered by OpenNebula – OpenNebula is a powerful and easy to use open source Cloud Management Platform. Enjoy flexibility, simplicity and scalability.”

If you have been a customer of JustVPS or you give them a try out now, please comment below.

Now read more to see the offers!

Just Cloud Light

  • 1024 MB RAM
  • 1x vCPU
  • 25GB SSD space
  • 1TB transfer
  • 100 Mbps uplink
  • 1x IPv4
  • 1x IPv6
  • KVM/Cloud/OpenNebula
  • Coupon: Justbest2
  • $3.68/month for the first purchase, then $4.90
  • $37.35/year for the first purchase, then $58.80
  • (ORDER)

Just Cloud Basic

  • 2048 MB RAM
  • 1x vCPU
  • 55GB SSD space
  • 1TB transfer
  • 100 Mbps uplink
  • 1x IPv4
  • 1x IPv6
  • KVM/Cloud/OpenNebula
  • Coupon: Justbest2
  • $5.93/month for the first purchase, then $7.90
  • $59.85/year for the first purchase, then $94.80
  • (ORDER)

WordPress Hosting

  • 5GB Disk Space
  • 5 Domains
  • 10 Subdomains
  • 10 Email Accounts
  • 10 MySQL Databases
  • 5 FTP Accounts
  • Unmetered bandwidth
  • $2.52/month or $25.20/year
  • (ORDER)

NETWORK INFO:

  • Server Location: Singapore
  • Test IPv4: 103.150.10.30
  • Test IPv6: 2405:f740::19
  • Test files: http://sg.lg.justvps.online/100MB.test
  • Looking glass: http://sg.lg.justvps.online/

HOST NODE INFO:

  • 2 x Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz
  • 768 GB ECC RAM
  • 8 x 3.2TB SSDs
  • DRBD9 (2 replica) Network Distribute Storage
  • 4 x 10 Gbps uplink

Please let us know if you have any questions/comments and enjoy!

raindog308

I’m Andrew, techno polymath and long-time LowEndTalk community Moderator. My technical interests include all things Unix, perl, python, shell scripting, and relational database systems. I enjoy writing technical articles here on LowEndBox to help people get more out of their VPSes.

android – Unable to start exported activities when Drozer is running in background

I executed this command in drozer to start an exported activity.

dz> run app.activity.start --component <package_name> <activity_name>

But it works only when drozer application is running in foreground(and not in background). As soon as I minimize the drozer application in my testing device, the same command to start exported activities doesn’t work.

Initially I made a wild guess that there must be an application running in the foreground to invoke another activity through it.

But when I tried to start the same exported activity using Activity Manager like

$ adb shell am start -n <package_name>/<activity_name>

It worked even when no application was running in the foreground or background.

Can anybody please explain why drozer is unable to start exported activities when drozer application is running in the background in the device?

flags – Success with cookie, fails with JWT: RuntimeException: Failed to start the session because headers have already been sent

My Controller is working with cookie auth but failing with JWT. This Controller is supposed to flag an entity for the logged-in user.

If I am using cookie auth, there are no errors and everything works as expected.

But when I try to use JWT, although the entity does get flagged correctly, I get the following error in the Drupal logs:

RuntimeException: Failed to start the session because headers have
already been sent by
“/app/vendor/symfony/http-foundation/Response.php” at line 377. in
SymfonyComponentHttpFoundationSessionStorageNativeSessionStorage->start()
(line 150 of
/app/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php)

How do I fix this error?

Here’s how I’m using JWT auth in Postman:

POST http://example.com/api/group_add?_format=json

Headers:

  • Accept: application/vnd.api+json
  • Content-Type: application/vnd.api+json
  • Cache: no-cache
  • Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MTgyMDk4MjAsImV4cCI6MTYyMzM5MzgyMCwiZHJ1cGFsIjp7InVpZCI6IjI3In19.5uDJMtokLXD6K63H5Ikb-F870EYFMrgE4mItTuTT3bI

Request body:

{
    "entity_id": "14"
}

As for the Controller, here’s MYMODULE.routing.yml:

MYMOUDLE.api_flagging.http:
  path: '/api/group_add'
  defaults:
    _controller: 'DrupalMYMODULEControllerApiFlagging::flag'
  methods: (POST)
  requirements:
    _permission: 'view own commerce_order'
    _format: 'json'
  options:
    no_cache: 'TRUE'

Here’s ApiFlagging.php:

<?php

namespace DrupalMYMODULEController;

use DrupalCoreControllerControllerBase;
use DrupalflagFlagServiceInterface;
use SymfonyComponentDependencyInjectionContainerInterface;
use SymfonyComponentHttpFoundationJsonResponse;
use SymfonyComponentHttpFoundationRequest;
use SymfonyComponentHttpKernelExceptionBadRequestHttpException;
use SymfonyComponentSerializerEncoderJsonEncoder;
use SymfonyComponentSerializerSerializer;

/**
 * Class ApiFlagging.
 *
 * Https://www.drupal.org/project/flag/issues/3091824#comment-13336379
 */
class ApiFlagging extends ControllerBase {

  const FLAG_ID = 'ABC';

  /**
   * The flag service.
   *
   * @var DrupalflagFlagServiceInterface
   */
  protected $flagService;

  /**
   * The serializer.
   *
   * @var SymfonyComponentSerializerSerializer
   */
  protected $serializer;

  /**
   * The available serialization formats.
   *
   * @var array
   */
  protected $serializerFormats = ();

  /**
   * Constructs a new ApiFlagging object.
   */
  public function __construct(Serializer $serializer, array $serializer_formats, FlagServiceInterface $flag) {
    $this->serializer = $serializer;
    $this->serializerFormats = $serializer_formats;
    $this->flagService = $flag;
  }

  /**
   * {@inheritdoc}
   */
  public static function create(ContainerInterface $container) {
    if ($container->hasParameter('serializer.formats') && $container->has('serializer')) {
      $serializer = $container->get('serializer');
      $formats = $container->getParameter('serializer.formats');
    }
    else {
      $formats = ('json');
      $encoders = (new JsonEncoder());
      $serializer = new Serializer((), $encoders);
    }

    return new static(
      $serializer,
      $formats,
      $container->get('flag')
    );
  }

  /**
   * Flagging.
   */
  public function flag(Request $request) {
    $format = $this->getRequestFormat($request);

    $content = $request->getContent();
    $flagData = $this->serializer->decode($content, $format);
    $flag = $this->flagService->getFlagById(self::FLAG_ID);
    $flaggableEntityTypeId = $flag->getFlaggableEntityTypeId();

    $my_goals = NULL;
    if (array_key_exists('goals', $flagData)) {
      $my_goals = $flagData('goals');
    }

    $entity = Drupal::entityTypeManager()
      ->getStorage($flaggableEntityTypeId)
      ->load($flagData('entity_id'));

    if ($my_goals === NULL) {
      return new JsonResponse((
        'error_message' => 'Goals not set.',
      ), 400);
    }

    try {
      /** @var DrupalflagEntityFlagging $flagging */
      $flag->set('field_goals', $my_goals);
      $flagging = $this->flagService->flag($flag, $entity);
    }
    catch (LogicException $e) {
      $message = $e->getMessage();
      kint('error', $e);
      return new JsonResponse((
        'error_message' => $message,
      ), 400);
    }

    return new JsonResponse((
      'message' => 'flag success',
      'flagging_uuid' => $flagging->uuid(),
      'flagging_id' => $flagging->id(),
      'flag_id' => $flagging->getFlagId(),
    ));
  }

  /**
   * Gets the format of the current request.
   *
   * @param SymfonyComponentHttpFoundationRequest $request
   *   The current request.
   *
   * @return string
   *   The format of the request.
   */
  protected function getRequestFormat(Request $request) {
    $format = $request->getRequestFormat();
    if (!in_array($format, $this->serializerFormats)) {
      throw new BadRequestHttpException("Unrecognized format: $format.");
    }
    return $format;
  }

}

youtube – Embedded video in google slides won’t start at “start at” time

I inserted the video in slides, went to formatting options and selected the start at and end at time. But when I start the presentation and click on the video, it starts at the beginning and doesn’t stop at the end at time. Any idea what the problem is?

game design – Where should I start?

game design – Where should I start? – Game Development Stack Exchange

How to Start a WEB HOSTING BUSINESS in 2021 (VIDEO)

Most of the time, we feature industry news, or tutorials as a “guest post”. From time to time, we also want to bring to you interesting finds, related to the hosting industry that we’ve discovered. Our goal is to provide a full range of content for you to enjoy, both from provider-contributed content and ones that we find ourselves. Enjoy!

Do you remember how difficult it was to start a business before the Internet era? It was a very slow process that took time. With the power of the Internet, you can now start a successful business from home, at short timeframes that were previously unimaginable and unattainable.  People quite literally have new ideas in the morning and have a business up and running by the afternoon.

I came across this video on RackNerd’s YouTube feed today which went over how to create a hosting company with less than a $50 budget, and thought it was worth sharing considering a lot of community members here are entrepreneurs. RackNerd is a known provider around these parts, who was recently voted #1 within the LowEndTalk community, voted by community members. They are very engaged with the community and their customers, and we love that they are willing to preach and also help others become successful. This is what the community should all do, among each other!

We always enjoy seeing hosting companies go above and beyond the normal ways, and start creating video content. It creates a very professional impression and shows for their branding. In this video I came across, Dave from RackNerd goes over ideas on how to start your own web hosting business. Some members of our community want to start their own hosting company, or have ideas on it, but just don’t have the proper direction or foundation. I think this video should help point those to the right direction.

As the video outlines, all it takes is a few things, with the main part being a reseller hosting account so that you can start creating and selling shared hosting accounts.

Here are some reseller hosting offers from RackNerd, that we recently featured right here on LowEndBox, which you can use to get started with starting your own hosting business. It’s worth mentioning that these exclusive promotions they shared with the LowEndBox community, are significantly cheaper than the website plans that the video references. Receive the ultimate value just by being apart of the LowEndBox community!

Reseller Hosting Offers:

Reseller – 30 GB

  • 30 GB SSD Space
  • 1 TB Monthly Transfer
  • 5 cPanel Accounts
  • Free SSL Certificates
  • CloudLinux Powered
  • Softaculous Script Installer
  • cPanel & WHM Control Panel
  • LiteSpeed Web Server
  • Free Offsite Daily Backups (JetBackup)
  • MailChannels Hybrid – Premium Email Delivery
  • $18.29/YEAR!
  • (ORDER HERE)

Reseller – 100 GB

  • 100 GB SSD Space
  • 5 TB Monthly Transfer
  • 20 cPanel Accounts
  • Free SSL Certificates
  • CloudLinux Powered
  • Softaculous Script Installer
  • cPanel & WHM Control Panel
  • LiteSpeed Web Server
  • Free Offsite Daily Backups (JetBackup)
  • MailChannels Hybrid – Premium Email Delivery
  • $37.99/YEAR!
  • (ORDER HERE)

Reseller – 220 GB

  • 220 GB SSD Space
  • 12 TB Monthly Transfer
  • 35 cPanel Accounts
  • Free SSL Certificates
  • CloudLinux Powered
  • Softaculous Script Installer
  • cPanel & WHM Control Panel
  • LiteSpeed Web Server
  • Free Offsite Daily Backups (JetBackup)
  • MailChannels Hybrid – Premium Email Delivery
  • $84/YEAR!
  • (ORDER HERE)

Other reseller hosting offers from other providers are also available throughout LowEndBox – you can view / search for them clicking HERE.  One final note: if you do jump into the hosting marketplace, be sure to post an offer on LowEndBox and LowEndTalk!

See RackNerd’s YouTube channel for more videos!

raindog308

I’m Andrew, techno polymath and long-time LowEndTalk community Moderator. My technical interests include all things Unix, perl, python, shell scripting, and relational database systems. I enjoy writing technical articles here on LowEndBox to help people get more out of their VPSes.

How to enable internet search results in start menu

                                             ## Windows searchbar ## 

I just wanted to enable the web searches through the search bar. I mistakenly disabled it. Please help me out.

networking – Does cgi-fcgi -start runs processes simultaneously?

I am starting a script like this:

$ chi-fcgi -start -connect 127.0.0.1:9000 script.fcgi 10

Then, I assume to see my ten listeners using this:

$ netstat -napo | grep :9000

But it will list only one item. If I kill it by PID then it seems like I can kill all ten processes before netstat gives zero results. Is it means that ten processes did not start in parallel? If they are started simultaneously that documentation states how could I see them all and how will incoming requests divide between them?

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123