<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sergio Cortes Satizabal on Medium]]></title>
        <description><![CDATA[Stories by Sergio Cortes Satizabal on Medium]]></description>
        <link>https://medium.com/@sergiocortessatizabal?source=rss-ef3430c98129------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TnJ_WAnGBoVTUWuaLL9wew.png</url>
            <title>Stories by Sergio Cortes Satizabal on Medium</title>
            <link>https://medium.com/@sergiocortessatizabal?source=rss-ef3430c98129------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 17:26:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sergiocortessatizabal/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A simple way to set Devise with Omniauth2.0 (Facebook, Google)]]></title>
            <link>https://medium.com/@sergiocortessatizabal/a-simple-way-to-set-devise-with-omniauth2-0-facebook-google-617a88999d8e?source=rss-ef3430c98129------2</link>
            <guid isPermaLink="false">https://medium.com/p/617a88999d8e</guid>
            <category><![CDATA[omniauth]]></category>
            <category><![CDATA[devise]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[rails]]></category>
            <dc:creator><![CDATA[Sergio Cortes Satizabal]]></dc:creator>
            <pubDate>Thu, 15 Apr 2021 16:48:30 GMT</pubDate>
            <atom:updated>2021-04-15T16:48:30.879Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, my fellow excited and tired programmers.</p><p>Like many of you, if not all, we face constant problems and errors in our works that many times become simply overwhelming. Especially on those occasions where you see yourself wasting 2 or 3 precious hours on something that neither gives you knowledge nor develops your work further. I just those nasty bugs that take our chunks of free time away.</p><p>However, this is what we do. This is why we dig ourselves into vast lines of variables, constant, and numbers and try to form a mental map of its puzzle. We thrive to fix errors and we feed on those fixings accomplishments like a nice cold beer on a summer day. This is what we love to do, nonetheless is always good to skip the simple time-consuming steps that will take your valuable time.</p><p>Being coders means we must seek solutions and come up with ingenious ways to bypass problems. However, our job is so extensive that we all need a helping hand, and as such, I hope this article may help your day and ease your mind.</p><p><strong>Without further due, let’s start.</strong></p><p>When setting up a rails application that uses the devise gem, we automatically get access to an important and useful tool to make the user’s experience even better.</p><p>Omniauth2.0 can be included within the devise setup in rails allowing us to include Facebook, Google, Github, Twitter, and Digital Ocean sign_up options through secure verification.</p><p>In this tutorial, we will do a brief but explanatory session on how to set up Omniauth2.0 on your rails-devise application and the necessary steps to set it up.</p><p>For purposes of this article, this guide will only include Facebook and Google authentication methods. Nonetheless, the code will be open to adding other providers as needed with little further set_up</p><h3>1. Make sure you have devise set_up in your application</h3><p>For this guide purpose. you must have a rails app set up using devise authentication. If not, please follow this <a href="https://hackernoon.com/using-devise-in-your-ruby-on-rails-application-a-step-by-step-guide-m92i3y5s">Hackernoon</a> guide</p><h3>2. Set up Omniauth2.0 Gemfile</h3><p>Make sure you update your current gem “devise” for this and add the following gems:</p><pre>gem &#39;devise&#39;, github: &#39;heartcombo/devise&#39;, branch: &#39;ca-omniauth-2&#39;</pre><pre>gem ‘omniauth’</pre><pre>gem ‘omniauth-facebook’</pre><pre>gem ‘omniauth-google-oauth2’</pre><pre>gem ‘omniauth-rails_csrf_protection’</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*f4CcHRxgEIPTgvRnPO7QMQ.png" /><figcaption>Gemfile</figcaption></figure><p>After saving the file make sure to run the console within the root folder:</p><blockquote><strong>bundle install</strong></blockquote><h3>3. Setting up the proper columns for our devise model.</h3><p>The next step will be to add the proper columns to our devise model (For this guide purposes, our devise model is called User)</p><pre>rails g migration AddOmniauthToUsers provider:string uid:string</pre><p>The above command will include into the User(devise) model the proper necessary columns to properly set Omniauth. This is how our migration file will look</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*x_FVbLQbOyg5Ddk6Gd3GKQ.png" /></figure><p>Now please run the command:</p><blockquote><strong>rake db:migrate</strong></blockquote><h3>4. Setting up Omniauth credentials call in devise initializer.</h3><p>Inside the folder <strong>config/initializers/devise.rb</strong>, add the following block of code at the end of the block:</p><pre>config.omniauth :facebook, ENV[&quot;APP_ID&quot;], ENV[&quot;APP_SECRET&quot;], access_type: &quot;online&quot;</pre><pre>config.omniauth :google_oauth2, ENV[&quot;GOOGLE_CLIENT_ID&quot;], ENV[&quot;GOOGLE_CLIENT_SECRET&quot;], access_type: &quot;online&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*bAmuo4woZVzMiYWMY31hbg.png" /></figure><blockquote><strong>At this point, you may add an extra config.omniauth line including another provider. You can add your custom names to:</strong></blockquote><pre>config.omniauth :[provider], ENV[“custom secret id”], ENV[“custom app id”], access_type: &quot;online&quot;</pre><p>Later on, in the guide, we will set up the proper tokens for this. As they must be secretly saved in an .env within the root of our project. (There is as well a way to set them us as credentials which we will explain at the end)</p><h3>5. Setting up the correspondent devise associations to the User (devise) model.</h3><ul><li>Direct yourself to the folder <strong>model/user.rb</strong> (or the name of your devise model)</li></ul><p>When we set up device, we get a preset devise association within our User model. This association can extend its capabilities to allow for extra functionality such as mail confirmation (confirmable attribute).</p><p>In this case, we must extend the capabilities of our devise to include the omniauthable extension. As well we must indicate which providers we will use. For this guide purposes, we are setting up Facebook and Google authentication systems.</p><p>Make sure to add this at the end of your devise setup.</p><blockquote><strong>:omniauthable, omniauth_providers: %i[google_oauth2]</strong></blockquote><p>In my case it looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*PaEcp-ig1x3Ws3TUyHTDbg.png" /></figure><blockquote><strong>At this step, you may add another custom provider such as github, twitter, or digitalocean.</strong></blockquote><h3>6. Adding the model creation method to include the omniauth info in our database</h3><p>Within the same user model, we can define a method that takes care of all our general needs of basic information such as email and password.</p><p><strong>Note</strong>: if you have any custom name added to your User (devise) model, you must specify this as well within the user model method to properly add its parameters.</p><p>To get all the callable API parameters, please direct yourself to the <a href="https://github.com/zquestz/omniauth-google-oauth2"><strong><em>google_oauth2</em></strong></a> or <a href="https://github.com/simi/omniauth-facebook"><strong><em>omniauth_facebook</em></strong></a> documentation for further Hash calls.</p><p>Add the following code to your <strong>model/users.rb</strong></p><pre>def self.from_omniauth(auth)</pre><pre># This line checks if the user email received by the Omniauth is already included in our databases.</pre><pre>  user = User.where(email: auth.info.email).first</pre><pre># This line sets the user unless there is a user found in the line above, therefore we use ||= notation to evaluate if the user is nill, then set it to the User.create<br>. <br>  user ||= User.create!(provider: auth.provider, uid: auth.uid, email: auth.info.email, password: Devise.friendly_token[0, 20])<br>  user<br>end</pre><blockquote><strong>You may add your custom column to your devise models such as name or last name. The following example shows a method that adds the name to the model</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9hoc0651OQHX6O_yyBWN4w.png" /></figure><ul><li>Method that doesn’t include a Name column:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q8YOPjGHXbDHfqy9NNsgAg.png" /></figure><h3>7. Let’s add our Callbacks methods to our Omniauth architecture.</h3><p>Adding callbacks to our Omniauths methods is necessary to properly direct the procces while the Authentication takes place within a third-party provider such as Facebook or Google. therefore is necessary to handle this procces to correctly return to our page or handle errors.</p><p>For this guide purposes, we have added our callbacks method within a created file “users” inside controllers</p><blockquote><strong>app/controllers/users/omniauth_callbacks_controller.rb</strong></blockquote><p><strong>Note:</strong> Make sure to name the file:<strong> omniauth_callbacks_controller.rb</strong></p><p>You may create this file within the main controller folder. Just make sure to change the correspondent route while passing the omniauth_callbacks folder route.</p><p>Paste the following code inside this file:</p><pre>class Users::OmniauthCallbacksController<em> &lt; Devise::OmniauthCallbacksController</em></pre><pre>def facebook<br>@user = <em>User</em>.from_omniauth(request.env[&#39;omniauth.auth&#39;])</pre><pre>if @user.persisted?<br> sign_in_and_redirect @user, event: :authentication   </pre><pre> set_flash_message(:notice, :success, kind: &#39;Facebook&#39;) if     is_navigational_format?</pre><pre>else</pre><pre> session[&#39;devise.facebook_data&#39;] =  request.env[&#39;omniauth.auth&#39;].except(:extra) </pre><pre> redirect_to new_user_registration_url</pre><pre>end</pre><pre>end</pre><pre>def failure<br>redirect_to root_path<br>end</pre><pre>def google_oauth2<br>@user = <em>User</em>.from_omniauth(request.env[&#39;omniauth.auth&#39;])</pre><pre>if @user.persisted?</pre><pre>flash[:notice] = <em>I18n</em>.t &#39;devise.omniauth_callbacks.success&#39;, kind: &#39;Google&#39;<br>sign_in_and_redirect @user, event: :authentication</pre><pre>else</pre><pre>session[&#39;devise.google_data&#39;] = request.env[&#39;omniauth.auth&#39;].except(&#39;extra&#39;) </pre><pre>redirect_to new_user_registration_url, alert: @user.errors.full_messages.join(&quot;\n&quot;)</pre><pre>end</pre><pre>end</pre><pre>end</pre><p>It should look like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OFuvWzURKNEG5UnVCGF3eg.png" /></figure><blockquote><strong>At this step, you may add additional methods to handle extra Omniauth providers such as twitter, github, or digitalocean following the previous architecture and replacing [omni_provider] and [provider] with correspondent authenticator</strong></blockquote><pre>def [omni_prvider]</pre><pre># You need to implement the method below in your model (e.g. app/models/user.rb)</pre><pre>@user = <em>User</em>.from_omniauth(request.env[‘omniauth.auth’])</pre><pre>if @user.persisted?</pre><pre>flash[:notice] = <em>I18n</em>.t ‘devise.omniauth_callbacks.success’, kind: ‘[provider]’</pre><pre>sign_in_and_redirect @user, event: :authentication</pre><pre>else</pre><pre>session[‘devise.[provider]_data’] = request.env[‘omniauth.auth’].except(‘extra’) # Removing extra as it can overflow</pre><pre>redirect_to new_user_registration_url, alert: @user.errors.full_messages.join(“\n”)</pre><pre>end</pre><pre>end</pre><h3>8. Let’s add the corresponding device Omniauth routes</h3><p>Up to this point, all steps we have done, ensure a more dynamic way to load Omniauthenticaros using the device setup and taking advantage of its methods and views.</p><p>By default, devise will set the following to our <strong>config/routes.rb</strong> file<br>devise_for :users</p><pre>devise_for :users</pre><p>Nonetheless, we must include the routes created by our callbacks class method. If you remember, in our last step we set up our callback to handle the page’s authentication procces. Such callback will help the routes to create the corresponding URL call using our callbacks methods names (facebook, google_oauth2)</p><p>Please replace that line with the following:</p><pre>devise_for :users, controllers: {omniauth_callbacks: &#39;users/omniauth_callbacks&#39;}</pre><p>This line will create the corresponding routes paths to access our google and facebook authentication procces as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*23jE9tWb-emQmZnyLieVEA.png" /></figure><h3>9. Adding the sign_up links to our views</h3><p>This step might be done in 2 ways.</p><h4>9.1 Create a direct link in any view you need it to using this code:</h4><pre>#Facebook<br>&lt;%= link_to &quot;Register with &#39;provider&#39;&quot;, user_facebook_omniauth_authorize_path, method: :post %&gt;</pre><pre>#Google<br>&lt;%= link_to &quot;Register with &#39;provider&#39;&quot;, user_google_oauth2_omniauth_authorize_path, method: :post %&gt;</pre><p>We have added the <strong>method: :path</strong> to the link as is neccesary for it to properly set the method for its correposnidng route.</p><h4>9.2 Dynamic View</h4><p>As devise includes its own dynamic embeded method to render different links such as log in, sign in, forgot password. This same procces applies to our omniauth links, which we can set dinamically by modifying our <strong>views/device/shared/_links.html.erb</strong></p><p>Modify the last line (21 -25) of the file <strong>_links.html.erb</strong> as follows</p><pre>&lt;%- if devise_mapping.omniauthable? %&gt;</pre><pre>&lt;%- resource_class.omniauth_providers.each do |provider| %&gt;</pre><pre><strong># This line is included to set our google provider name to &quot;Google&quot; as by default the name is &quot;gogogle_omniauth2&quot;, for the remaining providers the name is the same.</strong></pre><pre>&lt;% pretty_provider = provider.to_s == &#39;google_oauth2&#39; ? &quot;Google&quot;: provider %&gt;</pre><pre>&lt;%= link_to &quot;Sign in with #{<em>OmniAuth</em>::<em>Utils</em>.camelize(pretty_provider)}&quot;, omniauth_authorize_path(resource_name, provider), method: :post%&gt;&lt;br /&gt;</pre><pre>&lt;% end %&gt;</pre><pre>&lt;% end %&gt;</pre><p><strong>Note</strong>: Please note we have included <strong>method: :post</strong> as well. As is needed to properly recognize accept the route.</p><h3>10. Set up your facebook credential and google credentials.</h3><h4>Faceboook</h4><ul><li>Visit <a href="https://developers.facebook.com/">https://developers.facebook.com/</a> and create an account</li><li>Click on my apps within the navbar</li><li>Create new app</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*JHEdE63T-mQpIn5J" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*zBZv87eDIDQtLoUZ.png" /></figure><ul><li>Click More options</li><li>Click on “something else”</li><li>Add your custom App name</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*rz4pC3Kx8_7t3rMS" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*JzAiW-l-VOEfVEmd.png" /></figure><ul><li>Complete the security check (please make sure to turn off ad blockers otherwise the security check will not popup).</li><li>Once in your application dashboard, click on Setting</li><li>Choose the option basics</li><li>Within the field “app domains” write localhost.</li><li>Scroll down to Add a platform and click on it. Then choose (‘website’)</li><li>Set its URL to [https://localhost]</li><li>Save changes and save your (app_id and app_secret) for later.</li></ul><h4>Google</h4><ul><li>Go to <a href="https://console.cloud.google.com/">https://console.cloud.google.com</a> and create an account</li><li>Place a custom app name</li><li>Optional, set organization</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KN7Pe1nSc7QkHyff.png" /></figure><ul><li>Direct yourself to API overviews</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*AqYE-_8ARXgvy5X1isHLTg.png" /></figure><ul><li>Select credentials</li><li>In the bottom right part, select <strong>“create credential”</strong></li><li>Select OAuth client ID</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ovj3EhZB-qBjfT_eU5q5MQ.png" /></figure><ul><li>Select configure consent screen</li><li>Select external or internal depending on your options</li><li>Give it the app name, email, and developer consent email at the bottom of the page.</li><li>Save and continue the remaining steps, no changes needed.</li><li>Once you are in the main dashboard, go to Credentials</li><li>Click again on Create Credential.</li><li>This time it will ask for you to set the type. Select “Desktop app”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eFw2Q3tuhuqQMoIZHKCbBw.png" /></figure><ul><li>Find your Client ID and Client secret within the credentials created.</li></ul><h3>11. Adding the credential to your project.</h3><p>Adding this credential to your project is quite straightforward. nonetheless, bear to mind that this is not the only way to include credentials.</p><ul><li>Create a file called .env within the main root of your application (where Gemfile resides)</li><li>Inside this new file, place the following</li></ul><pre>HTTPS = true</pre><pre>#GOOGLE<br>GOOGLE_CLIENT_ID=&quot;Client ID&quot;<br>GOOGLE_CLIENT_SECRET=&quot;Client secret&quot;</pre><pre>#FACEBOOK<br>APP_ID=&quot;App id&quot;<br>APP_SECRET=&quot;App secret&quot;</pre><p>Remember that we set at the beginning, within our <strong>config/initializers/device.rb</strong> two lines of code that will grab these secret tokens and use them to properly authenticate and connect to facebooks API.</p><h3><strong>12. [OPTIONAL] Facebook using credentials instead of .env tokens.</strong></h3><p>It might be that Facebook does not accept your tokens residing within the .env file. If such a thing happens and you get a page with unauthorized text or any other error regarding facebook app credentials. You might need to set it up as follows</p><p>Make sure you change the file residing in <strong>config/initializers/device.rb</strong> and replace the config.omniauth :facebook with the following line</p><pre>config.omniauth :facebook, <em>Rails</em>.application.credentials.facebook[:APP_ID], <em>Rails</em>.application.credentials.facebook[:APP_SECRET], token_params: { parse: :json }</pre><p>This way, our credential will read from our encoded credential file living in <strong>config/credentials.yml.enc</strong></p><p>To modify this file, you must do the following in your command line inside the root path of your folder</p><pre>EDITOR=&quot;code --wait&quot; bin/rails credentials:edit</pre><p><strong>Note</strong>: replace “code”(visual studio code) for your editor of preference</p><ul><li>Inside the opened file, please add and save the following</li></ul><pre>facebook:<br>  APP_ID: &lt;facebook_app_id&gt;<br>  APP_SECRET: &lt;facebook_app_secret&gt;</pre><p>That’s all my friends. At this point, you should be able to use Facebook and Google sign_up systems. However, bear to remember that Facebook or Google will allow this feature in a localhost environment. For deployment and deployed apps, you may need to follow and comply with this companies requirements to set your app live.</p><p>Please feel free to comment, suggest or highlight something you think is wrong or think may need to be added</p><p>Thank you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=617a88999d8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Things I Learned Living In A Hostel]]></title>
            <link>https://medium.com/@sergiocortessatizabal/7-things-i-learned-living-in-a-hostel-293fa1638fd7?source=rss-ef3430c98129------2</link>
            <guid isPermaLink="false">https://medium.com/p/293fa1638fd7</guid>
            <category><![CDATA[lifestyle]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Sergio Cortes Satizabal]]></dc:creator>
            <pubDate>Thu, 11 May 2017 16:48:02 GMT</pubDate>
            <atom:updated>2017-05-15T21:59:44.840Z</atom:updated>
            <content:encoded><![CDATA[<p>by Sergio Cortes Satizabal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dBQep31aMcsuMTZlo3z3XA.jpeg" /></figure><p>Oscar Wilde once said:</p><blockquote><em>“Nowadays people know the price of everything and the value of nothing”</em></blockquote><p>Understanding that many of our problems, anxiousness, and worries rely solemnly on the idea of losing something, may give you the relief you need to enjoy and live the proper way.</p><p>The biggest treasure in life lies with the simplicity of joy. I wish I would have known this years back as it would have solved many of my problems. It would have made much of my experiences a lot more enjoyable.</p><p>As humans, we tempt to over magnify many of the situations we come to encounter. For many this is an <em>“Unconscious”</em> reaction in order to prepare themselves for any form of danger that may happen now or in a near future.</p><p>Unconsciousness: is a state in which the brain cannot control the reaction of our primal/Survival instincts<em>. “Unconscious”</em> by other hand: is a state of our mind in which we may think there is no solution and our brain creates an emergency state where the situation is too big to be handled by our own. An excuse to justify a way out.</p><blockquote>I remember as clear as water the first day I arrived at the hostel. It was 3 a.m. A wet, somehow chill temperature -8 degrees-. I found myself without any knowledge of the local language and the willing to survive for one year…</blockquote><blockquote>The first evening was really amazing -stories and anecdotes were told all night. But after some days it started to be clear the huge changes I needed to face. I don’t come from a wealthy family neither ever i had a well paid job. But I always managed to live with luxuries and an above average life. It quickly became clear that things I once had so in the palm of my hand were now behind me.</blockquote><blockquote>A bathroom of your own….? A bed of your own…? A room of your own…? Those were long gone. I understood right away that those things -I took for granted — meant more than any luxury I ever wished</blockquote><p>In this post, you will find a humble but honest list of those life lessons I learned during the time I worked in a Hostel.</p><blockquote><em>“We quickly forget that the beauty of life relies on the whole that surrounds us…” FAINHU</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LeMND2S-gcZqgYv_TlRLcw.jpeg" /></figure><ol><li><strong>Live without attachments</strong> Buying a Cellphone, Computer, TV may bring you joy for a moment. An instant. Real joy, real happiness, lies in finding fullness in that morning cup of coffee you zip from. The water that clean your skin when you shower. The wind that touches your cheeks. A simple conversation with a stranger. I learned to live freely from the oppression of consuming and therefore freely from the struggle of money</li><li><strong>Get to know your mind</strong> The brain can be your best companion or your worst ally. Learning to control your thoughts can bring you tons of benefits. The mind is a muscle and, like all muscles, it can be trained. With it; you can accomplish all you propose in life. We also have to face one of the biggest challenges — in my humble opinion- there is; To understand one’s desires, passions, likes and dislikes. What we are willing to accept and what we will firmly be ready to fight for.</li><li><strong>Clean your body and soul</strong> As a vacuum, humans tempt to absorb all that surround them-Energy, ideas, negativity, toxicity. To Learn the difference between those who support you and those who envy you is fundamental. The earlier you get this, the easily your life will be. Take out the toxins that poisons one’s mind and soul. Simple steps can help you:</li></ol><ul><li>Tell the truth — It will swipe the heavy weight of guilt.</li><li>Be honest about your feelings and desires.</li><li>Stop worrying about other people opinions.</li><li>Stop feeling jealousy -it will only consume you.</li><li>Take out of your life those who bring nothing but harm and poison.</li></ul><p>4. <strong>Listen before talking</strong> It is easy to talk about ourselves; as humans we love to feel recognized. One of the most important and useful abilities — long forgotten in our current society- is showing genuine interest for others.</p><p>When you listen! You calm your mind… And allow yourself to fill with wonderful stories others may share. Or perhaps with their wisdom. Or maybe just with a funny tale. For that period of time, you become their focus. You allow others to feel important, to feel appreciated -and we all humans as a species<strong> crav</strong>e to be appreciated.</p><p>5. <strong>Ask before preaching</strong> When you ask before you preach, you allow to put yourself <strong>-in the shoes of others-</strong>. To see life from their perspective. To share their view and understand their point. Is easy to condemn someone <strong><em>else’s</em> </strong>perspective, but it takes wisdom to see life through their eyes. Benjamin Franklin once said:</p><blockquote><em>“Any fool can criticize, condemn and complain- and most fools do. But it takes character and self-control to be understanding and forgiving”</em></blockquote><p>With this idea in min, many wonderful things will come to occur in your life. You will <em>“understand”</em> and share points of view! You will learn to agree and disagree in a mature way. You will be able to Discuss different Ideas, Religions, Political orientations, Sexual preferences, Desires without hurting or denigrating others beliefs</p><p>6. <strong>Its a long race</strong>!! We all learn sooner or later that life is a long long long race, and at the end is only with ourselves. <strong>Stop worrying about other people accomplishments and success</strong>. Each of us has its own path at its own speed. Relax… It will come</p><blockquote><strong>The Challenge of No Social Media…</strong></blockquote><blockquote>All of us deserve and need a quiet period of time to evaluate life´s route</blockquote><blockquote>I abstained to watch Facebook, Twitter, YouTube or any other social network for 2 weeks. I learned in the process a huge lesson: The load of guiltiness left behind once you stop measuring your life success in terms of others accomplishments.</blockquote><p>7. <strong>The kid inside</strong> Some of you may agree in this point or not. I decided to set it at last as it was the most difficult one to understand -at least for me-. There is a child in all of us, whether you decide to believe it or not.</p><p>Many listen to it while others — <em>Weeelll…</em>. — just ignore him. But, ohhh-boy!!! the wonders you discover once you let the little kid out….. <strong><em>“That is were the magic starts”</em></strong><em>.</em> There is a huge distraction disguise as vane worries that takes you attention out of everyday wonders. <em>It is good to remember the past, but beware not to live in it. It is good to contemplate the future, but beware not to lose yourself on its waters.</em></p><p><em>Live in the present, as it is the only day so far guarantee…. Live it with yesterdays learnings and tomorrows expectations. Let the little child guide you and challenge you. Let him reach the stars….</em></p><blockquote>“Let the little kid drive the way upon… But make sure is the grown man who fastens the seat belt”. FAINHU</blockquote><p>To be honest, this is the first blog entry I decide to publicly post. I guess I was afraid of bad reviews…</p><p><strong>If you like my post and found it useful. Share it and let this idea spread…</strong></p><p>If there is something you will say differently, please share your ideas. If there is any errors on my writing, please point them out, its all a learning process. I will love to hear them.</p><p>If you want to know more about FAINHU, I will be more than glad to share it with you</p><p>Until a next time….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=293fa1638fd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>