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
//Работает со сколько угодным вложенным массивом | |
func flattenArray<T>(_ arr: Array<Any?>) -> [T] { | |
var result = [T]() | |
for item in arr { | |
if item is [Any?] { | |
result += flattenArray(item as! [Any?]) | |
} else if item != nil { | |
result.append(item as! T) | |
} |
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.Collections.Specialized; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
using System.Security; | |
using System.Security.Cryptography; | |
using System.Security.Cryptography.X509Certificates; |
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; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Xml; | |
using System.Net; | |
using System.IO; | |
using System.Data; | |
using System.Xml.Linq; |
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
namespace Terrasoft.Configuration | |
{ | |
using Core.Entities; | |
using System; | |
using System.Collections.Generic; | |
using Terrasoft.Core; | |
public class CalendarHelper | |
{ | |
private readonly UserConnection _userConnection; |
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.Text.RegularExpressions; | |
namespace myApp | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
string str = "7c347b7b-cdd1-4889-83d6-b0f54c460835 SocialMessage f45696fb-7399-4b7e-90fc-5509e5970d4a"; |
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
diff: /**SCHEMA_DIFF*/[ | |
{ | |
"operation": "insert", | |
"name": "Tab6ccaa1feTabLabel", | |
"values": { | |
"caption": "Хранилище", | |
"items": [] | |
}, | |
"parentName": "Tabs", | |
"propertyName": "tabs", |
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
//fpc 3.0.0 | |
program Palindrom; | |
var b,c,bMod:int64; | |
var a,cStr:string; | |
begin | |
a:= '044'; | |
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 path = require('path') | |
var webpack = require('webpack') | |
module.exports = { | |
mode: 'development', | |
devtool: 'cheap-module-eval-source-map', | |
entry: [ | |
'webpack-hot-middleware/client', | |
'babel-polyfill', | |
'./src/index' |
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
namespace Terrasoft.Configuration | |
{ | |
using System; | |
using Core; | |
using Messaging.Common; | |
using global::Common.Logging; | |
public static class KmMsgChannelUtilities | |
{ |
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
define("CardModuleResponseInterceptor", ["terrasoft", "ext-base", "sandbox", "BaseModule"], | |
function(Terrasoft, Ext, sandbox) { | |
Ext.define("Terrasoft.configuration.CardModuleResponseInterceptor", { | |
alternateClassName: "Terrasoft.CardModuleResponseInterceptor", | |
extend: "Terrasoft.BaseModule", | |
Ext: null, | |
sandbox: null, | |
Terrasoft: null, | |
viewModel: null, | |
view: null, |
NewerOlder