git init
or
| using System; | |
| using System.Threading.Tasks; | |
| namespace System.Collections.Concurrent | |
| { | |
| public static class ConcurrentDictionaryExtensions | |
| { | |
| /// <summary> | |
| /// Provides an alternative to <see cref="ConcurrentDictionary{TKey, TValue}.GetOrAdd(TKey, Func{TKey, TValue})"/> that disposes values that implement <see cref="IDisposable"/>. | |
| /// </summary> |
| default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
| default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
| default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
| USE [HobbyDB] | |
| GO | |
| /****** Object: Table [dbo].[AspNetRoleClaims] Script Date: 6/4/2018 10:18:03 PM ******/ | |
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
| IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[AspNetRoleClaims]') AND type in (N'U')) | |
| BEGIN | |
| CREATE TABLE [dbo].[AspNetRoleClaims]( |
| const I = x => x | |
| const K = x => y => x | |
| const A = f => x => f (x) | |
| const T = x => f => f (x) | |
| const W = f => x => f (x) (x) | |
| const C = f => y => x => f (x) (y) | |
| const B = f => g => x => f (g (x)) | |
| const S = f => g => x => f (x) (g (x)) | |
| const S_ = f => g => x => f (g (x)) (x) | |
| const S2 = f => g => h => x => f (g (x)) (h (x)) |
| -- http://blog.jooq.org/2013/11/19/how-to-create-a-range-from-1-to-10-in-sql/ | |
| IF EXISTS (SELECT * | |
| FROM dbo.sysobjects | |
| WHERE id = object_id (N'[dbo].[generate_series]') | |
| AND OBJECTPROPERTY(id, N'IsTableFunction') = 1) | |
| DROP FUNCTION [dbo].[generate_series] | |
| GO | |
| CREATE FUNCTION [dbo].[generate_series] ( @p_start INT, @p_end INT) |
| p – balanced for paragraphs or body copy | |
| t – balanced for headlines or titles | |
| Arial, "Helvetica Neue", Helvetica, sans-serif - p, t | |
| Baskerville, "Times New Roman", Times, serif - p | |
| Baskerville, Times, "Times New Roman", serif - t | |
| Cambria, Georgia, Times, "Times New Roman", serif - p, t | |
| "Century Gothic", "Apple Gothic", sans-serif - p, t | |
| Consolas, "Lucida Console", Monaco, monospace - p, t | |
| "Copperplate Light", "Copperplate Gothic Light", serif - p, t |