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.Linq; | |
using System.Security.Cryptography; | |
using System.Text; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
var usergroup = "guests"; |
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.Collections.Generic; | |
using System.Linq; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
List<int> list = null; |
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
REPLACE(json, 'AOP0001', 'aop0001') | |
REPLACE(json, 'AOP0002', 'aop0002') | |
REPLACE(json, 'AOP0003', 'aop0003') | |
REPLACE(json, 'AOP0004', 'aop0004') | |
REPLACE(json, 'AOP0005', 'aop0005') | |
REPLACE(json, 'AOP0006', 'aop0006') | |
REPLACE(json, 'AOP0007', 'aop0007') | |
REPLACE(json, 'AOP0008', 'aop0008') | |
REPLACE(json, 'AOP0009', 'aop0009') | |
REPLACE(json, 'AOP0010', 'aop0010') |
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
<cube><![CDATA["cube": { | |
"idOdobrenja": "1000000000075841", | |
"brojPonude": "10200", | |
"maticniBrojPP": "25", | |
"cube": { | |
"kompanija_id": 16213, | |
"url": "https://b2bonline.rs/sr/portal/pregled-kompanije/16213/tk-trade-doo-beograd", | |
"maticni_broj": "20512482", | |
"pib": "106004413", | |
"naziv": "TK-TRADE", |
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.Linq; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
} | |
} |
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
var names = new List<String> | |
{ | |
"Ana", | |
"Felipe", | |
"Emillia" | |
}; | |
foreach (var name in names) | |
{ | |
Console.WriteLine($"Hello {name}"); |
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.Collections.Generic; | |
using System.Linq; | |
public class Program { | |
public static void Main () { | |
Product p1 = new Product (); | |
Console.WriteLine (p1.ID); | |
Product p2 = new Product (); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<mass_auto_rpg xmlns="urn:gmi:nova:gmi_sr"> | |
<common_parameters> | |
<is_simulation>true</is_simulation> | |
</common_parameters> | |
<rpg_parameters_list> | |
<rpg_calc> | |
<rpg_calc_type>rpg_calc_type1</rpg_calc_type> | |
<id_cont>1</id_cont> | |
<new_principal>1</new_principal> |
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
-- SQL Server 2012+ | |
-- Codes for CONVERT function | |
SELECT n.n | |
,TRY_CONVERT(VARCHAR(100), GETDATE(), n) AS date_format | |
FROM ( | |
SELECT TOP 200 ROW_NUMBER() OVER (ORDER BY name) AS n | |
FROM sys.objects) AS n | |
WHERE TRY_CONVERT(VARCHAR(100), GETDATE(), n) IS NOT NULL |
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; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
string s = ",3"; | |
NewerOlder