Skip to content

Instantly share code, notes, and snippets.

View markprzepiora's full-sized avatar
🏠
Working from home

Mark Przepiora markprzepiora

🏠
Working from home
View GitHub Profile
class CasePattern
def initialize(arr)
@arr = arr
end
def ===(other_arr)
@arr.zip(other_arr).all?{ |x1, x2| x1 === x2 }
end
module ConstructorContext
reg add HKCU\Software\Classes\CLSID\{3f3f327e-5577-4649-ae6e-6cc43b49bd7e} /ve /t REG_SZ /d "Recent Items" /f
reg add HKCU\Software\Classes\CLSID\{3f3f327e-5577-4649-ae6e-6cc43b49bd7e}\DefaultIcon /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\imageres.dll,-117" /f
reg add HKCU\Software\Classes\CLSID\{3f3f327e-5577-4649-ae6e-6cc43b49bd7e} /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0x1 /f
reg add HKCU\Software\Classes\CLSID\{3f3f327e-5577-4649-ae6e-6cc43b49bd7e} /v SortOrderIndex /t REG_DWORD /d 0x42 /f
reg add HKCU\Software\Classes\CLSID\{3f3f327e-5577-4649-ae6e-6cc43b49bd7e}\InProcServer32 /ve /t REG_EXPAND_SZ /d %%systemroot%%\system32\shell32.dll /f
reg add HKCU\Software\Classes\CLSID\{3f3f327e-5577-4649-ae6e-6cc43b49bd7e}\Instance /v CLSID /t REG_SZ /d {0E5AAE11-A475-4c5b-AB00-C66DE400274E} /f
reg add HKCU\Software\Classes\CLSID\{3f3f327e-5577-4649-ae6e-6cc43b49bd7e}\Instance\InitPropertyBag /v Attributes /t REG_DWORD /d 0x11 /f
reg add HKCU\Software\Classes\CLSID\{3f3f327e-5577-4649-ae6e-6cc43b49b
@markprzepiora
markprzepiora / clean-up-boot-partition-ubuntu.md
Created January 5, 2019 00:23 — 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