This file contains hidden or 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
<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:dig=\"http://www.sk.ee/DigiDocService/DigiDocService_2_3.wsdl\"> | |
<soapenv:Header /> | |
<soapenv:Body> | |
<dig:FinalizeSignature soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"> | |
<Sesscode>501003689</Sesscode> | |
<SignatureId>S0</SignatureId> | |
<SignatureValue>C3024FDEAE6CFE5B6FCF33F171D53CCD5E7248A4F4DA93BA9DD2E1BD02AB6801431B5D3CED5E3ABC516A2FC17ECA1439E060E5066002DD2E0DE96B3FE0C74DB206946740C09A2C56A1B0E290C78209F33D3E3C0571FC277E81349FF450C2D622766BC0F5D1E2DB62B3D95B30E1EDA4B0D659229B98568F84A1AC13EF10AFB53D1AF759EB97F9A43C208814DE7D0F2AA20B303FA13F92B5A9629A4E975D8C257B92269E43F6FC9286598ACB877FAE1BDBD63D7CDD6A43BF481AC901AAD133633E0E0DCC218FE2C87FCC59256B879ABECC5AFDE54F3D78652901C220044A51CE8D68F1E30C04232C887F058C65C61853EB621B7BDB2F2FF9F39157CAC5BD0EE84D</SignatureValue> | |
</dig:FinalizeSignature> |
This file contains hidden or 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.Expressions; | |
using System.Reflection; | |
namespace Playground | |
{ | |
public class Attr : Attribute | |
{ | |
private int v; |
This file contains hidden or 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
const express = require('express'); | |
//const exec = require('child_process').exec; | |
require('shelljs/global'); | |
const path = require('path'); | |
const port = process.env.PORT || 3000; | |
const app = express(); | |
// serve static assets normally | |
app.use(express.static(__dirname + '/dist')); |
This file contains hidden or 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
void setup() { | |
Serial.begin(9600); | |
pinMode(3, INPUT); | |
} | |
void loop() { | |
int sensorValue = analogRead(A0); | |
Serial.print(sensorValue); | |
Serial.print(" "); | |
if (sensorValue > 1000) { |
This file contains hidden or 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
C:\> (Get-Content file.txt) | ForEach-Object { $_ -replace "foo", "bar" }| Set-Content file.txt |
This file contains hidden or 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 ETIS.Core.Documents; | |
using ETIS.Core.Documents.Classifiers; | |
using ETIS.Core.Extensions; | |
using ETIS.Core.Indexes.DocumentSearchIndexes; | |
using ETIS.RavenBundle; | |
using Lucene.Net.Analysis; | |
using Raven.Abstractions.Indexing; |
This file contains hidden or 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 ETIS.Core.Documents; | |
using ETIS.Core.Documents.Classifiers; | |
using ETIS.Core.Extensions; | |
using ETIS.Core.Indexes.Infrastructure; | |
using ETIS.RavenBundle; | |
using Lucene.Net.Analysis; | |
using Raven.Abstractions.Indexing; |
This file contains hidden or 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
public class ConnectionFactory { | |
public static DbConnection GetOpenConnection() { | |
var connection = new SqlConnection("MyConnectionString"); | |
connection.Open(); | |
return connection; | |
} | |
} |
This file contains hidden or 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 strict' | |
module.exports = (req, res, next) => { | |
const _send = res.send | |
res.send = function (body) { | |
if (require('url').parse(req.originalUrl, true).query['singular']) { | |
try { | |
const json = JSON.parse(body) | |
if (Array.isArray(json)) { | |
if (json.length === 1) { |
This file contains hidden or 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
import React from 'react' | |
import { render } from 'react-dom' | |
import { Provider } from 'react-redux' | |
import { ConnectedRouter } from 'connected-react-router' | |
import store, { history } from './store' | |
import App from './containers/app' | |
import 'sanitize.css/sanitize.css' | |
import './index.css' |