Adding a (hidden) folder to your Linux $PATH

Create a hidden .bin folder somewhere you like. I did it on my home folder:

mkdir ~/.bin

You can add this folder to your $PATH by adding to .bashrc:

## Path
export PATH=$PATH:/home/dth/.bin

Now let’s test by adding a bash script I wrote called qdb (creates SQL DB, user and pwd)

cd ~/.bin && wget https://raw.githubusercontent.com/xdth/qdb/master/qdb

Read more “Adding a (hidden) folder to your Linux $PATH”

Calculator written in C for the 555 timer IC

+5 ---+---------------+---+
      |               |   |
      R            +----------+
      |            |  8   4   |
  +---+------+-----|7        3|------/\/\/\---+------- Vout
  :          |     |  LMC555  |               |
  C to test  +-----|6         |             -----
  :                |          |             -----
ground       +-----|2        5|----+          |
             |     |    1     |    |        ground
             |     +----------+  0.1 uF
             |          |          |
   Clock ----+        ground     ground
     ^

I needed a quick calculator for the 555 chip and decided to write one in C. Enjoy.
Read more “Calculator written in C for the 555 timer IC”