Skip to content

Instantly share code, notes, and snippets.

View iquad's full-sized avatar

Mert Özgür Akdeniz iquad

View GitHub Profile
package main
import (
"crypto/aes"
"crypto/cipher"
"fmt"
"crypto/rand"
"io"
"encoding/base64"
"encoding/hex"
@iquad
iquad / clean-up-boot-partition-ubuntu.md
Created January 9, 2020 15:27 — 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\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Model\user\User;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;
class UserController extends Controller