Defaulting Google search results to the past year

If you spend as much time looking around the internet for answers to obscure questions as I do, you quickly realize that often times, Google will happily present you with results that are many years old and out of date.  This is especially frustrating when you eventually find an answer after spending quite some time searching, only to realize the answer you’re looking for is 5 years old.  For more reading on efficient searching check out this post on the 10 tab rule, which has some useful ideas for better searching in general.

xkcd

There is a trick that will allow you to customize the Google default results.  The key to mapping the Google search terms is really just the URL.  Google uses search parameters for querying, so you can do some really cool things.  Obviously this is a powerful concept, so a lot of useful searches can be mapped.  This idea can be taken further to map keywords to other searches, like YouTube, Google maps, Stack Overflow, etc, or basically any site that provides a search interface.

I have only tested these key/search mappings for Google search results on Google Chrome, so if you use another browser there might be a similar trick, I just haven’t attempted it.  Open Chrome settings and navigate to the “Search” section.

This will pull up a dialog box with a list of default search engines.  Scroll to the bottom of the list and add the following values to the corresponding fields from the screenshot.

The Keyword is just a “>” symbol, and it can be anything really.  I chose the > because it is quick and easy to get to.  The rest is pretty self explanatory.  After the entry has been added, scroll through the search engines and find the new “Google recent” entry – there is a button that says “Make default” if you hover over the search engine entry.  Click that and then click done.

Now when you do a Google search from your search bar it will default to items from the past year.

Bonus

You can extend this trick further to map keys in your Google search bar to do other searches.  For example, you can map a key (or word) to search for image results.  In the below example, I am using “I” as the keyword.

After adding the above snippet into the search settings you can navigate to the search bar, type in I (followed by a tab) and the term to search for and it will automatically do an image search.  The key to making the mapping being a tab completion in the search bar is the q=%s part in the URL.

The last bonus search that has worked for me is the “feeling lucky” search.

That keyword (I used a tilde) can once again be anything, but preferably should be fast to get reach to make searching easier.

One final note

Sometimes you actually do want to search for results that are over a year old.  This is true of information that doesn’t really change often.  So if you are having trouble finding a website you think should be at the top of the search, make sure that the default search result is set to any time.  Ideally you would make another key mapping to handle this searching behavior.

Read More

awesome-rancher

Awesome lists are a newish phenomenon for organizing links and information that have been gaining popularity on Github.  You can read more about awesome lists here, but essentially they are curated lists of helpful links and other various resources that are put together by members of their communities.

There are lots of awesome lists these days on Github, and there are even awesome lists for non-tech categories, including recipes and video games. Oddly enough though through my own searching, I quickly discovered that there was no awesome list for Rancher.

So I decided to give a little bit back to the Rancher community in my own way.  If you aren’t aren’t familiar with Rancher, it is essentially a platform and orchestration engine for container based workloads.  Out of all of the container management and orchestration platforms that have been growing out of the container popularity explosion, using Rancher has definitely the most pleasant experience and easiest to use.  Also, if you are new to Rancher, please go check out the list on Github for more information, that is what it is there for.

Check out the awesome-rancher project here.

The goal for me and for the project is to make awesome-rancher the go to resource for finding useful information.  Therefore, I want awesome-rancher to be as easy to use and as complete as possible so new users have a good jumping off place when they decide to dive into Rancher.

If you are a Rancher community member or even just notice a key resource missing from the list, please either let me know with a comment here, on twitter/facebook, or just open a PR on the project itself (which is probably the easiest).

Read More

Ein Einblick in Captain Cooks Casino: Ein Abenteuer wie kein anderes

Das Captain Cooks Casino ist ein einzigartiges Online-Casino-Erlebnis, das Spielern eine spannende Mischung aus historischen Abenteuern und modernen Glücksspieloptionen bietet. Als Teil der renommierten Casino-Reihe ist es bekannt für seine durchweg positive Nutzererfahrung und seine beeindruckende Spielauswahl.

Einer der faszinierendsten Aspekte des Captain Cooks Casinos ist der historische Kontext, in den es sich einfügt. Inspiriert von den Expeditionen des berühmten Entdeckers Captain James Cook, verspricht das Casino seinen Nutzern eine Reise voller Entdeckungen und Belohnungen.

Die Vielfalt der Spiele

Mit über 550 verschiedenen Casinospielen bietet Captain Cooks Casino eine umfassende Auswahl, die allen Spielertypen gerecht wird. Ob Sie ein Fan von klassischen Tischspielen wie Blackjack und Roulette sind oder die neuesten Video-Slots ausprobieren möchten, hier finden Sie alles.

Besonders hervorzuheben ist das progressive Jackpot-Netzwerk, das die Möglichkeit bietet, mit einem einzigen Dreh lebensverändernde Summen zu gewinnen. Diese Spiele sind ein zentraler Anziehungspunkt für viele Spieler weltweit.

Boni und Promotionen

Neue Spieler werden mit einem großzügigen Willkommensbonus begrüßt, der es ihnen ermöglicht, sich ein umfassendes Bild von den Spielmöglichkeiten zu machen. Regelmäßige Promotionen sorgen dafür, dass das Spielerlebnis stets aufregend bleibt und loyale Spieler belohnt werden.

Eines der Hauptziele des Casinos ist es, den Spielern eine sichere und **https://captaincookscasinoat.at/** Plattform zu bieten, auf der sie sorglos spielen können. Dies wird durch die Verwendung modernster Sicherheitstechnologien und strenger Datenschutzrichtlinien gewährleistet.

Kundensupport und Zahlungsmethoden

Ein weiterer Vorteil des Captain Cooks Casinos ist der umfassende Kundensupport. Rund um die Uhr stehen fachkundige Mitarbeiter zur Verfügung, um Spieler bei ihren Anliegen zu unterstützen. Verschiedene Zahlungsmethoden, einschließlich Kreditkarten, E-Wallets und Banküberweisungen, gewährleisten eine reibungslose Abwicklung aller Transaktionen.

Captain Cooks Casino bietet ein integriertes, einzigartiges Spielerlebnis, das sowohl Neulinge als auch erfahrene Spieler zu schätzen wissen. Dank der Kombination aus einer vielfältigen Spielauswahl, großzügigen Boni und einem starken Kundensupport nimmt das Casino einen besonderen Platz in der Online-Glücksspielszene ein.

Mit einem Fuß in der Vergangenheit und einem Auge auf innovative Spieltrends setzt Captain Cooks Casino Maßstäbe in der Online-Casino-Landschaft.

Read More

Découvrez l’Expérience Unique d’un Casino Privé

Un Casino privé offre une expérience de jeu exclusive et personnalisée qui attire de nombreux passionnés de jeux d’argent en quête de luxe et de discrétion. Contrairement aux casinos traditionnels, ces établissements privés proposent des services de haute qualité, y compris des tables de jeu dédiées, des croupiers personnalisés et des environnements de jeu somptueux.

Pourquoi Choisir un Casino Privé?

Les casinos privés sont prisés pour leur capacité à offrir une expérience sur mesure à leurs clients VIP. Ceux-ci bénéficient d’une attention spéciale, de la personnalisation de l’interface de jeu à l’organisation d’événements exclusifs. Ces établissements garantissent une confidentialité totale, permettant aux joueurs de se concentrer pleinement sur le jeu sans distractions ou préoccupations extérieures.

Les Avantages d’un Environnement Exclusif

Tables de jeu privatives VIP

En fréquentant un casino privé, les joueurs peuvent profiter de nombreux avantages tels que :

  • Un service client dédié 24/7
  • Des options de paris et des limites adaptées aux préférences des joueurs
  • L’accès à des promotions et des bonus exclusifs
  • Une sélection de jeux haut de gamme incluant des versions classiques et modernes

Les Tables de Jeu Privées

Les tables de jeu privatives, souvent situées dans des salles luxueuses, créent une atmosphère d’élégance et de prestige, idéale pour les passionnés de jeux d’argent qui apprécient l’intimité ainsi que la grandeur. Ces tables sont desservies par des croupiers professionnels qui s’assurent que chaque partie soit à la hauteur des attentes élevées des joueurs.

Vidéo

En conclusion, opter pour un casino privé garantit une expérience de jeu exceptionnelle, où confort, confidentialité et plaisir sont mis à l’honneur. Que vous soyez un vétéran des casinos ou un novice, ce type d’établissement saura répondre à vos attentes de manière inégalée.

Read More

Configure a Rancher HAProxy health check

If you are familiar with ELB/ALB you will know that there are slight idiosyncrasies between the two.  For example, ELB allows you to health check a back end server by TCP port.  Basically allowing the user to check if a back end comes up and is listening on a specified port.  ALB is slightly different in its method for health checking.  ALB uses HTTP checks (layer 7) to ensure back end instances are up and listening.

This becomes a problem in Rancher, when you have multiple stacks in a single environment that are fronted by the Rancher HAProxy load balancer.  By default, the HAProxy config does not have a health check endpoint configured, so ALB is never able to know if the back end server is actually up and listening for requests.

A colleague and I  recently discovered a neat trick for solving this problem if you are fronting your environment with an ALB.  The solution to this conundrum is to sprinkle a little bit of custom configuration to the Rancher HAProxy config.

In Rancher, you can modify the live settings without downtime.  Click on the load balancer that sits behind the ALB and navigate to the Custom haproxy.cfg tab.

haproxy config

Modify the HAProxy config by adding the following:

# Use to report haproxy's status
defaults
    mode http
    monitor-uri /_ping

Click the “Edit” button to apply these changes and you should be all set.

Next, find the health check configuration for the associated ALB in the AWS console and add a check the the /_ping path on port 80 (or whichever port you are exposing/plan to listen on).  It should look similar to the following example.

Health checks

Below is an example that maps a DNS name to an internal Nginx container that is listening for requests on port 80.

HAPRoxy configuration

The check in ALB ensures that the HAProxy load balancer in Rancher is up and running before allowing traffic to be routed to it.  You can verify that your Rancher load balancer is working if the instances behind your ALB start showing a status of healthy in the AWS console.

NOTE: If you don’t have any apps initially behind the Rancher load balancer (or that are listening on the port specified in the health check) the AWS instances behind ALB will remain unhealthy until you add configuration in Rancher for the stacks to be exposed, as pictured above.

After setting up HAProxy, publicly accessible services in private Rancher environments can easily be managed by updating the HAProxy config.  Just add a dns name and a service to link to and HAProxy is able to figure out how and where to route requests to.  To map other services that aren’t listening on port 80, the process is  very similar.  Use the above as a guideline and simply update the target port to whichever port the app is listening on internally.

Read More