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
> openssl s_client -connect smtp.websupport.sk:25 -starttls smtp | |
CONNECTED(00000003) | |
depth=0 /OU=Domain Control Validated/CN=*.websupport.sk | |
verify error:num=20:unable to get local issuer certificate | |
verify return:1 | |
depth=0 /OU=Domain Control Validated/CN=*.websupport.sk | |
verify error:num=27:certificate not trusted | |
verify return:1 | |
depth=0 /OU=Domain Control Validated/CN=*.websupport.sk | |
verify error:num=21:unable to verify the first certificate |
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 sendFile = function (file, chunkSize) | |
{ | |
var start = 0, | |
end = Math.min(chunkSize, file.size), | |
retryCount = 0, | |
sendNextChunk, fileChunk; | |
displayStatusMessage(""); | |
sendNextChunk = function () | |
{ | |
fileChunk = new FormData(); |
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
<font face="Times New Roman,serif" size="3"> | |
<span style="font-size:12pt;"> | |
<font face="Segoe UI,sans-serif" size="5" color="#B61318"> | |
<span style="font-size:18pt;">Vážený klient,</span> | |
</font> | |
</span> | |
</font> |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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"?> | |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
<?include $(sys.CURRENTDIR)Runtime.wxi ?> | |
<Product Id="*"> | |
<Upgrade Id="$(var.UpgradeCode)"> | |
<UpgradeVersion Property="OLDERVERSION_BEINGUPGRADED" Minimum="0.0.0" Maximum="$(var.ProductVersion)" IncludeMaximum="no" /> | |
<UpgradeVersion Property="NEWERVERSION_INSTALLED" OnlyDetect="yes" Minimum="$(var.ProductVersion)" IncludeMinimum="no" /> | |
</Upgrade> | |
<InstallExecuteSequence> |
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
protected void Application_Start() | |
{ | |
Registry registry = new Registry(); | |
registry.Schedule<SampleJob1>().ToRunEvery(3).Seconds(); | |
registry.Schedule<SampleJob2>().ToRunEvery(1).Days().At(21, 15); | |
TaskManager.Initialize(registry); | |
TaskManager.Start(); | |
} |
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.Reactive.Linq; | |
using System.Windows.Forms; | |
namespace WindowsFormsApplication1 | |
{ | |
static class Program | |
{ | |
/// <summary> | |
/// The main entry point for the application. |
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
void Form1_Load(object sender, EventArgs e) | |
{ | |
IObservable<Point> points = from mme in Observable.FromEventPattern<MouseEventArgs>(target: this, eventName: "MouseMove") | |
where mme.EventArgs.X == mme.EventArgs.Y | |
select mme.EventArgs.Location; | |
DisplayData(points); | |
} | |
private void DisplayData(IObservable<Point> points) |
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
class UseSubject | |
{ | |
public class Order | |
{ | |
private DateTime? _paidDate; | |
private readonly Subject<Order> _paidSubj = new Subject<Order>(); | |
public IObservable<Order> Paid { get { return _paidSubj.AsObservable(); } } | |
public void MarkPaid(DateTime paidDate) |
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
public class Hrac | |
{ | |
public Hrac(string meno) | |
{ | |
this.MenoHraca = meno; | |
} | |
// Vlastnost MenoHraca umoznuje ziskat alebo nastavit meno hraca. | |
public string MenoHraca | |
{ |
OlderNewer