Posts

To the edge of the world

Image
This long and skinny country snaking down on the western side of the South America, with mountains and landmarks so different and diverse they should be continents apart. Memories of my childhood, watching the adventures of schooner Speranta (Hope) sailing across the the Atlantic ocean ‘till the edge of the world’, Tierra del Fuego. From the historic Santiago to the narrow streets of Valparaiso and staggeringly mountains and desert, this was truly a racing heart adventure to the edge of the world. Santiago is a city of extreme contrast, skyscrapers and small flea markets in the same place, the new world versus the old world. You can sip fine wine while looking out over the Andes at sunset, or explore beyond the city limits, charming wine country and the wild Pacific coast.  Read the rest of the story here

Kubernetes namespace python lib

# KUBERNETES NAMESPACE A python-based helper capable of managing the Kubernetes namespace. ## Introduction This lib will manage namespace in kubernetes cluster and setting quoata and limits. ## Instalation ### git clone ```bash git clone https://github.com/danbordeanu/simple_kubernetes_namespace.git ``` ### Prerequisites 1. python/pip 2. ssl certs from kube/config file ## Getting the ssl certs and populating the config.ini file kube_namespace is using ssl cert file to authenticate, take a look at the __config.ini__ file ```bash # certificate-authority-data ssl_ca_cert_file: ssl/ca_cert.crt # client-certificate-data ssl_cert_file: ssl/cert_file.crt # client-key-data ssl_key_file: ssl/key_file.crt ``` The ssl certs are extracted from the kube config file: Ex: ``` apiVersion: v1 clusters: - cluster:     certificate-authority-data: XXXX     server: https://akscluster.xxxx.azmk8s.io:443   name: akscluster contexts: - cont...

Simple python ldap lib

Simple lib for ldap authentication A python-based helper capable of authentication using ldap. Introduction Simple python lib that will perform authentication by connectiong to ldap endpoint. If login is succesful it wil return a token that can be used in different REST/API apps. Prerequisites python/pip memcached server ldap server Installation Cloning git clone https://github.com/danbordeanu/simple_ldap_token.git Installing pip packages pip install -r requirements.txt Configuration Edit the config.ini file based on your server settings. [ldap] # ldap address server: ldaps://ldapserver:636 # my super secret key secret_key: supersecretthing # expire interval expire_interval: 3600 ldap_search: OU=eCore Office,OU=People Accounts,DC=domain,DC=com [memcache] port: 11211 host: localhost Also env vars for ldap and memcache host are supported. export LDAP_HOST='ldaps://ldapserver:636 export MEMCACHED_HOST='localhost' export MEMCACHE...

Best bike park in Czech Republic

Image
I had just found out the jewel of the bike resorts in Czech Republic. Simply called: TRUTNOV TRAILS .. Trutnov bike resort is located two hours away from Prague in the Čížkovy kameny and Jestřebí hory area. Because of the rocky walls the area of Čížkovy kameny is a frequent destination among locals for weekend getaways and it is very similar with one of the most famous places in Czech Republic, Adršpašsko-teplické. Here the reason why Čížkovy kameny is called also the little Adršpach. The geographical features of the area with undulating landscape and rocky terrain have created a natural network of trails perfectly suited for biking. The single trails are suited for all levels, from green to black, every rider will find something that will push his limits. The GREEN trail is an easy uphill path with a few technical places, but there are also a few challenging elements. It is no too long just 3 km but I would say it's highly recommended for warm up. The key points of the ...

5 REASONS TO SPEND WINTER VACATION IN SOUTHERN SPAIN

Image
Planning a trip to Spain and need a place to start? Thinking about spending the winter vacation in Southern Spain? Here are our top 5 reasons to spend the winter vacation in Andalusia, the cultural and history reach area in Southern Spain. 1. PLENTY OF SUN AND BLUE SKY While the rest of the Europe is under black clouds, rain and snow, the Southern Spain sky is bright blue and the Sun is shining. The weather is perfect to enjoy a nice walk in the old town of Malaga or to hike the hidden trails up in the mountains. Bright blue sky 2. MEDITERRANEAN SEA Nice sensation to lay down on the sea side and feel the warm breeze. The water here is turquoise and the sand is made of tiny pebbles. On a shiny day the Atlas mountains are visible. To be on the seaside during the winter is an amazing feeling, it will boost your mood, no more gray clouds and cold weather. The sound of the waves is something priceless. This time of the year not so many tourists and the beach it's all yours to enjoy Sun...

BEST BIKE RESORT IN CZECH REPUBLIC

Image
BEST BIKE RESORT IN CZECH REPUBLIC I had just found out the jewel of the bike resorts in Czech Republic. Simply called: TRUTNOV TRAILS .. Stunning view Trutnov bike resort is located two hours away from Prague in the Čížkovy kameny and Jestřebí hory area. Because of the rocky walls the area of Čížkovy kameny is a frequent destination among locals for weekend getaways and it is very similar with one of the most famous places in Czech Republic, Adršpašsko-teplické. Here the reason why Čížkovy kameny is called also the little Adršpach. The geographical features of the area with undulating landscape and rocky terrain have created a natural network of trails perfectly suited for biking. The single trails are suited for all levels, from green to black, every rider will find something that will push his limits. The GREEN trail is an easy uphill path with a few technical places, but there are also a few challenging elements. It is no too long just 3 km but I would say it's highly r...

Mtb in Prague

Image
Are you looking for more technical MTB trails in Prague? Do you like to take some air? Not far away from the city center we can find a few challenging trails that will put a big smile on every rider face. If you like technical descents or fast and flow trails with a few jump, this is the place where you should be. Visit  http://bihiprague.com  for more fun