Hosting links

Links for international hosting providers:

  1. www.siteground.com  🏅🤟
  2. www.bluehost.com
  3. www.hetzner.de
  4. www.justhost.com
  5. www.godaddy.com

Managed wordpress hosting:

  1. Kinsta 💰
  2. SiteGround 🤟
  3. WP Engine 💰
  4. Flywheel
  5. Pagely
  6. GoDaddy
  7. iphost.net
  8. papaki.gr

Links for hosting providers in Greece:

  1. www.iphost.net
  2. xtreemweb.net
  3. www.pointer.gr
  4. greekhost.gr
  5. www.ip.gr
  6. www.papaki.gr 🏅
  7. www.tophost.gr 🤨
  8. stigma.host 🤨
  9. www.intechs.gr
  10. www.check-domains.gr
  11. www.cretaforce.gr
  12. www.rainhost.gr 🤨

More choices:

  1. www.thewebpower.com
  2. dnhost.gr
  3. www.datahost.gr
  4. ez4uhosting.com
  5. www.jethost.gr
  6. www.1host.gr
  7. www.supremohosting.com
  8. www.hyperhosting.gr
  9. www.kosnet.gr
  10. www.myip.gr
  11. http://www.mochahost.com
  12. http://www.turbohosting.gr
  13. http://www.philoxenos.com
Advertisements

Unable to use ctrl+shift+? shortcuts with keyboard layout switcher

You have a Linux distribution with Xorg and you have configured the keyboard layout switcher to use alt+shift to switch between languages. But once you do that, keyboard shortcuts that use alt+shift+<key> combinations cannot be used. The same could happen if you have selected ctrl+shift as a shortcut to change language which disables all ctrl+shift+<key> combinations.

Continue reading Unable to use ctrl+shift+? shortcuts with keyboard layout switcher

Enable CORS to Tomcat

CORS (CORS flowchart) is quite complex to understand but you absolutely need it if you want to write an app in “modern” javascript frameworks like angular.

The simplest way to enable CORS to Apache Tomcat for development is to:

  1. create web.xml (if it does not exist already)
  2. add the included filter. An example is shown below:
<filter>
  <filter-name>CorsFilter</filter-name>
  <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
  <init-param>
    <param-name>cors.allowed.origins</param-name>
    <param-value>*</param-value>
  </init-param>
  <init-param>
    <param-name>cors.allowed.methods</param-name>
    <param-value>GET,POST,HEAD,OPTIONS,PUT</param-value>
  </init-param>
  <init-param>
    <param-name>cors.allowed.headers</param-name>
    <param-value>Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers</param-value>
  </init-param>
  <init-param>
    <param-name>cors.exposed.headers</param-name>
    <param-value>Access-Control-Allow-Origin,Access-Control-Allow-Credentials</param-value>
  </init-param>
  <init-param>
    <param-name>cors.support.credentials</param-name>
    <param-value>true</param-value>
  </init-param>
  <init-param>
    <param-name>cors.preflight.maxage</param-name>
    <param-value>10</param-value>
  </init-param>
</filter>
<filter-mapping>
  <filter-name>CorsFilter</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>

 

References:

Fitness links (greece only)

Θερμίδες

Επιλογή γευμάτων

Προπόνηση

Γράμμωση

Πηγές

 

 

 

80 bronze vs 80 gold

 

How to choose between a 80+ bronze and a 80+ gold power supply?

  1. Calculate approximately how many hours you are using you computer per week
  2. Find how much a kWh costs at your area
  3. Use the tables below to find how many weeks it would take an 80+ Gold power supply to pay for the cost difference over an 80+ Bronze power supply
Example 1:

Let’s say you are using a 450W power supply and each kWh costs you $0.1. You are using your computer approximately 8h per day (56h per week).

It will take approximately 333 weeks (6.5 years) for the 80+ Gold power supply to pay for the cost difference over an 80+ Bronze power supply.

Example 2:

Let’s say you are using a 450W power supply and each kWh costs you $0.1. You are using your computer approximately 24h per day (168h per week).

It will take approximately 111 weeks (2.15 years) for the 80+ Gold power supply to pay for the cost difference over an 80+ Bronze power supply.

So, should you always prefer bronze over gold?

The answer is NO. You have to taken into account some other factors like:

  1. More efficient power supplies emit less heat. As a result they produce less noise. If you are interested in building a silent PC a more efficient (and expensive) power supply may be what you need.
  2. Assuming we are comparing two models of the same manufacturer, more efficient power supplies tend to have components of higher quality. Which makes them a better choice for your expensive (?) computer.

 

zua1mme

References:

  1. ExtremeTech analysis
  2. Reddit discussion

Specialty Coffee personal ratings

To be updated

For cold brew:

1. Hariti Ethiopia (link)

  • Origin: Sidamo, Ethiopia
  • Grade: 2
  • Altitude: 1750-1900m
  • Processing: washed
  • Cup profile: bergamot, spicy, chocolate, sweet acidity, fine silky body, very smooth

2.Plan Chacaguaico – Colombia (link)

  • Origin: Santa Bárbara, Sandoná, Nariño, Colombia
  • Variety: Caturra, Colombia
  • Altitude: 2000m
  • Processing: washed
  • Cup profile: citrus, pineapple, balanced acidity, juicy body, long black tea aftertaste, excellent balance

3. Granitos de Ortiz Esperanza, Costa Rica (link)

  • Origin: Santa Maria de Dotta, Tarrazu
  • Variety: Red & Yellow Catuai
  • Altitude: 1800m
  • Processing: Black honey
  • Cup profile: red fruits, plum, toffee, juicy body, delicate acidity

Angular links

 Recommended sites:

Best practices:

EventEmitter:

https://stackoverflow.com/questions/36076700/what-is-the-proper-use-of-an-eventemitter

Binding:

https://lishman.io/angular-2-input-binding

Global data sharing:

http://www.learnangularjs.net/global-data-sharing-in-angular-4.php

Routing:

  1. Guide to Router
  2. Angular router fundamentals
  3. Bootstrap navigation menu 🏅
  4. Nested routes and nested auxiliary routes

Observers and observables:

Pipes:


Various articles:

Pro angular:

  1. https://blog.angular-university.io/why-a-single-page-application-what-are-the-benefits-what-is-a-spa/

Anti angular:

  1. https://www.reddit.com/r/programming/comments/6x8dmz/why_i_hate_your_single_page_app/
  2. https://news.ycombinator.com/item?id=12956059
  3. http://www.realfreemarket.org/blog/2013/07/31/single-page-app-website-style-sucks/

Personal portal to the Internet