I tried some git clients, I read loads tutorials. Now I am going to write about simpliest and easiest way to commit, pull, push and clone code files using Git respository and particularly GitHub.com.
I tryed these 4:
Cygwin + git + ssh. It worked. But Its console based.
msysgit + putty stuff. Partly worked. Issue with ssh certificates
TortoiseGit - Tortoise didnt work for me too. Only clone function.
GitExtensions - It's using msysgit + Kdiff external programs. Its GUI based interface. But I couldn't make it work.
After these trials. I removed all software. Deleted all folders and C:\users\username\.ssh folder where rsa keys are stored.
Sunday, 20 March 2011
Monday, 10 January 2011
C# useful Shell functions
Get current user's StartUp folder path:
Environment.GetFolderPath(Environment.SpecialFolder.Startup) - returns string with startup path
Get list of StartUp processes started from the Register and StartUp folder:
ManagementClass mangnmt = new ManagementClass("Win32_StartupCommand");
ManagementObjectCollection mcol = mangnmt.GetInstances();
foreach (ManagementObject strt in mcol)
{
string[] lv = new String[4];
lv[0] = strt["Caption"].ToString();
lv[1] = strt["Location"].ToString();
lv[2] = strt["Command"].ToString();
lv[3] = strt["Description"].ToString();
listView1.Items.Add(new ListViewItem(lv, 0));
}
Environment.GetFolderPath(Environment.SpecialFolder.Startup) - returns string with startup path
Get list of StartUp processes started from the Register and StartUp folder:
ManagementClass mangnmt = new ManagementClass("Win32_StartupCommand");
ManagementObjectCollection mcol = mangnmt.GetInstances();
foreach (ManagementObject strt in mcol)
{
string[] lv = new String[4];
lv[0] = strt["Caption"].ToString();
lv[1] = strt["Location"].ToString();
lv[2] = strt["Command"].ToString();
lv[3] = strt["Description"].ToString();
listView1.Items.Add(new ListViewItem(lv, 0));
}
Labels:
Programming
Thursday, 16 December 2010
How to get list of Windows 7 Startup programs from Registry using C#?
I was googling and digging into windows Startup apps running from registry keys and the whole startup order proccess. Here is what I found out.
Startup apps order list.
(I am using Windows 7 HomePremium 64 bit.)
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
Startup apps order list.
(I am using Windows 7 HomePremium 64 bit.)
- Boot execute HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute
- Run Services
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices
- Logon Prompt - user enter username and password
- UserInit HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit
- Start Shell HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell
- LocalMachine Run keys
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
Labels:
Programming
Sunday, 12 December 2010
NaskoShell - my custom windows desktop replacement app
UPDATE:
This is discontinued project :(
I don't need custom shell for Windows anymore, because I switched to linux. OpenBox+PyTyle+Conky
Source is on my github have a look I you are intersted in Custom windows desktop shell in C#.
I have got 12.1" ASUS UL20a laptop and because of the size of the screen I wanted to optimize my desktop for better experience. I tried to simplify my default Windows 7 desktop, removed all icons, made Taskbar autohide, couldn’t completely remove it though.Finally I decided to write my own Windows desktop replacement.
So what I am working on is clear Desktop with:
This is discontinued project :(
I don't need custom shell for Windows anymore, because I switched to linux. OpenBox+PyTyle+Conky
Source is on my github have a look I you are intersted in Custom windows desktop shell in C#.
I have got 12.1" ASUS UL20a laptop and because of the size of the screen I wanted to optimize my desktop for better experience. I tried to simplify my default Windows 7 desktop, removed all icons, made Taskbar autohide, couldn’t completely remove it though.Finally I decided to write my own Windows desktop replacement.
So what I am working on is clear Desktop with:
- my daily to do tasks,
- time,
- reminder,
- simple background changer,
- some nice motivational or inspirational quotes.
- multiscreen (work, design, surf, chat, book reading, video )
- launchy-like app launcher
- fully keyboard control
Subscribe to:
Comments (Atom)