26 de junio de 2018

Configure DiffMerge on Windows

These are commands to set DiffMerge for Windows as default difftool / mergetool

To configure as diff tool

To configure as merge tool

If you want to get more information, you can check SourceGear DiffMerge.

To check all configuration, you can type git config --global -e and your git file should looks like this:


22 de marzo de 2018

27 de febrero de 2018

Remove Specific Built-In Windows Apps from Current Account in PowerShell

Here is the way to delete some annoying or unuseful built-in apps through Windows Power Shell, this only applies for the current account only.
  1. Open Windows PowerShell.
  2. Copy and paste the command below for the app you want to uninstall into PowerShell, press Enter. 
3D Builder
Get-AppxPackage *Microsoft.3dbuilder* | Remove-AppxPackage

Adobe Photoshop Express
Get-AppxPackage *AdobeSystemsIncorporated.AdobePhotoshopExpress* | Remove-AppxPackage

Alarms & Clock
Get-AppxPackage *Microsoft.WindowsAlarms* | Remove-AppxPackage

App Connector
Get-AppxPackage *Microsoft.Appconnector* | Remove-AppxPackage

Asphalt 8:Airborne
Get-AppxPackage *Microsoft.Asphalt8Airborne* | Remove-AppxPackage

Calculator
Get-AppxPackage *Microsoft.WindowsCalculator* | Remove-AppxPackage

Camera
Get-AppxPackage *Microsoft.WindowsCamera* | Remove-AppxPackage

Candy Crush Soda Saga
Get-AppxPackage *king.com.CandyCrushSodaSaga* | Remove-AppxPackage

Drawboard PDF
Get-AppxPackage *Microsoft.DrawboardPDF* | Remove-AppxPackage

Facebook
Get-AppxPackage *Facebook* | Remove-AppxPackage

Fallout Shelter
Get-AppxPackage *BethesdaSoftworks.FalloutShelter* | Remove-AppxPackage

Farmville 2:Country Escape
Get-AppxPackage *FarmVille2CountryEscape* | Remove-AppxPackage

Feedback Hub
Get-AppxPackage *Microsoft.WindowsFeedbackHub* | Remove-AppxPackage

Get Help
Get-AppxPackage *Microsoft.GetHelp* | Remove-AppxPackage

Get Started or Tips (build 1703)
Get-AppxPackage *Microsoft.Getstarted* | Remove-AppxPackage

Groove Music
Get-AppxPackage *Microsoft.ZuneMusic* | Remove-AppxPackage

Mail and Calendar
Get-AppxPackage *microsoft.windowscommunicationsapps* | Remove-AppxPackage

Maps
Get-AppxPackage *Microsoft.WindowsMaps* | Remove-AppxPackage

Messaging
Get-AppxPackage *Microsoft.Messaging* | Remove-AppxPackage

Microsoft Solitaire Collection
Get-AppxPackage *Microsoft.MicrosoftSolitaireCollection* | Remove-AppxPackage

Microsoft To-Do
Get-AppxPackage *Todos* | Remove-AppxPackage

Microsoft Wallet
Get-AppxPackage *Microsoft.Wallet* | Remove-AppxPackage

Microsoft Wi-Fi
Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage

MinecraftUWP
Get-AppxPackage *MinecraftUWP* | Remove-AppxPackage

Mobile Plans
Get-AppxPackage *Microsoft.OneConnect* | Remove-AppxPackage

Money
Get-AppxPackage *Microsoft.BingFinance* | Remove-AppxPackage

Movies & TV
Get-AppxPackage *Microsoft.ZuneVideo* | Remove-AppxPackage

MSN News
Get-AppxPackage *Microsoft.BingNews* | Remove-AppxPackage

My Office
Get-AppxPackage *Microsoft.MicrosoftOfficeHub* | Remove-AppxPackage

Netflix
Get-AppxPackage *Netflix* | Remove-AppxPackage 

OneNote
Get-AppxPackage *OneNote* | Remove-AppxPackage 

Paint 3D
Get-AppxPackage *Microsoft.MSPaint* | Remove-AppxPackage

Pandora
Get-AppxPackage *PandoraMediaInc* | Remove-AppxPackage

People
Get-AppxPackage *Microsoft.People* | Remove-AppxPackage

Phone
Get-AppxPackage *CommsPhone* | Remove-AppxPackage

Phone Companion
Get-AppxPackage *windowsphone* | Remove-AppxPackage

Photos
Get-AppxPackage *Microsoft.Windows.Photos* | Remove-AppxPackage

Print 3D
Get-AppxPackage *Microsoft.Print3D* | Remove-AppxPackage

Royal Revolt 2
Get-AppxPackage *flaregamesGmbH.RoyalRevolt2* | Remove-AppxPackage

Scan
Get-AppxPackage *WindowsScan* | Remove-AppxPackage

Sketch Book
Get-AppxPackage *AutodeskSketchBook* | Remove-AppxPackage

Skype
Get-AppxPackage *Microsoft.SkypeApp* | Remove-AppxPackage

Sports
Get-AppxPackage *bingsports* | Remove-AppxPackage

Sticky Notes
Get-AppxPackage *Microsoft.MicrosoftStickyNotes* | Remove-AppxPackage

Store (NOT RECOMMENDED)
Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage

Sway
Get-AppxPackage *Office.Sway* | Remove-AppxPackage 

Twitter
Get-AppxPackage *Twitter* | Remove-AppxPackage

View 3D Preview
Get-AppxPackage *Microsoft3DViewer* | Remove-AppxPackage

Voice Recorder
Get-AppxPackage *Microsoft.WindowsSoundRecorder* | Remove-AppxPackage

Weather
Get-AppxPackage *Microsoft.BingWeather* | Remove-AppxPackage

Xbox
Get-AppxPackage *Microsoft.XboxApp* | Remove-AppxPackage

Xbox One SmartGlass
Get-AppxPackage *XboxOneSmartGlass* | Remove-AppxPackage

Xbox Game Speech Window
Get-AppxPackage *Microsoft.XboxSpeechToTextOverlay* | Remove-AppxPackage

Source: This is a part from Uninstall Apps in Windows 10 by Windows 10 Forums

6 de febrero de 2018

Monitor turns off after 2 minutes inactivity

My laptop monitor turning off after 1 or 2 minutes of inactivity. I have changed all power settings to appropriate times. At times, normally after a fresh restart, my screen saver kicks in correctly. However, after a few times of working correctly, my monitor begins to turn off again.

Here is the solution that worked out for me:
  1. Click on the windows icon 
  2. Type regedit 
  3. Right-click on regedit icon, click Run as administrator 
  4. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0 
  5. Double click on Attributes 
  6. Enter number 2. 
  7. Go to Advanced power settings (click on Windows button, write power options, click on Power Options, in the selected plan click on the Change plan settings, click on the Change advanced power settings). 
  8. Click on the Change settings that are currently unavailable 
  9. Click Sleep, then System unattended sleep timeout, then change these settings from 2 Minutes to 20 for example. That's it! 
Source: https://www.tenforums.com/performance-maintenance/17899-monitor-turns-off-after-2-minutes-inactivity-3.html#post441903