First, you need install fontawesome through bower
bower install fontawesome
Next, you need add to your scss file this lines (please, check the paths if you
public static class IPAddressDbFunctions | |
{ | |
/// <summary> | |
/// Translates to (in PostgreSQL): | |
/// <code> | |
/// ('[address]'::inet & '[subnetMask]'::inet) | |
/// </code> | |
/// </summary> | |
// ('[address]'::inet & '[subnetMask]'::inet) | |
public static IPAddress GetNetworkIP(IPAddress address, IPAddress subnetMask) => throw new NotSupportedException(); |
async retryAsync<T>(fn: () => Promise<T>, retryCount: number = 3, retryInterval: number = 1000): Promise<T> { | |
let retries = -1; | |
do { | |
try { | |
retries++; | |
return await fn(); | |
} catch (error) { | |
if (retries === retryCount) { | |
throw error; | |
} |
<html> | |
<head> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script> | |
<style> | |
#container { | |
display: inline-block; | |
position: relative; | |
} |
SET IDENTITY_INSERT [mydb_to].dbo.[A] ON | |
INSERT INTO [mydb_to].dbo.[A]( col1, col2, col3, ..., coln ) --List the names of columns | |
SELECT * FROM [mydb_from].dbo.[A] WHERE reqid = 201 | |
SET IDENTITY_INSERT [mydb_to].dbo.[A] OFF |
First, you need install fontawesome through bower
bower install fontawesome
Next, you need add to your scss file this lines (please, check the paths if you
(function() { | |
'use strict'; | |
angular | |
.module('triangular.directives') | |
.directive('triSamePassword', samePassword); | |
/* @ngInject */ | |
function samePassword() { | |
// Usage: |
function getQueryString() { | |
var result = {}, queryString = location.search.slice(1), | |
re = /([^&=]+)=([^&]*)/g, m; | |
while (m = re.exec(queryString)) { | |
result[decodeURIComponent(m[1])] = decodeURIComponent(m[2]); | |
} | |
return result; | |
} |
/* Format strings in JavaScript | |
* Usage: | |
* > "Hello {0}!".format('Safeer'); // Hello Safeer! | |
* | |
* > var str = "{0} is one of the most popular programming languages in the world. \ | |
* This {1} contains some extension methods that can be used in your {0} code."; | |
* str.format('JavaScript', 'Gist'); | |
* | |
*/ | |
String.prototype.format = function() { |
using System; | |
using System.Net.Mail; | |
using Microsoft.Framework.ConfigurationModel; | |
namespace Mzmsh.SimpleSmtpEmail | |
{ | |
public class EmailService | |
{ | |
private readonly IConfiguration _config; | |
private readonly EmailSettings _settings; |