How to sell a project to your competitor? Documents, Warnings, Considerations

I’ve created a simple SaaS (Software as a Service) project that helps small towns improve their tourism websites and apps easily, fast and paying a small fee each month.

Why I want to sell it?

I’m moving to the Netherlands and I will not have enough time to develop it. It is for small towns, so there will be many problems with meetings, and so on.

Why to my “competitor”?

  • They are bigger and can offer this service.
  • They trust me, tried to hire me a couple of weeks ago.
  • This project can generate synergies with their business model.
  • Got access to the CEO.

What are my concerns?

I want to propose it, but I don’t know how to start. I have the design, the development and examples. The system is straightforward and I’m creating documentation to simplify/explain it even more.

I don’t want to get copied, although that would require a good investment on their side, so I think that it isn’t very smart.

  • What should I give them?
  • How can I see if there’s real interest?

All topic

“IPv6 support is disabled” warnings

I get the error while running a script which tries to send emails.

send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only

Could anyone say what is the issue, do I require some permission?

All topic

Errors and warnings on installation (Ubuntu 18.04 WSL) [duplicate]

This question already has an answer here:

  • Recommended file permissions

    1 answer

I’m running into issues when installing a fresh copy of Drupal 8.6.1 on localhost. My setup is Ubuntu 18.04 on WSL running Apache 2.4.29, MySQL 5.7.23, PHP 7.2.10.

I receive the following warning at the ‘Set up database’ stage of installation, after providing my credentials:

Exception: The directory sites/default/files/config_aQimTe3tU2Rs6m8DBDPhXxon85cwav6wTjFBpi5T05Z4NK_nY4mCH5zxJJ2X8j_aNGGIk6NOeA/sync could not be created. To proceed with the installation, either create the directory or ensure that the installer has the permissions to create it automatically. For more information, see the online handbook. in drupal_install_config_directories() (line 514 of core/includes/install.inc).
drupal_install_config_directories() (Line: 232)
DrupalCoreInstallerFormSiteSettingsForm->submitForm(Array, Object) call_user_func_array(Array, Array) (Line: 111)
DrupalCoreFormFormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
DrupalCoreFormFormSubmitter->doSubmitForm(Array, Object) (Line: 589)
DrupalCoreFormFormBuilder->processForm(‘install_settings_form’, Array, Object) (Line: 318)
DrupalCoreFormFormBuilder->buildForm(‘install_settings_form’, Object) (Line: 961)
install_get_form(‘DrupalCoreInstallerFormSiteSettingsForm’, Array) (Line: 631)
install_run_task(Array, Array) (Line: 584)
install_run_tasks(Array, NULL) (Line: 125)
install_drupal(Object) (Line: 44)

However, checking sites/default/files I can see the config folder has been created.

Refreshing the page begins the installation but displays a very long warning which seems to be related to the Twig templates. Checking ‘Recent log messages’ after install shows numerous errors such as:

The file permissions could not be set on public://js/js_n5n_1DlObwqJvZstypRFNgqEcOOeK7xX_REUoA9JbkM.js.gz.

The following is the truncated warning message from installation.

Warning: chmod(): Operation not permitted in DrupalComponentPhpStorageFileStorage->createDirectory() (line 168 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
DrupalComponentPhpStorageFileStorage->createDirectory(‘sites/default/files/php’, 511) (Line: 155)
DrupalComponentPhpStorageFileStorage->createDirectory(‘sites/default/files/php/twig’, 511) (Line: 121)
DrupalComponentPhpStorageFileStorage->ensureDirectory(‘sites/default/files/php/twig’) (Line: 66)

Does this look like a bug or a issue in my dev setup?

All topic

Errors and warnings on installation (Ubuntu 18.04 WSL)

I’m running into issues when installing a fresh copy of Drupal 8.6.1 on localhost. My setup is Ubuntu 18.04 on WSL running Apache 2.4.29, MySQL 5.7.23, PHP 7.2.10.

I receive the following warning at the ‘Set up database’ stage of installation, after providing my credentials:

Exception: The directory sites/default/files/config_aQimTe3tU2Rs6m8DBDPhXxon85cwav6wTjFBpi5T05Z4NK_nY4mCH5zxJJ2X8j_aNGGIk6NOeA/sync could not be created. To proceed with the installation, either create the directory or ensure that the installer has the permissions to create it automatically. For more information, see the online handbook. in drupal_install_config_directories() (line 514 of core/includes/install.inc).
drupal_install_config_directories() (Line: 232)
DrupalCoreInstallerFormSiteSettingsForm->submitForm(Array, Object) call_user_func_array(Array, Array) (Line: 111)
DrupalCoreFormFormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
DrupalCoreFormFormSubmitter->doSubmitForm(Array, Object) (Line: 589)
DrupalCoreFormFormBuilder->processForm(‘install_settings_form’, Array, Object) (Line: 318)
DrupalCoreFormFormBuilder->buildForm(‘install_settings_form’, Object) (Line: 961)
install_get_form(‘DrupalCoreInstallerFormSiteSettingsForm’, Array) (Line: 631)
install_run_task(Array, Array) (Line: 584)
install_run_tasks(Array, NULL) (Line: 125)
install_drupal(Object) (Line: 44)

However, checking sites/default/files I can see the config folder has been created.

Refreshing the page begins the installation but displays a very long warning which seems to be related to the Twig templates. Checking ‘Recent log messages’ after install shows numerous errors such as:

The file permissions could not be set on public://js/js_n5n_1DlObwqJvZstypRFNgqEcOOeK7xX_REUoA9JbkM.js.gz.

The following is the truncated warning message from installation.

Warning: chmod(): Operation not permitted in DrupalComponentPhpStorageFileStorage->createDirectory() (line 168 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
DrupalComponentPhpStorageFileStorage->createDirectory(‘sites/default/files/php’, 511) (Line: 155)
DrupalComponentPhpStorageFileStorage->createDirectory(‘sites/default/files/php/twig’, 511) (Line: 121)
DrupalComponentPhpStorageFileStorage->ensureDirectory(‘sites/default/files/php/twig’) (Line: 66)

Does this look like a bug or a issue in my dev setup?

All topic

D8 Errors and Warnings on Install (Ubuntu 18.04 WSL)

I’m running into issues when installing a fresh copy of Drupal 8.6.1 on localhost. My setup is Ubuntu 18.04 on WSL running Apache 2.4.29, MySQL 5.7.23, PHP 7.2.10.

I receive the following warning at the ‘Set up database’ stage of installation, after providing my credentials:

Exception: The directory sites/default/files/config_aQimTe3tU2Rs6m8DBDPhXxon85cwav6wTjFBpi5T05Z4NK_nY4mCH5zxJJ2X8j_aNGGIk6NOeA/sync could not be created. To proceed with the installation, either create the directory or ensure that the installer has the permissions to create it automatically. For more information, see the online handbook. in drupal_install_config_directories() (line 514 of core/includes/install.inc).
drupal_install_config_directories() (Line: 232)
DrupalCoreInstallerFormSiteSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 111)
DrupalCoreFormFormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
DrupalCoreFormFormSubmitter->doSubmitForm(Array, Object) (Line: 589)
DrupalCoreFormFormBuilder->processForm('install_settings_form', Array, Object) (Line: 318)
DrupalCoreFormFormBuilder->buildForm('install_settings_form', Object) (Line: 961)
install_get_form('DrupalCoreInstallerFormSiteSettingsForm', Array) (Line: 631)
install_run_task(Array, Array) (Line: 584)
install_run_tasks(Array, NULL) (Line: 125)
install_drupal(Object) (Line: 44)

However, checking sites/default/files I can see the config folder has been created.

Refreshing the page begins the installation but displays a very long warning which seems to be related to the Twig templates. Checking ‘Recent log messages’ after install shows numerous errors such as:

 'The file permissions could not be set on public://js/js_n5n_1DlObwqJvZstypRFNgqEcOOeK7xX_REUoA9JbkM.js.gz.'

Below is the truncated warning message from install:

    Warning: chmod(): Operation not permitted in DrupalComponentPhpStorageFileStorage->createDirectory() (line 168 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
DrupalComponentPhpStorageFileStorage->createDirectory('sites/default/files/php', 511) (Line: 155)
DrupalComponentPhpStorageFileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 121)
DrupalComponentPhpStorageFileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
DrupalComponentPhpStorageMTimeProtectedFastFileStorage->save('5ba64077898be_html.html.twig_gQv-GORxUVif_Pag4s-5z2NkO', '<?php

/* core/themes/classy/templates/layout/html.html.twig */
class __TwigTemplate_be8c7bbb9c824f2826368d7c8da984c6279779db72a67fd8056a00bb23b816f2 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $tags = array("set" => 27);
        $filters = array("clean_class" => 29, "safe_join" => 38, "t" => 48);
        $functions = array();

        try {
            $this->env->getExtension('Twig_Extension_Sandbox')->checkSecurity(
                array('set'),
                array('clean_class', 'safe_join', 't'),
                array()
            );
        } catch (Twig_Sandbox_SecurityError $e) {
            $e->setSourceContext($this->getSourceContext());

            if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
                $e->setTemplateLine($tags[$e->getTagName()]);
            } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
                $e->setTemplateLine($filters[$e->getFilterName()]);
            } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
                $e->setTemplateLine($functions[$e->getFunctionName()]);
            }

            throw $e;
        }

Does this look like a bug or a issue in my dev setup?

All topic

SSL warnings different on Chrome vs Firefox

I just installed WordPress HTTPS (SSL) and it looked like it was working, but there are different results on different browsers.

Firefox shows all is well….

enter image description here

But Chrome does not …

enter image description here

The site is JoeTaxpayer.com and for Chrome, I was sure to first flush the cache to see if that was the issue creating this alert.

And yes, I searched first, only to find this question, with no solution, similar, but not identical.

Edit – part of this issue was resolved with code added to .htaccess file:

# Always use https for secure connections
# Replace 'www.example.com'; with your domain name
# (as it appears on your SSL certificate)
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]

So an incoming visitor to http:/ will be sent to the HTTPS url.

All topic

Warnings about power supply in EAGLE

So I’m using EAGLE for the first time, and I have zero experience with any EDA software. I’ve completed a schematic and would like to proceed to design the board layout, but I am stalled by these warnings which make zero sense to me.

Whenever I add and connect a power supply element I get these warnings. I’m not sure why, and thus far I have seen people saying that this is a stupid side-effect of how EAGLE handles its nets. So the question is; are these warnings something to be taken care of in some way (if so, how?), or should I simply ignore/approve them? Please advise.

Bonus question; I know a bit about electronic circuitry, but I am not an electrical engineer. Do you have any tips and tricks that I just be aware of in large PCB designs? I.e. I have added decoupling capacitors of 0.1uF across any and all IC power supplies. Are there more things like this to take into consideration? Any information is welcome and helpful 🙂

enter image description here

All topic

HTML Inspector warnings: An ‘onclick’ attribute was found in the HTML. Use external scripts for event binding instead

I want to show a off-canvas menu but while pasting it into the HTML it shows following errors.

1) HTML Inspector warnings: An ‘onclick’ attribute was found in the HTML. Use external scripts for event binding instead.

2)CSS warning – Unexpected duplicate selector “body”, first used at line 5. HTML CODE-

And when I post it into HTML then the input error occurs. I used this code –

The following is HTML code


    
 
    
    
    


    

The following is CSS code

/* Fonts from Google Fonts - more at https://fonts.google.com */
@import url('https://fonts.googleapis.com/css?family=Georgia:400,700');
@import url('https://fonts.googleapis.com/css?family=Georgia:400,700');

body {
  background-color: white;
  font-family: "Georgia";
  padding: 45px 25px 5px 25px;
  font-size: 18px;
  margin: 64px ;
  color: #444;
}

h1 {
  font-family: "Georgia", serif;
  font-size: 32px;
}


* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: .55em;
  color: black;
  background: url(http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/shattered.png);
}

/* custom scrollbar */
::-webkit-scrollbar {
  width: .95em;
}

::-webkit-scrollbar-track {
  background-color: rgba(217, 217, 217, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(184, 184, 184, 0.5);
  box-shadow: inset 0.05em 0.05em 0 rgba(0, 0, 0, 0.1), inset 0 -0.05em 0 rgba(0, 0, 0, 0.07);
}

/* dummy content */
.content {
  float: left;
  font: 1em 'Georgia';
  margin: .75em 0 0 0;
  transition: margin .3s ease-in-out;
}
.content > p {
  margin: .25em 0 .75em 0;
}

/* Advanced Checkbox Hack */
body {
  -webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
input[type=checkbox] {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

label {
  position: absolute;
  left: 0;
  display: none;
  width: 2em;
  height: 2.25em;
  padding: .35em;
  font-size: 1.1em;
  color: #fff;
  transition: color .3s ease-in-out;
  cursor: pointer;
  user-select: none;
  margin: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* big screens */
nav[role="off-canvas"] {
  position: relative;
  width: 50em;
  margin: 0 auto;
  transition-duration: .3s, .5s;
  transition-timing-function: ease-in-out;
  transition-property: left, opacity, box-shadow;
}
nav[role="off-canvas"] a {
  color: #fff;
  text-decoration: none;
  font: 1.4em 'Georgia';
  transition: color .3s ease-in-out;
  display: table-cell;
  vertical-align: middle;
}
nav[role="off-canvas"] ul {
  padding: 0;
  margin: 0 auto;
  width: 100%;
}
nav[role="off-canvas"] ul > li {
  float: left;
  padding: .55em .55em;
  width: 0em;
  height: 3em;
  margin: .3em;
  opacity: .8;
  text-transform: uppercase;
  display: table;
  background: rgba(247, 52, 8, 0.65);
  cursor: pointer;
  text-align: center;
  transition-duration: .3s;
  transition-timing-function: ease-in-out;
  transition-property: box-shadow, color, opacity, padding-left;
  cursor: pointer;
}
nav[role="off-canvas"] ul > li:hover {
  color: #fff;
  opacity: 1;
  box-shadow: 0 0 0 0.5em rgba(255, 255, 255, 0.95);
}
nav[role="off-canvas"] ul > li:hover > a {
  color: #fff;
}
nav[role="off-canvas"] ul > li:nth-child(2) {
  background:  #e5002d;
}
nav[role="off-canvas"] ul > li:nth-child(3) {
  background: rgba(32, 247, 8, 0.65);
}
nav[role="off-canvas"] ul > li:nth-child(4) {
  background: rgba(8, 231, 247, 0.65);
}
nav[role="off-canvas"] ul > li:nth-child(5) {
  background: rgba(8, 72, 247, 0.65);
}
nav[role="off-canvas"] ul > li:nth-child(6) {
  background: rgb(239, 8, 247);
}
nav[role="off-canvas"] ul > li:nth-child(7) {
  background: rgba(105, 8, 216, 0.65);
}
nav[role="off-canvas"] ul > li:nth-child(8) {
  background: #ffee02;
}
nav[role="off-canvas"] ul > li:nth-child(9) {
  background: rgba(182, 13, 69, 0.788);
}
nav[role="off-canvas"] ul > li:nth-child(10) {
  background: rgb(8, 112, 247);
}
/* small screens */
@media screen and (max-width: 44em) {
  html,
  body {
    margin: 0;
    overflow-x: hidden;
  }

  .content {
    margin: 2.5em .5em 0 .5em;
  }

  nav[role="off-canvas"] {
    position: absolute;
    top: 3em;
    left: -20em;
    width: 20em;
    opacity: 0;
  }
  nav[role="off-canvas"] ul > li {
    height: 100%;
    width: 100%;
    text-align: left;
    margin: 0;
  }
  nav[role="off-canvas"] ul > li:hover {
    box-shadow: inset 0 0 0 0.15em rgba(255, 255, 255, 0.45);
  }

  label {
    display: block;
  }

  label:after {
    position: absolute;
    right: .25em;
    top: 0;
    content: "2261";
    font-size: 1.8em;
  }

  label:hover,
  input:checked ~ label {
    color: #000;
  }

  input:checked ~ nav[role="off-canvas"] {
    opacity: 1;
    left: 0;
    box-shadow: -30em 0 0 30em rgba(0, 0, 0, 0.3);
  }
  input:checked ~ nav[role="off-canvas"] ul > li {
    padding: .55em .55em .55em 1.5em;
  }
  input:checked ~ nav[role="off-canvas"] ul > li:hover {
    padding-left: 3.5em;
  }
  input:checked ~ nav[role="off-canvas"] ul > li:after {
    position: absolute;
    right: .25em;
    content: "203A";
    font: bold 1.4em sans-serif;
    color: inherit;
  }

  input:checked ~ .content {
    margin-left: 20.5em;
    margin-right: -20.5em;
  }
}


body {
  background-color: white;
  font-family: "Georgia";
  padding: 5px 25px 5px 25px;
  font-size: 18px;
  margin: 0;
  color: #444;
}

h1 {
  font-family: "Merriweather", serif;
  font-size: 32px;
}

All topic

How does one list warnings from the ‘mysqlimport’ utility?

To start off, this is not about loading data from within MySQL itself, but using the command-line tool “mysqlimport”.

I am using it to load a CSV directly into a table and need to see the warnings it has generated. I cannot seem to get warnings to display with verbose nor debugging turned on. Any ideas?

(MySQL 5.0.5)

All topic

SSL warnings different on Chrome vs Firfox

I just installed WordPress HTTPS (SSL) and it looked like it was working, but there are different results on different browsers.

Firefox shows all is well….

enter image description here

But Chrome does not …

enter image description here

The site is JoeTaxpayer.com and for Chrome, I was sure to first flush the cache to see if that was the issue creating this alert.

And yes, I searched first, only to find this question, with no solution, similar, but not identical.

All topic