<?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 Mauricio Giordano on Medium]]></title>
        <description><![CDATA[Stories by Mauricio Giordano on Medium]]></description>
        <link>https://medium.com/@mauriciogior?source=rss-447403e63aa4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*dsg37Sx3keWL_qlyAdyZNw.png</url>
            <title>Stories by Mauricio Giordano on Medium</title>
            <link>https://medium.com/@mauriciogior?source=rss-447403e63aa4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 09:17:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mauriciogior/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[Git underground features]]></title>
            <link>https://medium.com/@mauriciogior/git-underground-features-1f7e981f2639?source=rss-447403e63aa4------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f7e981f2639</guid>
            <category><![CDATA[gist]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[shell]]></category>
            <dc:creator><![CDATA[Mauricio Giordano]]></dc:creator>
            <pubDate>Thu, 24 Jan 2019 04:18:04 GMT</pubDate>
            <atom:updated>2019-01-24T04:21:25.503Z</atom:updated>
            <content:encoded><![CDATA[<p>I&#39;ve been using git for over 8 years now and I never saw these features until recently. I decided to create this article since most of these features I found out about on random comments of random articles over the web. I believe this is a first time for you as well :D</p><p>Did you know that you can create templates for your git commits?</p><h4>git commit --template=&lt;file&gt;</h4><p>You can use a template file for all your commits, heck, you can even set a configuration variable for this template file using the key <strong>commit.template</strong></p><p>Let&#39;s use this template as example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vo_wOs4muumFqU6cs1PvfA.png" /><figcaption>You can find this template <a href="https://gist.github.com/adeekshith/cd4c95a064977cdc6c50">here</a></figcaption></figure><p>Now you can set this template to be used every time you type git commit, by running git config commit.template /template/path. If you want to allow empty commit messages, you should use git config commit.cleanup strip otherwise it will commit the template as a message (if yours have uncommented lines). PS: you can always use --global to set for all your repositories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H4rNU8SSx9cg-PID0v5ZiA.png" /><figcaption>A commit that uses this template</figcaption></figure><p>Did you know you can use git commit --amend to redo your latest commit?</p><h4>git commit --amend</h4><p>I&#39;ve always used this command to fix a typo in the message of my current hash, until one time I accidentally committed, modified a file by mistake and ran this command. If you take your time to read the documentation, you&#39;ll see that this command is roughly the same as doing git reset --soft HEAD~1, adding your working tree contents to your staging area git add -A . and committing git commit -c ORIG_HEAD. <strong>Beware that you&#39;re rewriting your repo history.</strong></p><p>Did you know you can cherry-pick to your staging area?</p><h4>git cherry-pick -n &lt;HASH&gt;</h4><p>One time I was cherry picking a branch of another dev and I needed to fix a typo in one of his file comments without needing to add another commit to my repo tree. This essentially copy all contents from the given hash to your staging area.</p><p>Did you know you can make git solve conflicts for you if you know what you&#39;re doing?</p><h4>git merge &lt;branch&gt; [-Xours] [-Xtheirs]</h4><p>This is quite useful when your current branch is ahead of the one you&#39;re merging with and you know you modified a specific part of the code that y<strong>ours</strong> or <strong>theirs </strong>is the correct version.</p><p>Did you know you can find out a bug faster using binary search?</p><h4>git bisect [start] [bad] [good &lt;HASH&gt;]</h4><p>I use this occasionally when I realize that a feature is broken after a handful of commits in which includes good work. To help you finding which hash contains your bug, you can use git bisect to do a binary search instead of a linear search done manually.</p><p>You start your search by running git bisect start. Then, you tag your current hash as a bad hash with git bisect bad. Finally, you tag your latest good revision by running git bisect good &lt;HASH&gt;. This will start an interactive bisect and checkout to a commit that git thinks it contains the bug. Now you can build &amp; test it and tag if this commit is <strong>good</strong> or <strong>bad</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DJv4wn5MC1AIjgoydztZJw.png" /><figcaption>Log of my current HEAD. You may find this pretty log <a href="https://gist.github.com/mauriciogior/32117bc06228d57f70589fa9064a3746">here</a></figcaption></figure><p>Here we have a full git bisect run and successfully finding us our bad commit (it only took two builds to find it, contrasting with the five ones we would&#39;ve done manually):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*magJBm-pDxvtKzhE3FaLBw.png" /><figcaption>Full bisect done on our branch</figcaption></figure><p>Did you know you can find out when a specific function or class was introduced?</p><h4>git log -Gword --reverse</h4><p>This command is helpful when you want to know when a new function, class, variable or whatever was introduced in your code. When you find out the first hash that contains this word, you can checkout this hash and do your work. If you don&#39;t use the --reverse flag, it will show all changes dated by the most current one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_QsJRm8KhuIec_h_wRsAOA.png" /><figcaption>git log search for &quot;BAD&quot;</figcaption></figure><h3>Tips &amp; Tricks</h3><p>This is a beautiful way to visualise your git log:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OH8Ih_UcC-zwIzrkbLHokw.png" /><figcaption><a href="https://gist.github.com/mauriciogior/32117bc06228d57f70589fa9064a3746">gist</a></figcaption></figure><p>These are quick shell scripts to your pull &amp; push operations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*NGm2Rk0jyS246uBEyWPJYg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*hSLNhopugxU7kyshzQEK5w.png" /><figcaption><a href="https://gist.github.com/mauriciogior/d24580d2bbaf09b4e6e92e40444692aa">gist</a></figcaption></figure><p>This is a quick way to get rid of a branch locally and on your remote:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K9MufhdN2Nw649Yf_lJGJg.png" /><figcaption><a href="https://gist.github.com/mauriciogior/55b86fe5feda3bf0170ace65b65c8610">gist</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f7e981f2639" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Consistent Enterprise Ticketing Platform]]></title>
            <link>https://medium.com/ineventapp/consistent-enterprise-ticketing-platform-58a797a6375e?source=rss-447403e63aa4------2</link>
            <guid isPermaLink="false">https://medium.com/p/58a797a6375e</guid>
            <category><![CDATA[events]]></category>
            <category><![CDATA[inevent]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[payments]]></category>
            <dc:creator><![CDATA[Mauricio Giordano]]></dc:creator>
            <pubDate>Wed, 28 Mar 2018 01:29:09 GMT</pubDate>
            <atom:updated>2018-03-28T19:34:06.945Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CLE-HVTohsgl99cCK27Ksg.png" /></figure><p>The enterprise events market is begging a long time for a complete and customisable ticketing platform that fits its needs. Most of the players do not provide an end-to-end solution that fits from basic end-customer purchases to multiple purchases conducted by large enterprises.</p><p>The usual platforms you find in the market all satisfies B2C businesses, but never meets the need for a white-label platform with the entire registration flow with financial statistics across several events. They are always difficult to integrate (iframe is the most common way) and simulate an &#39;enterprise&#39; environment.</p><p>We rejected the idea of building our own ticketing platform for several years, but recently we noticed that our platform — perfectly designed for enterprise businesses — could bring a disruptive way of implementing a ticketing platform. Well, we already have the entire backbone that meets all of our customer needs, so if we realised that if we built a ticketing platform using our entire backbone, with our open APIs for any kind of integration, we would reach a top-level experience for our targeted customers.</p><p>To reach our goals, we had firstly to tackle the most common issues any tech company has on starting their own ticketing platform:</p><ul><li>A reliable payment gateway (to build our own in the future);</li><li>Tax issues;</li><li>Global availability;</li><li>Tight security;</li></ul><p>In our case, we had to tackle those problems even further: we have several payment gateways available for any kind of customer. So, if any of them already have a special offer from a specific payment gateway, they will be perfectly covered with our platform.</p><p>The best way to build a consistent software that always meets your customer needs, you must have a solid foundation, a backbone that allows your customer to build the perfect flow for their business. You need a connected environment that&#39;s able to suppress the necessity of third-party softwares for steps of your flow. As Alan Kay once said &quot;People who are really serious about software should make their own hardware&quot;, we now say &quot;Companies that are really serious about their product should build a solid environment around it&quot;.</p><p><strong>About InEvent:</strong> InEvent solutions have already helped companies around the world at thousands of corporate events and conventions. <a href="http://inevent.us/">Click here</a> to access our website and learn more.</p><p>:)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58a797a6375e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ineventapp/consistent-enterprise-ticketing-platform-58a797a6375e">Consistent Enterprise Ticketing Platform</a> was originally published in <a href="https://medium.com/ineventapp">InEvent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Germany, the football country]]></title>
            <link>https://medium.com/@mauriciogior/germany-the-football-country-ec97af84c65c?source=rss-447403e63aa4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec97af84c65c</guid>
            <dc:creator><![CDATA[Mauricio Giordano]]></dc:creator>
            <pubDate>Wed, 09 Jul 2014 16:31:16 GMT</pubDate>
            <atom:updated>2014-07-10T04:06:27.175Z</atom:updated>
            <content:encoded><![CDATA[<h4>They took the country’s football from mud and turned it into the most organized and powerful of the world</h4><p>At the beginning of 21st century, the giant Oliver Bierhoff was the greatest symbol of the apathetic german football. Experient, corpulent, with long shins, bad technic and almost without any movimentation, the striker abused of his 1.91 m to score the only way he knew: on the air, between the defenders, firmly nodding to the net. This movement was repeated until exhaustion. Match by match.</p><p>At 2000’s Eurocup, in Belgium, Germans felt the limitation in their football cleat. Allocated on a group of great teams — England, Portugal and Romania — they fell at first level, scoring a single point and goal. Shame for a three-time world champion shirt, that already dressed Franz Beckenbauer, Karl Rummenigge and Paul Breitner.</p><blockquote>“We were thinking exactly like Brazilians think today: <strong>we don</strong>’<strong>t need to learn a damn thing.</strong> Match after match, a disgrace” — Paul Breitner</blockquote><p>The disqualification in 2000 woke up the Germans. Authorities made national team performance a state issue. The government traced an ambitious plan: <strong>in one decade, Germany would be a world football reference.</strong></p><p>The mission, said the governors, was to bring back the enchantment of football towards the population. The country placed its hand on the pocket. In a little more than twelve years, they invested about US$ 1 billion in academies and training centers (TC) for young. The idea was to use these public TCs to teach football with a two measures recipe: 50% ability, 50% strength — in contrast with 200% strength they were using at the time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*0yqEcUcV1lmPedYkmrfqBg.jpeg" /><figcaption>German Football Association logo</figcaption></figure><p><strong>DFB</strong> (German Football Association) take care of everything, it’s their <strong>CBF</strong> (Brazilian Football Confederation). Connected to the government, the German association owns 366 football training centers. Since 2001, kids from 9 to 17 years develop their talents in academies near their houses, without any link to a professional team. About 1,000 coaches train more than 25,000 young. DFB is everything that CBF isn’t. The Brazilian Football Confederation is a private entity, and don’t provide any plan to develop players besides the base national team (sub-15, 17 and 20), that only picks young talents from professional teams. Also, there’s the corruption — the scandals have been mounted up for decades.</p><p>Meanwhile, in Germany, DFB reformed the Bundesliga — their national championship. Their first step was to impose a rigorous financial politic. Their teams now have to send, three times per year, certificates of their positive budgets. Analysing one by one, the cases should strictly follow a 200 pages book that specifies all finance rules.</p><p>If approved, they can play the league. If not, W.O.: they loose points and, if the administrative “infraction” is too severe, they don’t even enter in field. In that manner, none extravagance, like hiring a Neymar, could be accomplished without any guarantees that the team could pay for. This kind of control was capable to almost extinguish the teams debts. From 30 teams of Bundesliga, only two has debts. Expenses such as salaries are below 50% of teams budget; in another countries, this value goes beyond 70%. In Brazil, the debt of the 20 greatest teams is U$1.8 billion. In England, is U$ 5 billion.</p><p>With this pack, the German mission was clear: develop new talents and feed their football inside a sustainable championship. Today, 13 years after, their results are solid. Bayern and Borussia Dortmund, two of the greatest German teams, were finalists at Champions League, the principal interclub championship of the world. Like a good farming, proliferated new aces. Mario Götze (20), André Schürrle (22), Marco Reus (23) and Thomas Müller (23), are few names that make Bierhoff and his old fellows look like practitioners of another sport. To complete, the German league has the biggest crowd of the world, average of 45,000 spectators (40% women). The Borussia Dortmund’s crowd have average of 80,000 per match! It’s like a Libertadores (the principal interclub championship of America) final inside Maracanã stadium each sunday — An inedit thing in football history. The Brazilian championship (Brasileirão) has an average crowd of 15,000. The second division of German championship has an average of 17,000.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fgx7-zUe7ZTflI6AfWNqww.jpeg" /><figcaption>Joachim Loew coaching the Germany team before the 2014 World Cup quarterfinal</figcaption></figure><p>The fact is that none country treats football so seriously like Germany. And it’s not to just try winning trophies. When they proposed a revolution on football, their justificative was the following:</p><blockquote>“Only the ball could be capable to unite the nation”</blockquote><p>It makes more sense than it looks. Germany is the third country with most immigrants around the world (behind USA and Russia). More than 20% of 82 million Germans are immigrants or children of immigrants. In a country that not much time ago was necessary to be “arian” to be recognized as a citizen, this could become a cauldron of intolerance. Football helps to maintain this in low heat, precisely because nothing in Germany embraced more immigrants than football.</p><p>Bayern München, for example, is an ethnic rainbow. In the most traditional German tean, they have black, white, conky, hairless, black power people. If we dress them with Bangu (a Brazilian team of Rio de Janeiro) shirt, it looks like they are <em>cariocas </em>(people born in Rio de Janeiro).</p><blockquote>A combination that makes Hitler roll in his grave — and, together with all initiatives that we saw here, to make Germany a four-times champion inside Brazil, the country of football corruption</blockquote><p>Adapted from: <a href="http://super.abril.com.br/esporte/alemanha-pais-futebol-752840.shtml">http://super.abril.com.br/esporte/alemanha-pais-futebol-752840.shtml</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec97af84c65c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>