<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>lhoffman weblog</title>
    <link>https://lhdv.net/</link>
    <description>Recent content on lhoffman weblog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Fri, 11 May 2018 07:28:40 -0300</lastBuildDate>
    
	<atom:link href="https://lhdv.net/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Enable Virtualbox Guest Additions on Debian</title>
      <link>https://lhdv.net/blog/enable-virtualbox-guest-additions-on-debian/</link>
      <pubDate>Fri, 11 May 2018 07:28:40 -0300</pubDate>
      
      <guid>https://lhdv.net/blog/enable-virtualbox-guest-additions-on-debian/</guid>
      <description>Steps that I followed to install VirtualBox Guest Additions on latest Debian
 $ sudo apt install build-essential module-assistant dkms $ sudo reboot Insert VirtualBoxGestAdditions.iso $ cd /media/cdrom0 $ sudo sh VBoxLinuxAdditions.sh $ sudo reboot $ sudo usermod -a -G vboxsf &amp;lt;your-user&amp;gt;  If you follow these steps and enable automatic mounting on shared folders option every reboot you&amp;rsquo;ll have your folders mounted and accessible.
If you update your VirtualBox to a newer version just repeat the steps 3 to 6.</description>
    </item>
    
    <item>
      <title>Blocking Facebook With Pihole</title>
      <link>https://lhdv.net/blog/blocking-facebook-with-pihole/</link>
      <pubDate>Fri, 13 Apr 2018 09:53:28 -0300</pubDate>
      
      <guid>https://lhdv.net/blog/blocking-facebook-with-pihole/</guid>
      <description>Due the recent facebook happenings and none of my family have an account there anymore(or at least we think so) I decided to block the access to its addresses. Why?
 I don&amp;rsquo;t believe that they won&amp;rsquo;t track me anymore even though I do not having an account anymore. (I used to have, twice, don&amp;rsquo;t judge Morty :-P)
 I do understand that when some service is free, &amp;ldquo;ourselves are the payment&amp;rdquo;, but I do believe that I&amp;rsquo;m have the freedom and the power to choose what I&amp;rsquo;m sharing, on the scene and behind it.</description>
    </item>
    
    <item>
      <title>Updating Pi-Hole</title>
      <link>https://lhdv.net/blog/updating-pi-hole/</link>
      <pubDate>Tue, 06 Mar 2018 08:46:02 -0300</pubDate>
      
      <guid>https://lhdv.net/blog/updating-pi-hole/</guid>
      <description>At home I&amp;rsquo;ve setup pihole to get rid of annoying ads and block some malware addresses. Its&amp;rsquo; a great tool very well crafted.
Last week I saw that they released an update and after run the regular update command:
$ pihole -up  Almost every subsystem was updated, except pihole core.
I was running pihole core version 3.2.1, the new one is 3.3.
Looking at support page I found a know bug when updating from exactly this version.</description>
    </item>
    
    <item>
      <title>Send Json to Go Http Handler func</title>
      <link>https://lhdv.net/blog/send-json-to-go-http-handler-func/</link>
      <pubDate>Thu, 01 Mar 2018 18:05:16 -0300</pubDate>
      
      <guid>https://lhdv.net/blog/send-json-to-go-http-handler-func/</guid>
      <description>I&amp;rsquo;m building a webapp(to pratice my go skills) which will receive and send json.
On the frontend when I was building a json string by hand and using JSON.parse to send it to Go I&amp;rsquo;ve just got errors on decoding json.
What I&amp;rsquo;ve found?
Create a new object then use JSON.stringfy():
var requestObj = {}; requestObj.Foo = &amp;quot;space&amp;quot;; requestObj.Bar = &amp;quot;Z&amp;quot;; var requestJson = JSON.stringfy(requestObj);  Your Go handler func will appreciate.</description>
    </item>
    
    <item>
      <title>One hour of joy (with go)</title>
      <link>https://lhdv.net/blog/one-hour-of-joy-with-go/</link>
      <pubDate>Wed, 07 Feb 2018 15:00:00 +0000</pubDate>
      
      <guid>https://lhdv.net/blog/one-hour-of-joy-with-go/</guid>
      <description>I&amp;rsquo;ve always been a big fan of simplicity and objectiveness of C language. It doesn&amp;rsquo;t take too long to get know the basics of the language and be ready to take-off and start build some powerfull.
That being said, here comes Go, to me it has the same pro points that C has plus a good std library where you can always find a good start point to solve a problem.</description>
    </item>
    
    <item>
      <title>Consider looking at table triggers</title>
      <link>https://lhdv.net/blog/consider-looking-at-table-triggers/</link>
      <pubDate>Fri, 02 Feb 2018 00:00:00 +0000</pubDate>
      
      <guid>https://lhdv.net/blog/consider-looking-at-table-triggers/</guid>
      <description>Since yestarday struggling to find the code from where an email was sent.
 Is it from application code? Is it from function called by the application? Is it from an obscure report submited from an obscure?  After an extensive code analysis and reading log files. A thought came to my mind:
&amp;ldquo;It couldn&amp;rdquo;t be in a table trigger, please, no&amp;rdquo;
Well, and there it was&amp;hellip; and I&amp;rsquo;m still asking myself why?</description>
    </item>
    
    <item>
      <title>About me</title>
      <link>https://lhdv.net/about/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://lhdv.net/about/</guid>
      <description>I&amp;rsquo;m lhoffman from São Paulo and I code for living(as an independent programmer) and also as a hobby.
I develop applications using the following techonologies:
 Go Ruby Ruby on Rails Postgresql JavaScript(learning everything again) PL/SQL C Java(only when it&amp;rsquo;s really necessary) JDEdwards Enterprise Tools (all the toolset environment)  You can find some code I&amp;rsquo;ve been written on git(hub|lab).</description>
    </item>
    
    <item>
      <title>Visual Studio Tips</title>
      <link>https://lhdv.net/tips/visual-studio-tips/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://lhdv.net/tips/visual-studio-tips/</guid>
      <description> Goto definition: F12 / Go back where you came from: Ctrl + -(minus sign) Find and open files in Solution: Ctrl + ,(comma) Select Multiple Lines(or Square Selection): Shift + Alt + Arrows to select  </description>
    </item>
    
  </channel>
</rss>