Skip to content

Instantly share code, notes, and snippets.

View coolcodemy's full-sized avatar

Ahmad Fikrizaman Bin Abd Rahim coolcodemy

View GitHub Profile
@coolcodemy
coolcodemy / clean-up-boot-partition-ubuntu.md
Created June 30, 2019 03:47 — forked from ipbastola/clean-up-boot-partition-ubuntu.md
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r 
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class HelperServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
$(document).ready(function() {
var url = window.location;
$('ul.nav a[href="' + url + '"]').parent().addClass('active');
});