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
{ | |
"name": "WebpackExample01", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"build": "webpack" | |
}, | |
"keywords": [], |
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
param | |
( | |
[string] $Url, | |
[int] $MaxRetries = 3, | |
[int] $OneRetryTimeout = 5, | |
[int] $OverallTimeout = 60, | |
[int] $WaitBetweenRetries = 1 | |
) | |
if ([System.String]::IsNullOrWhiteSpace($Url)) |
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"?> | |
<configuration> | |
<connectionStrings> | |
<add name="Default" connectionString="Server=localhost;Database=RegoV2;Persist Security Info=True;integrated security=false;User Id=sa; Password=sa;" providerName="System.Data.SqlClient" /> | |
</connectionStrings> | |
</configuration> |
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
const float torque = 50f; | |
//apply torque using joint motor | |
_hingeJoint1.motor = new JointMotor { freeSpin = true, force = torque, targetVelocity = 999999f }; | |
_hingeJoint1.useMotor = true; | |
//apply torque using "add torque" method | |
_cube3Rigidbody.AddTorque(0, 0, torque); | |
_cube4Rigidbody.AddTorque(0, 0, -torque); |
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 Repository : DbContextFixed | |
{ | |
public Event2 AddEvent(object data) | |
{ | |
return AddEvent(ApplicationStreamId, data); | |
} | |
public Event2 AddEvent(Guid streamId, object data) | |
{ | |
var e = new Event2 { | |
Created = DateTime.Now, |