Skip to content

Instantly share code, notes, and snippets.

@ipbastola
ipbastola / clean-up-boot-partition-ubuntu.md
Last active June 5, 2024 21:05
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 
@surrealist
surrealist / BundleConfig.cs
Created September 6, 2012 02:49
Bootstrap on MVC4 - 1. BundleConfig.cs
/*
How to apply Bootstrap 2.1.0.1 to ASP.NET MVC 4
0. Install Twitter.Bootstrap by NuGet to your ASP.NET MVC 4 project.
Update following files:
1. ~/App_Start/BundleConfig.cs
2. ~/Views/Shared/_Layout.cshtml
3. ~/Views/Shared/_LoginPartial.cshtml
4. ~/Views/Home/Index.cshtml
@luetkemj
luetkemj / wp-query-ref.php
Last active May 25, 2024 10:56
WP: Query $args
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.github.io
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
*/