Skip to content

OpenSource is Better

OpenSource software should be encouraged more…

  • Home
  • Most Popular
  • HTML Sitemap

Category: How To

Tutorials and guides on how to install software, tweak and personalize your system…

Test email from command line

After having setup an email server (eg: using gmail as smtp server or sendmail as a SMART HOST or any other way you want..) you need to test it.[……]

Read more

Author AndreaPosted on August 7, 2013January 25, 2017Categories How To, TipTags Bash, Linux, mailLeave a comment on Test email from command line

PHP: remove duplicate elements from a multi-dimensional array

array_unique removes duplicate values from an array. Unfortunately it doesn’t work with multi-dimensional arrays.

A quick workaround is to serializ[……]

Read more

Author AndreaPosted on December 9, 2012January 25, 2017Categories How To, Programming, TipTags PHP1 Comment on PHP: remove duplicate elements from a multi-dimensional array

Ban offending IP addresses – fail2ban

If you have logwatch installed (or you read auth.log file) you can find lots of entries mentioning login attempts/attacks.
Something like:

Nov 20[......]

Read more

Author AndreaPosted on November 25, 2012January 25, 2017Categories How ToTags iptables, Linux, Security, sshLeave a comment on Ban offending IP addresses – fail2ban

Send system emails using gmail as smtp server

I wrote before about sending system emails using sendmail as smarthost.
Today I describe how to do that using gmail smtp servers.
The software that[……]

Read more

Author AndreaPosted on October 15, 2012January 25, 2017Categories How ToTags Linux, mail1 Comment on Send system emails using gmail as smtp server

How to shred/wipe disks/partitions

If I decide to sell or when I have to return a hard drive I want to make sure not everyone can access my data.
To do that I’ve often used the command[……]

Read more

Author AndreaPosted on October 11, 2012January 25, 2017Categories How To, TipTags Bash, Hard Disk, LinuxLeave a comment on How to shred/wipe disks/partitions

Root HTC Wildfire (Android 2.2.1), install Cyanogenmod 7 and fix GPS

I’ve been using my Android phone (HTC Wildfire) for quite some time now.
It’s not a bad phone but it’s somewhat limited, mainly in memory and speed.[……]

Read more

Author AndreaPosted on June 24, 2012January 25, 2017Categories How ToTags Android11 Comments on Root HTC Wildfire (Android 2.2.1), install Cyanogenmod 7 and fix GPS

Formatting a partition from command line

Formatting a new partition from the command line is pretty straight forward.
I do it quite often when playing working with LVM.

So, long story short[……]

Read more

Author AndreaPosted on May 31, 2012January 25, 2017Categories How ToTags Bash, Hard Disk, Linux, PartitioningLeave a comment on Formatting a partition from command line

Logical Volume Management basics

I’ve explained how to activate a LVM Logical Volume before but never talked too much about LVM itself. Here is a brief introduction.

I’ve been play[……]

Read more

Author AndreaPosted on January 31, 2012January 25, 2017Categories How ToTags Hard Disk, Linux, LVM, OpenSource, PartitioningLeave a comment on Logical Volume Management basics

How to run a system command in background from PHP

If you are at the command line (eg: bash) and want a command to run in background you simply add an “&” at the end of the command, eg:

sleep 10 &[......]

Read more

Author AndreaPosted on December 4, 2011January 25, 2017Categories How To, ProgrammingTags Linux, PHP, Web2 Comments on How to run a system command in background from PHP

Re-open last tab/tabs closed on Google Chrome/Chromium

Sometimes I close tabs by mistake and I never remember the shortcut to re-open them again.
I’m sure after this I will remember it… :-D

Ctrl+Shif[......]

Read more

Author AndreaPosted on October 25, 2011January 25, 2017Categories How To, TipTags Cross-Platform, OpenSource, SoftwareLeave a comment on Re-open last tab/tabs closed on Google Chrome/Chromium

Posts navigation

Previous page Page 1 Page 2 Page 3 … Page 5 Next page

Follow OpenSource is Better!

Follow Us on TwitterFollow Us on RSS

Tag Cloud

  • Android
  • Apache
  • Audio
  • AWS
  • Bash
  • CMS
  • Cross-Platform
  • DNS
  • Docker
  • Firefox
  • Free-Software
  • fstab
  • Gnome
  • gParted
  • GRUB
  • Hard Disk
  • Head
  • iptables
  • javascript
  • jQuery
  • Linux
  • LVM
  • mail
  • MediaWiki
  • MultiMedia
  • One-liner
  • OpenSource
  • Partitioning
  • Perl
  • PHP
  • Pictures
  • Pip
  • Proxmox
  • Python
  • Security
  • Sed
  • Smartphone
  • Software
  • Squid
  • ssh
  • Tail
  • Ubuntu
  • Video
  • Virtualbox
  • Web

Most Popular

  • Rotate a video with Avidemux GTK
  • Root HTC Wildfire (Android 2.2.1), install Cyanogenmod 7 and fix GPS
  • PHP: remove duplicate elements from a multi-dimensional array
  • Disable directory listing/browsing – Apache
  • Linux: what is partition UUID and how to use it

Categories

  • Event
  • Fun
  • General
  • How To
  • News
  • OpenSource
  • Programming
  • Re-share
  • Review
  • Tip

Useful Links

  • Prism Break
  • Droid Break
  • Opensource.com alternatives
Creative Commons License
Open Source is Better by http://www.opensourceisbetter.com/ is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
  • Home
  • Most Popular
  • HTML Sitemap
OpenSource is Better Proudly powered by WordPress