Tuesday, October 31, 2017

How to use Search Engine Search with Date Ranges : Compare who can and can’t , Compare results

All Search Engines are not created equally, unfortunately

A typical search may be: I need to limit my search results by date. For example, I want to search for all “c# MVC 4.0” articles in the past year,

We if we compare the following search engines, here is how to search by date (if available) and the results:

https://duckduckgo.com/

https://www.bing.com/
https://www.google.com/
https://search.yahoo.com/


DuckDuckgo.com


Summary: can’t do it.
DuckDuckGo.com is the search engine for people concerned about privacy. Their policy is: “We don’t store your personal info, we don’t follow you around with ads, and we don’t track you.”

Unfortunately, they aren’t set up to date search by anything but : past day, week and month, How lame is that!!!

I love DuckDuckgo.com however I cant live without atleast Pastr Year as a date option!! 

narrow search

Bing


Summary: able to do it.
search engine owned by Microsoft, Bing can be configured to narrow search results to specific dates.

Bing narrow searches

Yahoo
Summary: can’t do it.
Yahoo.com is one of the oldest search engines not able to filter search results by specific dates. However does allow, Past Day, week and Month, Just like DuckDuckGo.com

Yahoo narrow search

Google
Summary: able to do it.
Google.com – .search results based on dates, enter regular search, then “Tools”, then click on “Any time”. In that menu there’s an option for “custom range” where you can enter the dates you want to use:

Google narrow search

Winner:

Google and Bing!

Here are results


DuckDuckGo

image


Yahoo

image

Google

image

Bing:

image


Outlook VBA Run Rules Example

Use this to run Outlook Rules, can be used on a schedule or using Events, I use the Outlook App ItemSent and Quit events, as follows:

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
    Debug.Print "Application_ItemSend"
    DeferSendWithRealSentTime.RunRules
End Sub


Calls...
'*****************************************
' Run Rules via code
' Run Rules starting with Sent using Sent Folder as param
'*****************************************
Public Sub RunRules()
 
On Error GoTo ErrHandler
   
    Dim objRules As Outlook.Rules
    Dim objRule As Outlook.Rule
   
   
    Set objRules = Application.Session.DefaultStore.GetRules
   
   
    For Each objRule In objRules
       
       Debug.Print "objRule.Name-> " & objRule.Name & ", START!"
       'Refer to the subject of the specific task item
     
       If InStr(objRule.Name, "Sent") = 1 Then
            'The corresponding specific rule
           
            With objRule
                 .Enabled = True
                 .Execute ShowProgress:=False, Folder:=Session.GetDefaultFolder(olFolderSentMail), IncludeSubfolders:=False
            End With
             
            Debug.Print "objRule.Name-> " & objRule.Name & ", DONE!"
         
        End If
    Next objRule

   
   GoTo ExitSub
 
   
ExitSub:
    'any always-execute (cleanup?) code goes here -- analagous to a Finally block.
    'don't forget to do this -- you don't want to fall into error handling when there's no error
    Exit Sub

ErrHandler:
    'can Select Case on Err.Number if there are any you want to handle specially

    'display to user
    DebugP "RunRules ERROR: " & Err.Description

    Resume ExitSub

End Sub

Thursday, October 26, 2017

Tune Android

RE Articles:
https://www.tomsguide.com/us/speed-up-android,news-21209.html
http://www.makeuseof.com/tag/how-facebook-ruining-android-what-you-can-do/
http://www.makeuseof.com/tag/7-free-google-services-that-cost-you-battery-life-privacy-android/
Advanced:
https://forum.xda-developers.com/note-4/general/list-disable-service-list-disabled-t3559212
http://phandroid.com/improve-battery-life/

1.
Disable Animations (1 minute)
Animations make all of the transitions and interactions with your operating system appear more fluid — right up until your phone starts slowing down and those animations start looking like stop motion video. If the animations aren’t flowing so well anymore, turning them off completely will both look better and free up a little processing power.image
Screenshot_2017-10-26-00-10-112. UnINstall Facebook, Intsall Facebook Lite: Official Facebook Without the Bloat3. in Developer Options (tap tap) there are three settings for Animations - disabling them all will both speed up response and save a little battery (you can also slow Animations down if you like seeing them),4. -I checked under dev options>apps...don't keep activities and set background process limit to none. hope this keeps the apps from autoloading.a.On this same menus, you can scroll further down to find Background Process Limit. By default, this is “Standard limit,” but adjusting it to 3 or 4 processes can slightly increase your battery life and may improve performance as well.
b. Disable Location History
c. But, you can also perform a blanket restriction in Settings > Data Usage; tap the Menu button tick the “Restrict Background Data” 


5. just goto Settings in Playstore App and uncheck Auto Updat6. Turning off notifications, :7 Google Play tweakScreenshot_2017-10-26-00-09-538. Google App Limit Data Use/Battery Drainimage9. Google Maps, reduce Drain:turn off Google Location History.image
Screenshot_2017-10-26-00-15-31Screenshot_2017-10-26-00-14-4110. Google Calendar:disable Phone and Location  permissions** OPTIONAL: Enable manual syncing by tapping on the slider to the right of Calendar11. Google PhotosDisable face GroupingimageScreenshot_2017-10-26-00-18-36then set : only upload pictures while plugged into a power source.12.  Google Hangouts disable notify google
image
13. Chrome
Turn on Data Saver
Turn Off Share Reports with Google
Tirn on Dont Track Me
image
Screenshot_2017-10-26-00-23-37

Screenshot_2017-10-26-00-15-58
14. Remove/Disable Bloatware and Unused Apps (1 minute)Disable :AmazonEbayInstagram15. OtherDisable Or Manage Background SyncUse LG V10 Power-Saving ModeDisable LTE, Location, BluetoothLG V10 ADVACNED: https://www.orduh.com/fix-lg-v10-battery-drain-overheating/
Screenshot_2017-10-26-00-55-56…16. backUp using Titanium16.a: How to backup to google cloud:16.b Restor: How to Backup and Restore Apps with Titanium App for Android!

Tune image

image


ADVANCED BATTERY CONTROLS: (ROOTED LG PHONES)


20171108 Phone overheating issue
 Batteries:
  PowerBear 6500 MAH Lithium ION 3.85V  6500mah
  OEMbl-45b1f 3.85v p/e309412n eac63158401 3000mah
  OEMbl-45b1f 3.85v p/e309412n eac63158401 3000mah
  tothl tqtvv10 3.85v    3800mah
 
 Phones:
  lgh901 znfh901 512kprw274254
  lgh901 znfh901 512kprw274254
  lgh901 znfh901 512kprw274254kpca403907-0
 
 CPU
  Qualcomm MSM8992 Snapdragon 808
  1.8 GHz
  CPU Hexa-core (4x1.4 GHz Cortex-A53 & 2x1.8 GHz Cortex-A57)
  GPU Adreno 418
 Settings / Software:
  Settings > Location > Mode > Battery Saving
  Disable NFC, wifi, Bluetooth, DevOptions | DisableAnimations,
  How to calibrate LG V10 battery without root access?
  Follow these Steps to calibrate your LG V10 Battery Performance:
  : Wipe Cache Partition
  Smart cleaning
 Advanced/Hardware
  Under Volt:
   Lower all of the voltages by -25mv across the board.
   I'm undervolted by -75 mV
   https://forum.xda-developers.com/showthread.php?t=1558080


  keep it underclocked or disable big cores
  Change Resolution
   1080 x 1920
   Nomone Resolution Changer. + Xposed, Amplify and Greenify
    https://www.androidauthority.com/community/threads/overheating.3260/
    https://www.androidauthority.com/improve-battery-life-xposed-amplify-greenify-668844/
   SEE BELOW
  You wanna fix the issue get something to dissipate the heat internally. There's lots of videos on YouTube showing this. Btw the g4 and every other phone with the sd 808/810 processors all have this same heat issue, brand new out of the box with a fresh battery.?
  under clock the CPU
   l Trickster MOD Kernel Settings from the Google Play
   Kernel Adiutor
   SetCPU
   NoFrills CPU Control
   AntuTu
   Faux123 Kernel
   PXA Clocker 5.1 Pro
   WarpSpeed
   Droid Overclock

  Shim: paper, it
  just between the motherboard and the screen : https://forum.xda-developers.com//g4/general/lg-g4-bootloop-fix-t3488449/post70606012#post70606012
  Discharge
   your LG V10 fully until it turns itself off.
   Turn it on again and let it turn off.
   Plug your phone into a charger and, without turning it on, let it charge until the on-screen or LED indicator says 100 percent.
   Unplug your charger.
   Turn your phone on. The battery indicator will likely not say 100 percent, so plug it in (leave your phone on for this) and continue charging until it says 100 percent on-screen as well.
   Unplug your phone and restart it. If it doesn’t say 100 percent plug the charger back in until it says 100 percent on screen.
   Repeat this cycle until it says 100 percent (or as close as you think it’s going to get) when you start it up without being plugged in.
   Now, let your battery discharge all the way down to 0 percent and let your phone turn off again.
   Fully charge the battery one more time without interruption and you should have reset the Android system’s battery percentage.

  Root Booster v3.0.2 [Premium]
  or
  Resolution Change + Xposed, Amplify and Greenify
   1. Root your G3 (It's better if you have just factory reset it, this is to start fresh and to reconfigure apps to run with the resolution u are setting)
   2. Remove bloatwares using apps like Titanium Backup
   3. Use Nomone Resolution Changer, change your Resolution to 1080 x 1920 and dpi to 480 or 400 (depends on your choice)
   4. Install Nova Launcher (the main reason is to fix the UI)
   5. Install your apps
   6. Install Greenify, Coolify and Xposed, Turn on Greenify modules on Xposed
   7. Install Nlpunbounce module for Xposed and turn it on.
   NOTE: Switching your resolution will give FCs on LG apps, to fix it, install App Settings for Xposed and change all LG apps to 530 dpi and 75 font scale.

   That's it, you will feel the change after cooling ur phone down, you will also receive a performance(gpu proccessing) and battery(gpu processing too, although changing resolution would still render the QHD pixels, its just that the processing would not
  Under Clock Sample
   https://forum.xda-developers.com/mi-4c/general/how-to-improve-battery-life-kernel-t3569713
   STEPS:
   After having enabled the root access to busybox and Kernel Adiutor(the apps will ask you this to you when you first open them, just check "enable"), enter in Kernel Adiutor in the CPU section and dial in the following values.
   BIG CORES: Max Frequency = 864 Mhz / Min = 302 Mhz
   SMALL CORES: Max Frequency = 672 Mhz / Min = 302 Mhz
   For both cores use "smartmax" Governor (this setting is right below the Frequency dials).
   GPU: Max Frequency = 450 Mhz / Min = 180 Mhz.
   Governor: simple_ondemand.
   As last step, go in development settings and watch for active apps that you don't need and with Greenify disable them. This should help the battery even more. Remember to freeze only apps that don't send notification, otherwise you will not receive them until you open the apps.

20171111: Unroot
 Flash:
  Once your on 20L that method no longer works, you can't rollback to 20J once on 20L. Otherwise you will brick and that's why the dirty cow method is necessary for 20L. That's the only option for now
 
  MM
   20L - kdz
   
    https://forum.xda-developers.com/tmobile-lg-v10/development/rom-v10h901v20estock-customized-t3360240/post66398972#post66398972
    https://www.firmwares.androidinfotech.com/lg-v10-t-mobile-h901-firmwares/
   20J - Tot and DirtyCow
    https://forum.xda-developers.com/tmobile-lg-v10/general/step-step-guide-rooting-lg-v10-using-t3382631
  Noug
   KDz:
    https://www.firmwares.androidinfotech.com/lg-v10-t-mobile-h901-firmwares/
   Tot
    http://www.android.gs/manually-install-official-android-7-0-nougat-on-lg-v10/
   
20171113
 *#546368#*901# will get you very deep inside of the system settings.. Bear in mind these are from a tmobile unit. Be careful what you decide to do with this. I am not responsible for any foul action. However they are too good not to share.
ind these are from a tmobile unit. Be careful what you decide to do with this. I am not responsible for any foul action. However they are too good not to share.
Attached Thumbnails












































Wednesday, October 25, 2017

Bookmarks CleanUp: Remove Dead Links and Delete Duplicates!

After an import of a bookmark file compounded my Chrome bookmarks into a mess of 4359 bookmarks, with over half being dups and who knows how many are dead, I found and tested  a few good tools, to clean bookmarks!

1. AM Dead Links (stand alone app, All browsers, )

2. Chrome Extension Sentry

3. Chrome Extension Super Sorter

AM Dead Links

AM-Dead Link is a program for Windows which you can use to organize your bookmarks.  Make sure you download 4.6, as 4.7 does not allow removal of bookmarks!

1. Download it, then setup,

2. install the program on computer or extract to a usb: e.g:

image


With USB the program is now a portable copy !

3. Before starting, backup your book marks. .

4. After you have installed the program, launch it.

Having done that, simply select the browser you wish to check for the dead links in the dropdown menu.

select browser

5. The tool will read the bookmark configuration file for the browser and list them all. The process might take time , once the initial scan is done..check bookmarks

6..To scan for dead bookmarks, click on Bookmarks in the menu and select Check Bookmarks. The tool will then test all the links that are there in the list and display the once that are no more alive.

6.a: Once the scan is over, again click on Bookmarks menu but this time select Sort bookmarks with errors to the top of the list.

6.b Once that’s done, you can select all the dead links and delete them using the delete button.

dead links

7. To check for duplicate bookmarks, click on Bookmark menu and select Check duplicates.

7.a: After the tool scans and returns the duplicate bookmarks, click on the button Select all duplicates but one. This will automatically exclude the original bookmark and select every other that’s duplicate.

7.b: You can now use the delete button to delete them.

select all but duplicate


Sentry Scanner,

Nice little extension that scans for dups and dead links, very simple. Download it here

1. Install

2. Click Options,

image

3. it will automatically starts scanning:

image

4. When done, Within seconds, you should see your scan results automatically open in a new tab; this process may take longer if you have a very large amount of bookmarks.


image


More screen shots:

image

Wow allot of Dead Links & DUPS!!!

image



Super Sorter

SuperSorter options

This extension adds a small green arrow icon next to the URL bar, Download it here

1. . Visit the extension’s options to remove duplicates and set your sorting options.

2. default, the extension only searches for duplicates in bookmark folders and not the ones on your bookmarks bar.

3. To include bookmarks on the bookmarks bar when searching for duplicates, uncheck Ignore Bookmarks Bar and click Save Options. All changes in the options must be saved or they will not take effect.

4. To find and remove duplicates; click the Find all duplicates now in the extension’s options. The extension will search and list all duplicate bookmarks that it finds along with the folder they’ve been saved in.

5. To delete abookmark, select it and click Delete Selected.

6. To select multiple bookmarks, you can use the Select all but first or Select all but last options. This will ensure that only one of each bookmark is saved and all other duplicates are removed. When prompted by the extension, click Confirm to delete the duplicates. Bookmarks cannot be recovered once deleted.

Tuesday, October 24, 2017

RoboCopy and Context Menu

1. Create Bat files to Push, Pull and Synch files with Robocopy.

2. Create Script bat files to get input and output dirs. Either via %1 context and/or prompt via cmd.

3. Create Reg files to register commands for each Script bat file.


In my scenario, here is end result:

image

created with this reg files:


image


Mapped to these bat files:

image


This allows Push, Pull and Synch with netwirk drives!

RoboCopy + .bat + regedit = Context Menu Happiness and less work trying to run commands to backup / synch dirs!


Summary of commands is below:

1) Synch00_PUSH Files to Network Synch.OneWay.Script.bat
     Synch.OneWay "C:\Temp\Source" "C:\Temp\Destination"
     C:\Temp\Synch.OneWay.BBPics.bat
    
2) Synch00_PULL Pics to another (n) machine Synch.Mirror.Script.bat
     PULL
     Synch.Mirror C:\Temp\Destination C:\Temp\Source2
    
    
3) Synch02_PushAndPull Edit M2, Synch.Mirror.Synch.All.Script.bat
     PUSH
     Synch.Mirror C:\Temp\Source2 C:\Temp\Destination
     PULL Deltas
     Synch.All C:\Temp\Destination C:\Temp\Source2

Monday, October 16, 2017

Android Tasker Samples: Library of Tasker Profiles and Tasks to make life easier

I compiled and modified some of the following tasks from various open source sources across the internet, the below list of links provided most of the samples,

See below for A) Link to Tasker Library samples in zip and 2) List of links to tasker samples and tasker learning resources



A) Link to Tasker Library samples in zip file. Download, unzip and Import into Tasker.


B) List of Links to samples and misc tasker resources (eg: tutorial vids)

Disable WIFI when wifi not connected for n-sec

https://www.youtube.com/watch?v=E4je_YKNBWA and https://www.youtube.com/watch?v=sB4vu9qSMn4

Sources

https://github.com/ProLoser/Tasker-Presets

https://github.com/noties
https://www.reddit.com/r/TaskerFiles/

Subreddits with some good tasks
https://www.reddit.com/r/TaskerFiles/comments/2xtau3/submit_new_paste_to_pasteeorg_from_within_tasker/
https://www.reddit.com/r/TaskerFiles/comments/2tx3rs/automatically_adjust_volume_during_playback_of_an/
https://www.reddit.com/r/TaskerFiles/comments/27e1ug/task_trigger_action_only_if_x_amount_of_time_has/
https://www.reddit.com/r/TaskerFiles/comments/24raz5/profiledisables_lockscreen_keyguard_when/
https://www.reddit.com/r/TaskerFiles/comments/1yhvbu/task_kill_process/
https://www.reddit.com/r/TaskerFiles/comments/1y8sxj/profile_maximum_brightness_when_executing/


Misc:
https://lifehacker.com/5930652/unleash-the-power-of-android-with-these-automated-apps
http://tasker.wikidot.com/profile-index

http://techsplurge.com/4926/android-awesome-15-tasker-profiles-tutorials/



Turn off WIFI when no Internet Available

1) Using Shell:

a) Profile on polling cycle : Time every n min


b) Using dumpsys wifi | grep curState=NotConnectedState

image

image


2) Using HTTP

he task then is a conditional one, which could be described as "switch off WiFi if I cannot reach the internet". So let's put that together:

  • Condition:
    • Time.
      In the fields, define the time frame this should be active in, and the "repeat" interval.
    • WiFi connected.
      I recommend adding that to safe some juice: If you're already on mobile data with WiFi turned off, there's no need to turn WiFi off – right? Alternatively, you could also use %WIFI ~ on – but that could give you a headache when you just switch it on and, failing to retrieve the URL, Tasker switches it off before it connects ;)
  • Task:
    • HTTP Get
    • WiFi (off) IF %HTTPR ~ –1


Disable mobile data on WIFI, some arguments about when Android OS kicks in, and battery use (timespane when switching from WIFI to mobile,)

The moment you don't have wifi anylonger, the phone starts a fullburst search for wifi and 3G/4G networks (even if I don't want wifi/data at the moment). and this drains a hell of a lot of battery. then (if you go out e.g.) it finds a 3g/4g-connection which it tries to keep up (drains a lot battery) and in the same time searches for wifi-networks (also drains battery)... very inefficient use of battery

https://forum.xda-developers.com/xperia-z/themes-apps/toggle-wifi-mobile-data-tasker-t2591546

Wednesday, October 4, 2017

Photo Management: Edit EXIF and MetaData, Organize, Edit & Upload to Google Photos. Tools and the steps.


I. Edit EXIF and MetaData

EXIF Data as Tool Tips or Advanced Propeties via Shell Extension

1. View EXIF Data for Images from Windows (Via some Shell Ext) and stand alone tooles:

Fast Preeview : Integrate with Windows Explorer, with Clickable MAP!!! setupexe -> FastPreview-x86_64-4.1.exe

PhotoME : Detailed EXIF info single photots, setupexe –> PhotoME079R17Setup.exe

FastStone PhotoViewer, View EXIF in batch mode in viewer with, setupexe –> faststoneviewer.exe

Misc Tools  JPEGsnoop_v1_8_0.zip & ExifDataView

2. Edit EXIF Data, in Batch Mode!!

Geo Tagging App, Freeware, BATCH UPDATE GEO DATA!!

                 Good Blog on how to use it

GeoTag from SourceForge, little newer

  • install
  • configure
  • add photos, copy location from 1 photo to others, ect ect, AWESOME batch functionality!
    image

Here is workflow to use it GetTag:

Here's the simplest solution. I wanted to geotag a batch of photos before uploading to Google My Business for SEO purposes. Now that Picasa is gone, my searches led me to lots of out-of-date software. I used the LATLONG site for latitude and longitude. In GEOTAG (uploaded a bunch of photos), I entered that info plus business name, town, description, etc. To copy info from the first to the last photo, hold the shift key and press the down arrown. All copied in the column! Get both free from here:


http://www.latlong.net/

A really good video on geotagging for business reasons: https://www.youtube.com/watch?v=__Xus6mFjq8&t=9s

preReq: GPSbabel (http://www.gpsbabel.org) and EXIFtool (http://www.sno.phy.queensu.ca/~phil/exiftool).

Then add paths

"C:\Program Files (x86)\GPSBabel\gpsbabelfe.exe"

"C:\Work\Tools\Media\Imaging\EXIFViewer\exiftool(-k).exe"

  • download
  • rename to exiftool.exe
  • save to c:\windows\system32
  • set runas admin on props


image

Set settings

image

3. Via Tool tip per this article

Another ref

Open RegEdit


to this

II. Organize : Move Images into organizes Folder Structures

This is a supplement/extension to the existing post from June 2017, see here

After reviewing tools. I decided to use PhotoMove, instead of combining freeware tools like batch rename with files to folders. The low cost of PhotoMove allows me to save $ and use just 1 tool.

1. Remove Duplicates with VisiPics, See here for more links on Dup tools

image

2. Organize & Move Images into organized folders. using PhotoMove

Alternative: Freeware, combining freeware tools like “batch rename” with “files to folders” See full how to here:

3. I Still for batch rename files and folders, (Freeware tools)  use “batch rename” & “files to folders” individually as they are great tools

III. Edit & Upload to Google Photos

1. ABCDSee

2. LightRoom

3. Ect

and them publish photos to Google Photos

See google photos workflow here


IV. Misc Info on Menus



HKEY_CLASSES_ROOT\SystemFileAssociations\.jpg

To give another real-life application, the default information displayed for JPG picture files are only the file type (JPG), the date taken, rating, the size of the picture (in pixels), and the size of the file.

Or in other words, the registry Infotip entry contains the following properties by default:
prop:System.ItemType;System.Photo.DateTaken;System.Keywords;*System.Photo.PeopleNames;System.Rating;*System.Image.Dimensions;*System.Size;System.Title
I would like to display more information in the Windows Explorer infotip, so I changed the registry entry to:
prop:System.ItemType;System.Photo.DateTaken;System.Keywords;*System.Photo.PeopleNames;System.Rating;*System.Image.Dimensions;*System.Size;System.PropGroup.Camera;System.Photo.CameraManufacturer;System.Photo.CameraModel;System.Photo.MeteringMode;System.Photo.ExposureProgram;System.Photo.ExposureBias;System.Photo.ExposureTime;System.Photo.FNumber;System.Photo.ISOSpeed;System.Photo.WhiteBalance;System.Photo.LensManufacturer;System.Photo.LensModel;System.Photo.FocalLengthInFilm;System.Photo.FocalLength;System.Photo.SubjectDistance;System.Photo.Flash;System.Photo.FlashEnergy;System.Photo.FlashManufacturer;System.Photo.FlashModel;System.Photo.LightSource;System.Title


On my system changed:

20171004
from
prop:System.ItemType;System.Photo.DateTaken;System.Keywords;*System.Photo.PeopleNames;System.Rating;*System.Image.Dimensions;*System.Size;System.Title

to
prop:System.ItemType;System.Photo.DateTaken;System.Keywords;*System.Photo.PeopleNames;System.Rating;*System.Image.Dimensions;*System.Size;System.PropGroup.Camera;System.Photo.CameraManufacturer;System.Photo.CameraModel;System.Photo.MeteringMode;System.Photo.ExposureProgram;System.Photo.ExposureBias;System.Photo.ExposureTime;System.Photo.FNumber;System.Photo.ISOSpeed;System.Photo.WhiteBalance;System.Photo.LensManufacturer;System.Photo.LensModel;System.Photo.FocalLengthInFilm;System.Photo.FocalLength;System.Photo.SubjectDistance;System.Photo.Flash;System.Photo.FlashEnergy;System.Photo.FlashManufacturer;System.Photo.FlashModel;System.Photo.LightSource;System.Title




Appendix : VisiPics Dup Test Results:

25 dups

clip_image002

15 dups

clip_image004

15 pics
clip_image006