MySQL error: The partition with /var/lib/mysql is too full! Fix

MySQL error: The partition with /var/lib/mysql is too full!

An unusual error.

The fix for it is to restart MySQL

Look for the process

ps -aux | grep mysql
root      5314  0.0  0.1  11748  2220 pts/0    S+   11:18   0:00 grep --color=auto mysql
mysql    30357  0.2  8.5 825260 174464 ?       Ssl  Dec14   6:25 /usr/sbin/mysqld

Kill the process

root@localhost:~# kill 30357

Restart MySQL

root@localhost:~# sudo /etc/init.d/mysql start
 * Starting MySQL database server mysqld                                                                      [ OK ] 

Now your MySQL should be looking good!

 PrimerCSS: The CSS toolkit that powers Github

Bootstrap is now a staple when it comes to bootstrapping web applications today. There has been attempts to unseat it as the king of css toolkits.

Github’s CSS toolkit is here now. PrimerCSS is used by Github itself. It is open source and released using the MIT License like SCSS, Jekyll and Grunt. PrimerCSS currently supports Internet Explorer 9+, Chrome, Safari, and Firefox on OS X and Windows.

PrimerCSS Components

Primercss


Primercss sample

 LotusRB: Lightweight Open Source web framework for Ruby

Ruby on Rails is the de-facto web framework of the Ruby community. From time to time ruby web frameworks are still being developed. LotusRB is one such framework. It works a lot like Ruby on Rails but it is a lot more lightweight and faster.

LotusRB Installation

It is so easy to install

$ gem install lotusrb
17 gems installed
 
$ lotus new my_app
 
$ cd my_app && bundle
Bundle complete! 6 Gemfile dependencies, 27 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.

$ bundle exec lotus server
[2015-11-10 03:46:12] INFO  WEBrick 1.3.1
[2015-11-10 03:46:12] INFO  ruby 2.2.1 (2015-02-26) [x86_64-darwin14]
[2015-11-10 03:46:12] INFO  WEBrick::HTTPServer#start: pid=23802 port=2300

LotusRB Generate

Like Ruby on Rails it also has its generators

  • bundle exec lotus db create
  • bundle exec lotus db drop
  • bundle exec lotus db migrate
  • bundle exec lotus routes
  • bundle exec lotus generate action
  • bundle exec lotus generate model
  • bundle exec lotus generate migration
  • bundle exec lotus generate mailer

Why don’t you try LotusRB for a spin!

Lotusrb screenshot


Lotusrb generate

 Thoughtbot's Administrate: A Rails Admin Dashboard

ActiveAdmin is a Ruby on Rails plugin for generating administration style interfaces. I have used it for a number of applications. Thoughtbot has announced the release of Administrate.

Administrate wins over me because of the following reasons:

  1. No DSLs.
  2. Let developers override defaults in a conventional way – with common Rails controllers and views.
  3. Break up the library into core components and plugins, so each component stays small and easy to maintain.
  4. A cleaner and better design by far

I think Administrate is awesome and I might be using this for my current project!

Thoughtbots administrate