This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Globalization; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Mvc.ModelBinding; | |
using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; | |
namespace BA.ECommerce.Client.Utility | |
{ | |
public class InvariantDecimalModelBinderProvider : IModelBinderProvider | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kz.gov.pki.kalkan.pkix.checker; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import java.math.BigInteger; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
import java.net.URLEncoder; | |
import java.security.cert.CertPathBuilder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[MoveIndexToFileGroup]') AND type in (N'P', N'PC')) | |
BEGIN | |
DROP PROCEDURE [dbo].[MoveIndexToFileGroup] | |
END | |
GO | |
CREATE PROC [dbo].[MoveIndexToFileGroup] ( | |
@DBName sysname, | |
@SchemaName sysname = 'dbo', | |
@ObjectNameList Varchar(Max), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Configuration.Install; | |
using System.Reflection; | |
using System.ServiceProcess; | |
namespace WinServiceHost | |
{ | |
static class Program | |
{ | |
static void Main(string[] args) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cz.novoj.spring.security.aop; | |
import cz.novoj.spring.security.annotation.RulesRelation; | |
import cz.novoj.spring.security.annotation.RulesRelation.BooleanOperation; | |
import org.springframework.core.annotation.AnnotationUtils; | |
import org.springframework.security.access.ConfigAttribute; | |
import org.springframework.security.access.method.AbstractMethodSecurityMetadataSource; | |
import org.springframework.security.access.prepost.*; | |
import org.springframework.util.Assert; | |
import org.springframework.util.ClassUtils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ====================================================================== | |
# | |
# @link http://wuhrr.wordpress.com/2010/01/13/adding-confirmation-to-bash/#comment-3540 | |
# | |
# Function: confirm | |
# Asks the user to confirm an action, If the user does not answer yes, | |
# then the script will immediately exit. | |
# | |
# Parameters: | |
# $@ - The confirmation message |