SmartGit 试用过期
    
                
摘要:smartgit是见过的最好用的git客户端, 要解决其试用版过期的问题,如下: 1.定位到文件夹 Windows: %APPDATA%\syntevo\SmartGit\OS X: ~/Library/Preferences/SmartGit/Unix/Linux: ~/.smartgit/ 2.
        
阅读全文
                    posted @ 
2016-07-31 22:48 
极简
        
阅读(1007) 
         
        推荐(0)     
                 
                
                
    .net版Git Server --- bonobo
    
                
摘要:官网地址: https://bonobogitserver.com/ Demo: http://demo.bonobogitserver.com/Home/LogOn 登入admin:admin Code: https://github.com/jakubgarfield/Bonobo-Git-Se
        
阅读全文
                    posted @ 
2016-07-31 22:42 
极简
        
阅读(1422) 
         
        推荐(0)     
                 
                
                
    线程操作若干(复习)
    
                
摘要:lock关键 (lock的本质就是Monitor,另外Monitor,Mutex也是排它锁,相比之下Mutex是夸进程的) ILspy下看到的 Task取消 1 CancellationTokenSource tokenSource = new CancellationTokenSource(); 
        
阅读全文
                    posted @ 
2016-07-24 14:37 
极简
        
阅读(209) 
         
        推荐(0)     
                 
                
                
    异步的两种写法: async 与 BeginInvoke
    
                
摘要:现在要实现异步只要用关键字async/await就可以轻松实现,在此之前需要用到委托/回调等一堆东西。 对一下是对比写法:
        
阅读全文
                    posted @ 
2016-07-23 20:36 
极简
        
阅读(746) 
         
        推荐(0)     
                 
                
                
    winform 防止主界面卡死
    
                
摘要:总结网络上的解决方案:新线程=> 委托=> 主界面的异步更新方法(IAsyncResult BeginInvoke(Delegate method)),一句话就是通过委托调用另一个线程的异步方法. 验证方法:当线程执行时,拖拽主窗体,没有卡死迹象. 1 using System; 2 using S
        
阅读全文
                    posted @ 
2016-07-21 22:39 
极简
        
阅读(4585) 
         
        推荐(0)