Add the following to /etc/rc.local: (sleep 3 && echo disable > /proc/acpi/ibm/bluetooth)& Bluetooth icon will be active for a few seconds, then...
Below is a list of some VIM settings I find useful. You can add them to your .vimrc. source $VIMRUNTIME/mswin.vim...
To create a 10 GB file: fallocate -l 10G huge_file.dat
We generally use multiple application servers (at least two) and you have to search on all of them if you...
We have projects that have been developed using many different versions of Ruby. Since we do not want to...
This error message may occur when rspec gets loaded by rake, e.g. when you migrate the test database. NoMethodError: undefined...
You may know the double asterisk operator from Ruby snippets like Dir['spec/**/*_spec.rb'] where it expands to an arbitrary...
So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)
TL;DR: Update the 'net-ssh' gem by adding to your Gemfile: gem 'net-ssh', '=2.9.1' Now run bundle update...
So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...
You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)
This method will remove automatically installed packages that no other packages depend on any more. This, of course...
xargs is a powerful bash tool that can take input from $STDIN and pass it to a given command. I.e...
If you use awesome 3.5, and a gnome or mate panel, the panel will often receive focus when you switch...
If your external displays not switching on or showing a weird behavior (for e.g. all displays getting the same configuration...
When giving a presentation with a projector it is sometimes better to use a dual screen layout instead of a...
A Rake task appears in rake -T if it has a description: desc 'Compile assets' task :compile do ... end
In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...
You can have a command repeatedly executed and the output displayed. This is useful e.g. for monitoring file system changes...
If you want to find the commits that touched a specific text in a file, use git log -G 'text...
Run dconf-editor (as your user) Go to org / mate / panel / objects / clock / prefs Change the key format to custom...
SVG is an acronym for "scalable vector graphics". SVGs should be used whenever an image can be described with vector...
AWstats is build to regularly run on webservers. If you want it to build a report once, here is the...
To get your F12 key back for other shortcuts, stop Tilda: killall tilda To prevent Tilda from starting on boot...