Trim Trailing Space & Save
Macro > Trim Trailing and save
--- Map this to Ctrl S
Remove the trailing spaces
TextFX > TextFX Edit > Trim Trailing Spaces
Useful programming or computer tips that I have found and want to remember for later.
This happens whenever there is an app running that requires 4G and can't communicate over Wifi, most likely the T-Mobile My Account app. Try launching it (to bring it into the foreground), press Home, and then go to the Task Manager app to kill it.
You could also try Llama from the market and try the following - it has worked wonders for my battery as well.
Turn off T mobils contact sync
menu -> settings -> accounts and sync -> uncheck T-Mobil contacts
Ensure mobile data is not active when connected to wifi - here is how
Install Llama from the Android Market
Add an event called WiFi
Add condition: WiFi connected (any network)
Add action: Wifi Sleep Policy (never sleep)
Add action: toggle Mobile Data (off)
Add another event called WiFi Disconnected
Add condition: WiFi disconnected (any network)
Add action: WiFi Sleep Policy (Sleeps when screen turns off)
Add action: Toggle Mobile Data (on)
This will clear up the dual wifi 4g issue + save you some battery
Setup for !avrf
!avrf requires the symbol path to be setup correctly. Use the following commands to set your symbol path.
From: http://geekswithblogs.net/akraus1/archive/2010/06/25/140610.aspx
Here is a MSBuild project file that allows you to specify multiple configurations and platforms. The advantage of this approach is that you get a single report with all the build results.<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Rebuild" ToolsVersion="4.0"><ItemGroup><ConfigurationList Condition=" '@(ConfigurationList)' == '' and $(Configuration) != '' " Include="$(Configuration.Split(';'))" /><ConfigurationList Condition=" '@(ConfigurationList)' == '' " Include="Debug" /><PlatformList Condition=" '@(PlatformList)' == '' and $(Platform) != '' " Include="$(Platform.Split(';'))" /><PlatformList Condition=" '@(PlatformList)' == '' " Include="Xbox 360" /><TargetList Condition=" '@(TargetList)' == '' and $(Targets) != '' " Include="$(Targets.Split(';'))" /><TargetList Condition=" '@(TargetList)' == '' " Include="Rebuild" /><ProjectList Condition=" '@(ProjectList)' == '' and $(Projects) != '' " Include="$(Projects.Split(';'))" /><ProjectList Condition=" '@(ProjectList)' == '' " Include="$(MSBuildProjectDirectory)\Test.sln" />ItemGroup><Target Name="Rebuild" Outputs="%(PlatformList.Identity)"><PropertyGroup><CurrentPlatform>%(PlatformList.Identity)CurrentPlatform>PropertyGroup><MSBuild Projects="@(ProjectList)"Properties="Configuration=%(ConfigurationList.Identity);Platform=$(CurrentPlatform);"Targets="@(TargetList)"SkipNonexistentProjects="true"/>Target>Project>usage:msbuild BuildProject.proj /p:Projects="ProjA;ProjB" /p:Configuration="Debug;Release" /p:Platform="XBox 360;Win32;x86" /p:Targets="target"examples:msbuild BuildProject.proj-- this will rebuild default solution for Debug|Xbox 360msbuild BuildProject.proj /p:Projects="Test2.sln;Test1.sln" ^/p:Configuration="Debug;Release" ^/p:Platform="XBox 360;Win32;x86" ^/p:Targets="clean;build"-- this will build everything