Skip to content

Instantly share code, notes, and snippets.

View erdemser's full-sized avatar

Erdem Serdaroğlu erdemser

View GitHub Profile
@erdemser
erdemser / Singleton.cs
Created January 30, 2020 12:40 — forked from sebastienlachance/Singleton.cs
C# - Thread Safe Singleton Pattern - John Skeet
// Source: https://codereview.stackexchange.com/questions/79/implementing-a-singleton-pattern-in-c
public sealed class Singleton
{
// Thread safe Singleton with fully lazy instantiation á la Jon Skeet:
// http://csharpindepth.com/Articles/General/Singleton.aspx
Singleton()
{
}
public static Singleton Instance
@erdemser
erdemser / css-media-queries-cheat-sheet.css
Created January 3, 2020 06:16 — forked from bartholomej/css-media-queries-cheat-sheet.css
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }