Agile Musings

Monday, August 01, 2016

Best Practices for the Security of Online Accounts

Regularly you can read about the online accounts being compromised. Here are the practices I use to keep them safe.

- Follow the best practices to keep your devices from getting malware. Here is a good guide. I do not add antivirus to our mobile devices though.

- From that same article, "Use passwords on everything and be sure that they're strong passwords: Do not use the same password for everything. Do not use easy-to-guess passwords. Use strong passwords that are at least eight characters in length and include capitals, numbers, and alternate characters. Password protect everything: Devices, email, VPN, anything that you don't want shared with others. Be paranoid and change your passwords often."

Treat your email password as the key of all your keys. Almost every other account allows you to reset you passwords by sending a unique link to your email address. I also enable 2-factor authentication.

- Use Two-Factor Authentication on the accounts you care most about. Just like you use your credit card and something you know, like your signature or your pin or zip code, two factor authentication makes your accounts more secure.

Wednesday, May 18, 2016

Owner Info on Android Lock Screen

Settings/Security/Owner info

From "How to Display Owner Information on the Lock Screen on Your Android Phone"

"If you lose your Android device, it’s not likely you’ll get it back. However, there are some kind souls out there who will try to return it, but if the device is locked, they won’t know how to reach you."

Thursday, April 14, 2016

Task Scheduler With Non-Zero Return Code

I get this solution from Win 2008 Task Scheduler With Return Code 1 (0X1)

It has been many hours very frustrated as to why my console app works fine running interactively but not when it runs in Window Task Scheduler.

I got this in the history for the task '...action "C:\Windows\SYSTEM32\cmd.exe" with return code 2147942401'

The solution was to do as the article above directs. Do NOT put the full file path in the program/script textbox. Instead put only the name of the bat file there. Put the path to the bat file in the Start in (Optional) field.

Wednesday, March 02, 2016

Why can't Windows 8 find the Startup Folder?

From https://support.microsoft.com/en-us/kb/2806079

Using a command prompt or windows run, (WindowsKey+R)

shell:startup

It will open the startup folder.

Saturday, December 05, 2015

TortoiseGit Tips

This article hold tips I want to remember for TortoiseGit

TortoiseGit save user authentication / credentials

This will keep you from having to enter your github credentials

Right click -> TortoiseGit -> Settings -> Git -> Credential. Select Credential helper: 
wincred - this repository only


How to set default remote ref in TortoiseGit?

In the Push dialog
- Select the remote branch you want to push to in the drop down list.
- Check the "Always push to the selected remote branch for this local branch" checkbox

Setting up VS 2013 and GitHub Locally

Install VS 2013

Set up source control provider Tools\Extensions and Updates. Choose Online, Search for git.
  • Choose "Git Source Control Provider" and install.
  • Switch to this provider in Tools\Options\Source Control
Add Pending Changes to Standard toolbar.
  • Right-Click on white space in tool bar, choose customize at the bottom
  • Pick Commands tab, choose the tool bar radio button, select the standard toolbar Click Add Command button, Choose the View Category, scroll down to Pending Changes Click the move down button until it is at the end of the standard toolbar.
Set Keep tabs. Tools\Options\ Search for "tabs" Find in Text Editor\All languages Choose the Keep Tabs radio button.
Show Line Numbers, Search for Line number in Tools\Options. Check "Line Numbers" in Text Editor\All Languages\General\

Install Git For Windows "Full installer for official Git for Windows"

  • Use defaults except for the following
  • In Select Components, choose Windows Explorer integration "Simple context menu (Registry based)" Git Bash Here
    "Use Git from the Windows Command Prompt" For Configuring the line ending conversions, choose "Checkout as-is, commit as-is" ### Install TortoiseGit Set User Info in TortoiseGit Settings\Git. Enter a user name and email.
Sample GitHub workflow:
  • Click Pending Changes button in VS 2013 standard toolbar.
  • check the files you want to commit
  • Enter comments and click the Commit button.
When you are ready to push
  • From the VS 2013 Pending Changes page Choose synch from the TortoiseGit drop down menu. Click the Push button.

TortoiseGit settings

To use BeyondCompare4 for your diff and merge tools use the following urls. To get to the TortoiseGit settings, right-click on any folder and go to TortoiseGit\Settings.
Under Diff Viewer put this in for the External path
  • "C:\Program Files\Beyond Compare 4\BComp.exe" %base %mine /title1=%bname /title2=%yname /leftreadonly
The child node under Diff View is Merge Tool. Use this for the External path
  • "C:\Program Files (x86)\Beyond Compare 4\BComp.exe" %mine %theirs %base %merged /title1=%yname /title2=%tname /title3=%bname /title4=%mname

Add Programs to Startup

Windows 8.1 Adding Programs to Startup