rats – source code analysis

2018-09-17 1 min read Fedora

I stublemed across this recently so thought of sharing this for you 🙂

sudo yum install rats

And some details about rats

RATS(Rough Auditing Tool for Security) scans through code, finding potentially

dangerous function calls. The goal of this tool is not to definitively find bugs (yet). The current goal is to provide a reasonable starting point for performing manual security audits. The initial vulnerability database is taken directly from things that could be easily found when starting with the forthcoming book, “Building Secure Software” by Viega and McGraw.

Continue reading

systemctl enable and start service

2018-09-10 1 min read Fedora

Most of the times when I want to enable the service, I find myself enabling it immediately or it is vice versa. So, the commands I used to use were:

systemctl enable sshd.service
systemctl start sshd.service

But recently I learned that I do not need the 2 commands and this can be done in single command like below

  <td>
    <div class="text codecolorer">
      &nbsp;
    </div>
  </td>
</tr>
1
systemctl enable --now sshd.service

ssh – host hopping (with Jump host)

2018-08-20 1 min read Linux

Most of the times I need to jump hosts with ssh. What do I mean by that. Let me try to explain :

Host Hopping

If I need to got to host h3 then I need to first login to h1 and from there to host h2 and finally to host h3. This can be done with .ssh/config file but for that I need to have some program like nc installed on all the hosts in between which might not be practical in all cases. So, here is something that I found very useful.

Continue reading

recoll – Desktop search tool

2018-07-02 1 min read Fedora
Name         : recoll
Version      : 1.23.7
Release      : 2.fc28
Arch         : x86_64
Size         : 2.1 M
Source       : recoll-1.23.7-2.fc28.src.rpm
Repo         : fedora
Summary      : Desktop full text search tool with Qt GUI
URL          : http://www.lesbonscomptes.com/recoll/
License      : GPLv2+
Description  : Recoll is a personal full text search package for Linux, FreeBSD and
             : other Unix systems. It is based on a very strong back end (Xapian), for
             : which it provides an easy to use, feature-rich, easy administration
             : interface.

Styled-Components: CSS-in-JS Library for the Modern Web

2018-06-25 11 min read Uncategorized

This post was written by Jeremy Davis, JavaScript Developer for Toptal.

 

CSS was designed for documents, what the “old web” was expected to contain. The emergence of preprocessors like Sass or Less shows that the community needs more than what CSS offers. With web apps getting more and more complex over time, CSS’ limitations have become increasingly visible and difficult to mitigate.

Styled-components leverages the power of a complete programming language—JavaScript—and its scoping capabilities to help structure the code into components. This helps to avoid the common pitfalls of writing and maintaining CSS for large projects. A developer can describe a component’s style with no risk of side effects.

Continue reading
Older posts Newer posts