Skip to content

Instantly share code, notes, and snippets.

View ronaldhoek's full-sized avatar

Ronald Hoek ronaldhoek

View GitHub Profile
@OdearOgy
OdearOgy / common-media-queries.css
Created September 13, 2018 06:56
Common Media Queries
/* This is a small sampling of the various approaches to media queries. The
point is: they're all over the board. Part of the "issue" (if you can call
it that) may be due to the intended audience of each site/framework. Another
may be that it's really difficult to test for a lot of different devices.
Regardless, it would be really nice if there was standard baseline that
could be used as a starting point for maximum compatibility and coverage. */
/* ==========================================================================
Frameworks
========================================================================== */
@sarangbk
sarangbk / Base64 to String (VARCHAR) and String (VARCHAR) to Base64.sql
Created June 20, 2016 19:48
MSSQL Convert a VARCHAR to Base64 encoding and vice-versa
-- VARCHAR TO Base64
IF OBJECT_ID (N'[dbo].[uFnStringToBase64]', N'FN') IS NOT NULL
DROP FUNCTION uFnStringToBase64;
GO
CREATE FUNCTION [dbo].[uFnStringToBase64]
(
@InputString VARCHAR(MAX)
)
RETURNS VARCHAR(MAX)
AS