BartB
Menu Close
  • Strona główna
  • Sample Page

Author: bartb

Get number of files, directories and links in linux

Posted on 5 lutego, 2015 by bartb

Here is a simple way to find out how many files, directories and links are in current directory:

Linux

Colors in git diff

Posted on 6 listopada, 2014 by bartb

When I use git a diff function is really useful but by default it displays VT100 commands instead text coloring. This is solution how to enable colors in git diff. Solution: add this line to your ~/.cshrc.user and source that… Continue Reading →

GIT, Linux

Remove multiple spaces in Erlang

Posted on 5 listopada, 2014 by bartb

I recently I ran into a problem in Erlang project and I had to find a way to Remove multiple spaces in string and leave only one one space. Solution: Here is solution how to remove it with simple re:replace… Continue Reading →

Erlang Elang

sed in-place – find and replace string in all files

Posted on 9 października, 2014 by bartb

Sed is a really powerful and useful linux program when you want to replace certain string in a file. But it gets harder when you wan replase srting in all available files in directory . Here is the solution with… Continue Reading →

Linux, Uncategorized

Saleae clone drivers for Windws 8.1 64bit

Posted on 6 października, 2014 by bartb

About 1,5 year ago I bought a Saleae clone for about 12$. Saleae clone is a small logic analyser built with 8051 microcontroller (CY7C6813A-68VPXC) with USB on board, that uses an original Saleae Logic software. As I remember I had… Continue Reading →

Uncategorized

Fake PL2303 – how to install on Windows 8.1

Posted on 1 października, 2014 by bartb

I recently bougth two USB-to-UART converters with Prolific PL2303 chip inside. I found them on Aliexpress in a really good price (0.89$ each). After waiting 3 weeks, they finally arrived.

Hardware pl2303, uart, usb-to-serial

Create and extract tar.gz files on any Linux

Posted on 1 października, 2014 by bartb

I allways forget how to extract a *.tar.gz file from command line on Linux, so I have to write it down. Example of extract tar file: Where: –x extract –v verbose output (prints all extracted files) –f specify input filename… Continue Reading →

Linux command, linux, tar

„No source file named” – GDB error in Eclipse Luna

Posted on 10 września, 2014 by bartb

Recently I came across a quite difficult problem during setting up a debug configuration for my STM32 ARM development environment in Eclipse. When I was running a I always got „file not found” error in GDB console. GDB error:

ARM, Eclipse, STM32

Giving general verdict (true or false) from function execution on a list

Posted on 30 maja, 2014 by bartb

General: Return true if all function returns are true. If there is at least one false returns false. Similar to And function but gives the opportunity to execute an additional function Returns true when: Returns false when: Erlang code: Where: returns… Continue Reading →

Erlang

How to get rid of index.php from URL in Codeigniter

Posted on 1 maja, 2014 by bartb

It is very annoying when you try to develop a new application in Codeigniter, but your environment is misconfigured. It often happens when I install a new instance of WAMP Server and it have a default configuration. A very common… Continue Reading →

Codeigniter apache, codeigniter, wamp

Post navigation

Newer Articles

Ostatnie wpisy

  • Open Media Vault solevd issues
  • TL431 design tips
  • Linux utility tools
  • Docker on RPi
  • Raspberry pi mount NFS share

Najnowsze komentarze

  • 5 Ways to Access the Raspberry Pi Command Line - SSH configuration in Raspberry Pi

Archiwa

  • luty 2022
  • wrzesień 2021
  • lipiec 2021
  • kwiecień 2021
  • marzec 2021
  • styczeń 2021
  • marzec 2019
  • styczeń 2018
  • grudzień 2017
  • październik 2017
  • sierpień 2017
  • czerwiec 2017
  • listopad 2016
  • październik 2016
  • luty 2015
  • listopad 2014
  • październik 2014
  • wrzesień 2014
  • maj 2014

Kategorie

  • ARM
  • Codeigniter
  • Eclipse
  • Erlang
  • GIT
  • hardware
  • Hardware
  • Linux
  • Raspberry Pi 3B
  • STM32
  • Uncategorized

Meta

  • Zaloguj się
  • Kanał wpisów
  • Kanał komentarzy
  • WordPress.org
© 2026 BartB. All rights reserved.
Hiero by aThemes