Skip to content

Instantly share code, notes, and snippets.

View dsidirop's full-sized avatar
🎯
Focusing

Kyriakos (Dominick) Sidiropoulos dsidirop

🎯
Focusing
View GitHub Profile
@dsidirop
dsidirop / README.md
Last active April 13, 2020 23:39 — forked from oznu/README.md
How to Bootcamp / Dual Boot Windows 10 on a mid-2011 iMac using USB

https://gist.github.com/oznu/8796d08d73315483c3b26e79a8e3d350

How to Install / Bootcamp Windows 10 on a mid-2011 iMac using USB

Apple has released support for bootcamping Windows 10, but only on 2012 Macs and later. Despite not being supported. it is possible to install Windows 10 on earlier iMacs and it seems to run quite well.

IMPORTANT: Unplug all external and physical hard drives (where possible) that you won't be installing to to avoid accidentally erasing them. Also make note of which drives and partitions remain (e.g. System and Storage hard drives), and be super careful to not erase the wrong one.

RECOVERY: If you nuke your machine, restore your time machine backup. Instructions here.

@dsidirop
dsidirop / ExtendedSelectExtensions.cs
Last active December 20, 2020 22:13 — forked from apuchkov/ExtendedSelectExtensions.cs
ASP.NET MVC HTML DropList helper with a way to add custom attributes to options http://stackoverflow.com/a/34096927/1689049
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Web;
using System.Web.Mvc;