-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
707 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 · 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/+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’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… - they’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’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’t just about vim and emacs (althought they’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’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’re always informed. Additionally, the OS often releases security advisories pertaining to software packages. Always ensure you’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’t used it, you’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">'syscall:::entry { @[execname] = count(); }'</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>© 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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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&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> | ||
|
@@ -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&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> |
Oops, something went wrong.