Gábor Hargitai's Toolbox

… for when you just can't seem to remember that damn command

  • Articles
  • Colibri
  • Sleep Warden

Author - Gábor Hargitai

  • OS X

Enable built-in FTP server in Mac OS X Yosemite / El Capitan / Sierra

2015-10-19
by Gábor Hargitai
1 min read

Open up a Terminal and paste in the following commands to enable or disable the built-in FTP server. To turn on the FTP server, paste this into the command prompt: sudo -s launchctl load -w...

Continue reading

  • Debian
  • OS X
  • Ubuntu

Convert Videos to iPod / iPad / iPhone with FFmpeg under Ubuntu or Mac OS X

2015-10-12
by Gábor Hargitai
2 min read

We’ll pretend you have ffmpeg up and running, with the necessary build options – for more info on that, refer to the FFmpeg Compilation Guide. To convert to an iPod nano with a max screen size of 320×180, issue...

Continue reading

  • OS X

Converting/Encoding x265 under Mac OS X with FFmpeg

2015-09-26
by Gábor Hargitai
1 min read

Suppose that we have our brew up and running and we’d like to do some video conversion, namely something to x265. To do this, first it is advisable to install ffmpeg using brew by issuing the following command: brew install...

Continue reading

  • Debian
  • Linux
  • Ubuntu

Grep whole directory recursively by file extension only

2015-08-27
by Gábor Hargitai
1 min read

Using grep to scan thru a whole directory recursively is done with: grep -R 'string' dir/ In addition, you can also tell grep to only scan files that have a certain extension (or pattern, for that matter): grep -R 'string'...

Continue reading

  • Debian
  • Linux
  • Ubuntu

Crontab / User cron file location in Ubuntu

2015-08-27
by Gábor Hargitai
1 min read

Usually you shouldn’t edit these by hand, but given the off-chance you’d want to, cd yourself all the way to: /var/spool/cron/crontabs If per chance you’d play it by the book, editing would be done by issuing...

Continue reading

  • OS X

See Mac OS X FileVault 2 Encryption Progress in Terminal / CLI

2015-08-27
by Gábor Hargitai
1 min read

Pop open your Terminal.app, type in the following and hit Return: diskutil cs list |grep -e 'Conversion Progress' Be cautious as between the pipe sign and ‘grep’ there is no space!  

Continue reading

  • Debian
  • Linux
  • Network
  • PostgreSQL
  • Ubuntu

Find and Block Abusive IP Addresses on Ubuntu Server

2015-05-31
by Gábor Hargitai
2 min read

The Issue Your server has an extremely high workload in comparison to the usual CPU load, it generally feels less- or even unresponsive and if you have any intrusion detection configured, then it is sending alerts of failed login...

Continue reading

  • Network
  • OpenWRT
  • Other

OpenWRT Wi-Fi Repeater / Wireless Bridge

2015-04-25
by Gábor Hargitai
2 min read

Let us have a nice Wi-Fi range extander be born from the ashes of a long discarded router now, shall we? I’m going to assume that you’ve successfully: installed OpenWRT on your router of choice had accessed the admin...

Continue reading

  • OS X

Sublime Text C++/CPP Build System under MacOSX Yosemite

2015-04-07
by Gábor Hargitai
1 min read

Using the ever-so-wonderful Sublime Text as your primary editor is a joy in itself, however, building your .cpp files under OS X with it was something I wasn’t able to do out-of-the-box. Here are the steps that would enable...

Continue reading

  • Linux
  • Ubuntu

Transmission on Ubuntu Server 14.04 with Flexget – Python error fix included!

2015-01-26
by Gábor Hargitai
1 min read

First, let’s install Transmission and set up some directories – issue these commands (remember to substitute user with your desired username that runs transmission) sudo apt-get install python-software-properties sudo...

Continue reading

Previous 1 … 4 5 6 7 8 9 Next
Copyright © 2022. Gábor Hargitai - Dark Mode is supported :: No Tracking Code :: No Analytics
  • Articles
  • Colibri
  • Sleep Warden