I hereby claim:
- I am jbialobr on github.
- I am jbialobr (https://keybase.io/jbialobr) on keybase.
- I have a public key ASAzTJodifr8LtVJ8KYfPhiETX6t1rs5scQEp859kYgeeAo
To claim this, I am signing this object:
SendMessage (62944378, 0xbb, (nil), (nil)) | |
SendMessage (62944378, 0xc1, (nil), (nil)) | |
SendMessage (62944378, 0x439, (nil), 0x7fffaf20ce58) | |
System.InvalidCastException: Cannot cast from source type to destination type. | |
at System.Windows.Forms.Control+ControlNativeWindow.ControlFromHandle (IntPtr hWnd) [0x00000] in <filename unknown>:0 | |
at System.Windows.Forms.Control.FromHandle (IntPtr handle) [0x00000] in <filename unknown>:0 | |
at System.Windows.Forms.X11Keyboard.MoveCurrentCaretPos () [0x00000] in <filename unknown>:0 | |
at System.Windows.Forms.XplatUIX11.MoveResizeWindow (IntPtr display, IntPtr window, Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in <filename unknown>:0 | |
at System.Windows.Forms.XplatUIX11.SetWMStyles (System.Windows.Forms.Hwnd hwnd, System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 | |
at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 |
import java.io.File; | |
import java.io.IOException; | |
public class RobustSingletonBatchJob { | |
public static void main(String[] args) throws Exception | |
{ | |
try(FileLock lock = new FileLock(new File("dir", "file"))) | |
{ | |
if (lock.isOwnsLock()) |
public void CanConcurrentlyDeleteFilesWhileStatusIsBeingCalculated() | |
{ | |
string repoPath = InitNewRepository(); | |
using (var repo = new Repository(repoPath)) | |
{ | |
var paths = new List<string>(); | |
const int numberOfFiles = 3000; | |
for (var i = 0; i < numberOfFiles; i++) | |
{ | |
string s = i.ToString(CultureInfo.InvariantCulture); |
I hereby claim:
To claim this, I am signing this object: