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
https://stackoverflow.com/questions/33067769/how-to-add-a-pre-build-step-to-project-via-the-visual-studio-ide | |
Some code example: | |
if not exist DirToCreate mkdir DirToCreate | |
mkdir $(TargetDir)\Design | |
//$(TargetDir) put all the path of your bin folder of your project, so is unnecesary if you just want to create in bing folder. |
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
https://stackoverflow.com/a/11291067/3957327 |
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
https://stackoverflow.com/questions/38635/what-static-analysis-tools-are-available-for-c |
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
! # $ & ' ( ) * + , / : ; = ? @ [ ] | |
%21 %23 %24 %26 %27 %28 %29 %2A %2B %2C %2F %3A %3B %3D %3F %40 %5B %5D | |
https://stackoverflow.com/questions/6172719/escape-character-in-git-proxy-password |
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
https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3) |
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
DECLARE @STRSQL NVARCHAR(MAX) | |
SET @STRSQL = | |
( | |
SELECT | |
CONVERT(NVARCHAR(MAX), | |
(SELECT | |
'SELECT IdTranFin,FecTran,' | |
+ B.M03_TIPO_MOVIMIENTO + ' AS ''TIPO_MOVIMIENTO'',' | |
+ B.M03_BANCO + ' AS ''BANCO'',' | |
+ B.M03_OFICINA + ' AS ''OFICINA'',' |
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
USE MASTER | |
ALTER DATABASE NOMBRE_ANTIGUO | |
SET RESTRICTED_USER WITH ROLLBACK IMMEDIATE | |
GO | |
sp_rename 'NOMBRE_ANTIGUO', 'NUEVO_NOMBRE' ,'DATABASE'; | |
GO | |
ALTER DATABASE NUEVO_NOMBRE | |
SET MULTI_USER | |
GO |
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
/// <summary> | |
/// Determina el encoding de un archivo de texto analizando su bytes order mark (BOM). | |
/// Usa el encoding por defecto del SO cuando la detección del endianes archivo de texto falla. | |
/// </summary> | |
/// <param name="filename">La ruta del archivo a analizar.</param> | |
/// <returns>El encoding detectado.</returns> | |
public static Encoding GetEncoding(string filename) | |
{ | |
// Leyendo el BOM | |
var bom = new byte[4]; |
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
// takes the form field value and returns true on valid number | |
function valid_credit_card(value) { | |
// accept only digits, dashes or spaces | |
if (/[^0-9-\s]+/.test(value)) return false; | |
// The Luhn Algorithm. It's so pretty. | |
var nCheck = 0, nDigit = 0, bEven = false; | |
value = value.replace(/\D/g, ""); | |
for (var n = value.length - 1; n >= 0; n--) { |
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
INSERT INTO TMP_CLIENTES | |
SELECT '',RTRIM(TipDoc),RTRIM(NroDoc),'',RTRIM(NomPrim),RTRIM(NomSeg),RTRIM(ApePri),RTRIM(ApeSeg),'' FROM CLIENTES | |
WHERE (replace(APEPRI,' ','') like '%[^.ABCDEFGHIJKLMNOPQRSTUVWXYZÑÁÉÍÓÚÜÖ''\-]%' | |
OR replace(APESEG,' ','') like '%[^.ABCDEFGHIJKLMNOPQRSTUVWXYZÑÁÉÍÓÚÜÖ''\-]%' | |
OR replace(NOMPRIM,' ','') like '%[^.ABCDEFGHIJKLMNOPQRSTUVWXYZÑÁÉÍÓÚÜÖ''\-]%' | |
OR replace(NOMSEG,' ','') like '%[^.ABCDEFGHIJKLMNOPQRSTUVWXYZÑÁÉÍÓÚÜÖ''\-]%') | |
OR CharIndex(nchar(65533) COLLATE Latin1_General_BIN2, APEPRI) > 0 | |
OR CharIndex(nchar(65533) COLLATE Latin1_General_BIN2, APESEG) > 0 | |
OR CharIndex(nchar(65533) COLLATE Latin1_General_BIN2, NOMPRIM) > 0 | |
OR CharIndex(nchar(65533) COLLATE Latin1_General_BIN2, NOMSEG) > 0 |
NewerOlder