Skip to content

Commit

Permalink
change blog
Browse files Browse the repository at this point in the history
  • Loading branch information
scovl committed Sep 22, 2023
1 parent e98e36d commit f81b240
Show file tree
Hide file tree
Showing 15 changed files with 707 additions and 15 deletions.
256 changes: 256 additions & 0 deletions 2023/06/01/freebsd/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,256 @@
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>FreeBSD &middot; Vitor Lobo</title>
<meta name="description" content="FreeBSD for developers">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="generator" content="Hugo 0.111.3">
<meta name="robots" content="index,follow">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="FreeBSD">
<meta property="og:description" content="FreeBSD for developers">
<meta property="og:type" content="article">
<meta property="og:url" content="https://lobocode.github.io/2023/06/01/freebsd/">
<link rel="stylesheet" href="https://lobocode.github.io/dist/site.css">
<link rel="stylesheet" href="https://lobocode.github.io/dist/syntax.css">
<link href="https://fonts.googleapis.com/css?family=Chilanka&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&subset=latin,cyrillic-ext,latin-ext,cyrillic">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Amatic+SC:wght@700&family=Roboto:wght@300;900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Fira+Code" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Coming+Soon&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lora:400,400italic,700,700italic|PT+Sans+Caption:700,400|Source+Sans+Pro:400|Raleway:300" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">



<link rel="shortcut icon" href="https://lobocode.github.io/img/favicon.ico">
</head>
<body>


<div id="wrapper">
<header class="site-header">
<div class="container">
<div class="site-title-wrapper">

<h1 class="neurodev-title">
<a title="neurodev" href="https://lobocode.github.io">$ /home/neurodev_</a>
</h1>

<a class="button-square" href="https://lobocode.github.io/index.xml"><i class="fa fa-rss"></i></a>




<a class="button-square button-social hint--top" data-hint="Github" title="Github" href="https://github.com/lobocode" rel="me" target="_blank">
<i class="fa fa-github-alt"></i>
</a>



<a class="button-square button-social hint--top" data-hint="LinkedIn" title="LinkedIn" href="https://linkedin.com/in/vitor-lobo" rel="me" target="_blank">
<i class="fa fa-linkedin"></i>
</a>



<a class="button-square button-social hint--top" data-hint="Email" title="Email" href="mailto:[email protected]">
<i class="fa fa-envelope"></i>
</a>

</div>

<ul class="site-nav">
<a class="site-nav-item" title="Home" href="/">Home</a>

<li class="site-nav-item">
<a title="About" href="/page/about/">About</a>
</li>

<li class="site-nav-item">
<a title="Contact" href="/page/contact/">Contact</a>
</li>


</ul>
</div>
</header>

<div id="container">


<div class="container">
<article class="post-container" itemscope="" itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">FreeBSD</h1>

<p class="post-description" itemprop="description">FreeBSD for developers</p>

<p class="post-date">
<span>Published <time datetime="2023-06-01" itemprop="datePublished">qui., jun. 1, 2023</time></span>
<span>by</span>
<span itemscope="" itemprop="author" itemtype="https://schema.org/Person">
<span itemprop="name">
<a href="https://google.com/&#43;XXX" itemprop="url" rel="author">Vitor Lobo Ramos</a>
</span>
</span>
</p>

<p class="post-reading post-line">
<span>Estimated reading time: 2 min</span>
</p>

</header>

<div class="post-content clearfix" itemprop="articleBody">


<h1 id="table-of-contents">Table of Contents</h1>
<ul>
<li><strong><a href="#demystifying-freebsd-for-developers">DEMYSTIFYING FREEBSD FOR DEVELOPERS</a></strong></li>
<li><strong><a href="#speaking-your-language">SPEAKING YOUR LANGUAGE</a></strong></li>
<li><strong><a href="#setting-up-your-dev-environment">SETTING UP YOUR DEV ENVIRONMENT</a></strong></li>
<li><strong><a href="#the-ultimate-dev-tools">THE ULTIMATE DEV TOOLS</a></strong></li>
<li><strong><a href="#containers-and-virtualization">CONTAINERS AND VIRTUALIZATION</a></strong></li>
<li><strong><a href="#freebsd-community">FREEBSD COMMUNITY</a></strong></li>
<li><strong><a href="#conclusion">CONCLUSION</a></strong></li>
</ul>
<h2 id="demystifying-freebsd-for-developers">Demystifying FreeBSD for Developers</h2>
<p>Every time someone drops the name FreeBSD, your mind automatically drifts to servers and Network-Attached Storage (NAS). But guess what? That&rsquo;s only one side of the story. FreeBSD is a robust OS, capable of meeting the needs of everyone - from system admins to, yes, software developers. Time to shatter those myths and see why FreeBSD could be your next dev playground!</p>
<h2 id="speaking-your-language">Speaking your language</h2>
<p>Alright, first things first: Can FreeBSD undestand and work with yourt favorite programming language? The answer is a big YES!</p>
<ul>
<li>Mainstream Web dev? No worries! Node.js, PHP, Python&hellip; - they&rsquo;re got you.</li>
<li>Low-level programming? C, C++, Rust, Go, Java, you name it!</li>
<li>Old-school charm? clang, gcc, Java thought OpenJDK, or even C# through Mono, all available.</li>
</ul>
<p>And here&rsquo;s the sweet: the native FreeBSD package manager <code>pkg</code>, often lets you install the needed compiler. Like, want pygame for Python? Just punch in:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">pkg install py<span class="o">{</span>27,36<span class="o">}</span>-game
</span></span></code></pre></div><p>Or, if you prefer, you can use it like this:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">pkg ins -y py<span class="o">{</span>27,36<span class="o">}</span>-game
</span></span></code></pre></div><h2 id="setting-up-your-dev-environment">Setting up your dev environment</h2>
<p>Nope, Unix isn&rsquo;t just about vim and emacs (althought they&rsquo;re awesome and totally available). FreeBSD has got your back with modern IDEs. Try it:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">pkg search editors/
</span></span></code></pre></div><p>And boom! It&rsquo;s yours.</p>
<p>Worried your IDE doesn’t jive with FreeBSD? The Linuxulator, a Linux compatibility layer in FreeBSD, might help. Version control? All your faves are here. FreeBSD is deeply committed to the security of its applications. When installing packages, FreeBSD provides a clear summary of the actions that will be taken, ensuring you&rsquo;re always informed. Additionally, the OS often releases security advisories pertaining to software packages. Always ensure you&rsquo;re using the latest and most secure versions by regularly updating your package repository and software.</p>
<h2 id="the-ultimate-dev-tools">The Ultimate Dev Tools</h2>
<p>FreeBSD has a lot of tools to make your life easier. Here are some of my favorites:</p>
<ul>
<li><code>DTrace</code> - If you haven&rsquo;t used it, you&rsquo;re missing out. This dynamic tracing framework lets you visualize and analyze your software in real-time. Imagine identifying bottlenecks in your PostgreSQL database or seeing the most frequent code paths with flame graphs (Shoutout to Brendan Gregg’s scripts!). And all of this without stopping or recompiling your software. Below how to use:</li>
</ul>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">dtrace -n <span class="s1">&#39;syscall:::entry { @[execname] = count(); }&#39;</span>
</span></span></code></pre></div><ul>
<li><code>procstat</code> - Amazing for process info.</li>
<li><code>ktrace/kdump</code> - Like strace, but better.</li>
<li><code>pmccontrol and pmcstat</code> - For performance analysis.</li>
</ul>
<h2 id="containers-and-virtualization">Containers and Virtualization</h2>
<h2 id="freebsd-community">FreeBSD Community</h2>
<h2 id="conclusion">Conclusion</h2>

</div>

<footer class="post-footer clearfix">

<p class="post-tags">
<span>Tagged:</span>


<a href="/tags/freebsd/">freebsd</a>

</p>


<div class="share">

<a class="icon-twitter" href="https://twitter.com/share?text=FreeBSD&url=https%3a%2f%2flobocode.github.io%2f2023%2f06%2f01%2ffreebsd%2f"
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<i class="fa fa-twitter"></i>
<span class="hidden">Twitter</span>
</a>



<a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u=https%3a%2f%2flobocode.github.io%2f2023%2f06%2f01%2ffreebsd%2f"
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<i class="fa fa-facebook"></i>
<span class="hidden">Facebook</span>
</a>



<a class="icon-google-plus" href="https://plus.google.com/share?url=https%3a%2f%2flobocode.github.io%2f2023%2f06%2f01%2ffreebsd%2f"
onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
<i class="fa fa-google-plus"></i>
<span class="hidden">Google+</span>
</a>


<a class="icon-linkedin" href="https://www.linkedin.com/shareArticle?mini=true&title=FreeBSD&url=https%3a%2f%2flobocode.github.io%2f2023%2f06%2f01%2ffreebsd%2f&summary=FreeBSD%20for%20developers"
onclick="window.open(this.href, 'linkedin-share', 'width=554,height=481');return false;">
<i class="fa fa-linkedin"></i>
<span class="hidden">LinkedIn</span>
</a>

</div>
</footer>


<div class="comments">
<div id="disqus_thread"></div>
<script type="application/javascript">
window.disqus_config = function () {



};
(function() {
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
return;
}
var d = document, s = d.createElement('script'); s.async = true;
s.src = '//' + "lobocode-github-io" + '.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>

</article>
</div>

</div>
</div>

<footer class="footer">
<div class="container">
<div class="site-title-wrapper">
<h1 class="site-title">
<a title="neurodev" href="https://lobocode.github.io">neurodev</a>
</h1>
<a class="button-square button-jump-top js-jump-top" href="#">
<i class="fa fa-angle-up"></i>
</a>
</div>

<p class="footer-copyright">
<span>&copy; 2023 / Powered by <a href="https://gohugo.io/">Hugo</a></span>
</p>
<p class="footer-copyright">
</p>
</div>
</footer>

<script src="https://lobocode.github.iojs/jquery-1.11.3.min.js"></script>
<script src="https://lobocode.github.iojs/jquery.fitvids.js"></script>
<script src="https://lobocode.github.iojs/scripts.js"></script>
</body>
</html>

2 changes: 2 additions & 0 deletions 2023/09/09/learn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ <h2 id="motivation">Motivation</h2>
<li>Choose the challenge and the project you&rsquo;ll work on.</li>
<li>Select a roadmap to guide you in the challenge.</li>
</ol>
<h3 id="organize-your-brain">Organize your brain</h3>
<p>Another good tip, or strategy to keep focus is to read any literary book that is not a technical book. This will help you to relax and keep your mind fresh. I recommend reading a book for 30 minutes before going to sleep. This will help you to sleep better and to keep your mind fresh.</p>
<h2 id="roadmaps">Roadmaps</h2>
<p>There is a website called <strong><a href="https://roadmap.sh/">roadmap.sh</a></strong> that has a lot of roadmaps for different areas of technology. I recommend that you choose a roadmap and follow it. If you don&rsquo;t like the roadmap, you can create your own. If the content provided on the roadmap isn&rsquo;t sufficient, you can use platforms like Youtube to search for topics related to what you want to learn.</p>
<p>Roadmaps are a great way to guide your learning. They are also a great way to track your progress. If you don&rsquo;t like the roadmap, you can create your own. If the content provided on the roadmap isn&rsquo;t sufficient, you can use platforms like Youtube to search for topics related to what you want to learn.</p>
Expand Down
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ <h1 class="post-title" itemprop="name"></h1>
<h4 class="post-stub-title" itemprop="name">Learning anything</h4>
<time class="post-stub-date" datetime="2023-09-09">Published sáb., set. 9, 2023</time>

</a>
</li>

<li class="post-stub" itemprop="blogPost" itemscope="" itemtype="https://schema.org/BlogPosting">
<a href="https://lobocode.github.io/2023/06/01/freebsd/" itemprop="url" title="Go to post detail">
<h4 class="post-stub-title" itemprop="name">FreeBSD</h4>
<time class="post-stub-date" datetime="2023-06-01">Published qui., jun. 1, 2023</time>

</a>
</li>

Expand Down
18 changes: 18 additions & 0 deletions index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
After 4 blocks of 25 minutes, you take a longer 15-minute break. The name Pomodoro comes from the fact that the creator of the technique used a tomato-shaped timer (Pomodoro in Italian).</description>
</item>

<item>
<title>FreeBSD</title>
<link>https://lobocode.github.io/2023/06/01/freebsd/</link>
<pubDate>Thu, 01 Jun 2023 17:31:45 -0300</pubDate>

<guid>https://lobocode.github.io/2023/06/01/freebsd/</guid>
<description>Table of Contents DEMYSTIFYING FREEBSD FOR DEVELOPERS SPEAKING YOUR LANGUAGE SETTING UP YOUR DEV ENVIRONMENT THE ULTIMATE DEV TOOLS CONTAINERS AND VIRTUALIZATION FREEBSD COMMUNITY CONCLUSION Demystifying FreeBSD for Developers Every time someone drops the name FreeBSD, your mind automatically drifts to servers and Network-Attached Storage (NAS). But guess what? That&amp;rsquo;s only one side of the story. FreeBSD is a robust OS, capable of meeting the needs of everyone - from system admins to, yes, software developers.</description>
</item>

<item>
<title>Prometheus</title>
<link>https://lobocode.github.io/2023/03/21/prometheus/</link>
Expand Down Expand Up @@ -73,5 +82,14 @@ CAPÍTULO 1 - O CONCEITO Breve introdução Plataforma em contêineres Casos de
<description> E-mail: [email protected] Linkedin: https://linkedin.com/in/vitor-lobo/ Mastodon: https://hachyderm.io/@lobocode </description>
</item>

<item>
<title>About</title>
<link>https://lobocode.github.io/page/about.en/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

<guid>https://lobocode.github.io/page/about.en/</guid>
<description>Hello, welcome to my blog. I&amp;rsquo;m a Software Engineer, writer, gamer and independent researcher. I have been working professionally with technology for about 10 years. Outside of work I like literature, art, cinema, music, comics, manga, anime, a good beach, riding a bike and enjoying my free time with my partner and taking care of our cats. I am also involved in free/open source software initiatives such as Taverna dos Javeiros,Marmota Project, Project Atomic, Fedora Project.</description>
</item>

</channel>
</rss>
Loading

0 comments on commit f81b240

Please sign in to comment.