Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64
Case I: if /boot is not 100% full and apt is working
1. Check the current kernel version
$ uname -r
<img>tags not scaling in IE9, IE10, IE11
IE9, IE10, and IE11 don't properly scale SVG files added with
img tags when
height attributes are specified. View this codepen on the different browsers.
Image heights will not scale when the images are inside containers narrower than image widths. This can be resolved in 2 ways.
sedin bash to remove width and height attributes in SVG files
As per this answer on Stackoverflow, the issue can be resolved by removing just the
One of the best ways to reduce complexity (read: stress) in web development is to minimize the differences between your development and production environments. After being frustrated by attempts to unify the approach to SSL on my local machine and in production, I searched for a workflow that would make the protocol invisible to me between all environments.
Most workflows make the following compromises:
Use HTTPS in production but HTTP locally. This is annoying because it makes the environments inconsistent, and the protocol choices leak up into the stack. For example, your web application needs to understand the underlying protocol when using the
secure flag for cookies. If you don't get this right, your HTTP development server won't be able to read the cookies it writes, or worse, your HTTPS production server could pass sensitive cookies over an insecure connection.
Use production SSL certificates locally. This is annoying
|# I use this Capistrano task so I don't have manually run 'git push' before 'cap|
|# deploy'. It includes some error checking to make sure I'm on the right branch|
|# (master) and haven't got any uncommitted changes.|
|# Simply add the code below to config/deploy.rb, then run 'cap deploy:push' to|
|# test it, and 'cap deploy' to deploy as usual.|
|namespace :deploy do|
|desc "Push local changes to Git repository"|
|task :push do|