0
Posted on 9:35 AM by Softminer and filed under ,

Project management is the application of knowledge, skills, tools, and techniques to project activities to meet the project requirement. project management is accomplished through the application the appropriate application and integration of the 42 logically grouped project management processes comprising the 5 process Groups. these 5 process Groups are:


  • Initiating
  • Planning
  • Executing
  • Monitoring and Controlling and
  • Closing


Managing a project typically include:

Identifying the various needs, concerns, and expectations of the stakeholder as the project is planned and carrier out.

Balancing the competing project constraints including, but not limited to:


  • Scope
  • Quality
  • Schedule
  • Budget
  • Resources and
  • Risk
0
Posted on 6:04 AM by Softminer and filed under

DECLARE @DBName varchar(255)
DECLARE @LogName varchar(255)
DECLARE @DATABASES_Fetch int
DECLARE DATABASES_CURSOR CURSOR FOR
    select distinct
        name, db_name(s_mf.database_id) dbName
    from
        sys.master_files s_mf
    where
        s_mf.state = 0 and -- ONLINE
        has_dbaccess(db_name(s_mf.database_id)) = 1 -- Only look at databases to which we have access
    and db_name(s_mf.database_id) not in ('Master','tempdb','model')
    and db_name(s_mf.database_id) not like 'MSDB%'
    and db_name(s_mf.database_id) not like 'Report%'
    and type=1
    order by 
        db_name(s_mf.database_id)
OPEN DATABASES_CURSOR
FETCH NEXT FROM DATABASES_CURSOR INTO @LogName, @DBName
WHILE @@FETCH_STATUS = 0
BEGIN
 exec ('USE [' + @DBName + '] ; DBCC SHRINKFILE (N''' + @LogName + ''' , 0, TRUNCATEONLY)')
 FETCH NEXT FROM DATABASES_CURSOR INTO @LogName, @DBName
END
CLOSE DATABASES_CURSOR
DEALLOCATE DATABASES_CURSOR
0
Posted on 5:00 AM by Softminer and filed under

using (System.Diagnostics.EventLog eventLog = new System.Diagnostics.EventLog("Application"))
{
eventLog.Source = "Application";
eventLog.WriteEntry("Before Call", System.Diagnostics.EventLogEntryType.Information, 101, 1);
}
0
Posted on 1:53 AM by Softminer and filed under



Book can be ordered here
0
Posted on 4:05 AM by Softminer and filed under

TO be able to see files checked out you need to install TFS power tools

after that you will be able to run command prompt for visual studio

tf status itemspec [/collection:TeamProjectCollectionUrl] [/login:username,[password]] ([/workspace:workspacename[;workspaceowner]]|[/shelveset:shelvesetname[;shelvesetowner]])[/format:(brief|detailed)]
[/recursive][/user:(*|username)]

More Info

example
tf status "$/Project/MyApp" /collection:http://tfs:8080/tfs /user:myuser /recursive /workspace:myworkspace

To view it in Visual studio GUI

Right click on the top most folder that you want to start in
Choose "Find In Source Control"
Choose "Status"
Check "Recursive"
Check "Status"
Enter userid in the "Display files checked out to:" box (i have to include my domain, i.e. domain\userid)
Click "Find"


0
Posted on 7:40 AM by Softminer and filed under ,

Here is a simple example of reading file using javascript, more info on links
+
+
+

<input type="file" id="fileinput" />
<script type="text/javascript">
  function readSingleFile(evt) {
    //Retrieve the first (and only!) File from the FileList object
    var f = evt.target.files[0]; 

    if (f) {
      var r = new FileReader();
      r.onload = function(e) { 
       var contents = e.target.result;
        alert( "Got the file.n" 
              +"name: " + f.name + "n"
              +"type: " + f.type + "n"
              +"size: " + f.size + " bytesn"
              + "starts with: " + contents.substr(1, contents.indexOf("n"))
        );  
      }
      r.readAsText(f);
    } else { 
      alert("Failed to load file");
    }
  }

  document.getElementById('fileinput').addEventListener('change', readSingleFile, false);
</script>
0
Posted on 1:33 AM by Softminer and filed under

1. First make sure that the MTP is enabled on the Nexus 5: Settings > Storage > Menu > USB connection to the computer.

2. Plug your Nexus 5 into your computer via USB.

2. On Windows, open the device manager (on Windows 8, press "Ctrl+Q" then just use the search box at right hand side to search for it). You may need the administrator password to open it.

3. Once in the Device Manager, look for the name of your plugged in device. It may be given the name phone, Acer ADB Interface, or something else specific to your device. (It might be tricky to find for users unfamiliar with the device manager, so if you can't find it try unplugging the device and seeing which item disappears. You can just plug it in again afterwards and continue with the instructions.)

4. Right click on the device name and click "Update" by selecting local disk. Don't choose online because you'll just get a message telling you that your driver is up to date.

5. Choose MTP USB Driver.

6. Once the installation is complete, your device manager should show Nexus 5 instead of what you had before.