Friday, July 31, 2020

Dynamic programming


DATA structures:

m-trees:
https://stackoverflow.com/questions/4872969/practical-use-of-m-way-tree


Reference:
https://www.techiedelight.com/introduction-dynamic-programming/

Wednesday, February 22, 2017

Apple mac

To put back multiples files from Trash:

Open apple script editor and copy paste following code and run.

repeat 5 times --or as many files you have
    tell application "Finder" to open trash --open the trash folder
    tell application "Finder" to activate
    tell application "System Events"
        tell process "Finder"
            delay 0.2 -- adjust delay as needed
            key code 125 --move down to get focus on a file
            key down command --hold command key
            delay 0.2 -- adjust delay as needed
            key code 51 --hit delete
            key up command --release command
        end tell
    end tell
    delay 0.2 -- adjust delay as needed
    tell application "Finder" to close every window --close everything for the next cycle
end repeat

 Flash drive/USB not recognized for macbook pro:

This method solves the issue after the drive is formatted and reconnected to the system. In order to do that, here are the steps;

1 – Press Command + Spacebar and connect the flash drive.

2 – Open Application and click on Disk Utility Option

3 – Select the Flash Drive on the left pane.

4 – Click on Erase button to complete the process                           




Reference:
https://www.remosoftware.com/info/fix-flash-drive-not-recognized-mac-windows
https://forums.macrumors.com/threads/batch-put-back-files-from-trash-to-original-location.1573914/

Monday, May 11, 2015

EAP


On EAP(yet start)


References:
https://sites.google.com/site/amitsciscozone/home/switching/peap---protected-eap-protocol

Sunday, December 21, 2014

Firefox

about:config
1. "browser.search.showOneOffButtons == false" to set old searchbar. Which can be navigated through Ctrl+ up/down

Links:
https://support.mozilla.org/en-US/questions/1035085

Thursday, June 26, 2014

Microsoft Excel

1. Take in a cell display in multiple lines: Alt-Enter.

2. Create new row:
    Alt + i + r
    shift + space and Keyboard Right-Click Key +  i
    Ctrl + shift + + -- add row/column
    Ctrl + -  -- delete row/column
    To repeat same action again, press F4 so that you can create multiple rows.
3.  To freeze the header
      View =>"Freeze Panes"
4. To manually select the options on a cells
     alt + pagedown + tab + scroll with arrow keys + select



References:
http://spreadsheetpage.com/index.php/tip/display_text_in_multiple_lines (1)
http://www.howtogeek.com/208342/how-do-i-insert-a-new-row-in-excel-via-the-keyboard (2)
http://superuser.com/questions/59872/fixing-the-first-row-as-sortable-title-in-excel-2007 (3)
 http://superuser.com/questions/178222/excel-keyboard-shortcut-to-move-swap-column-left-or-right#comment780862_626902

Monday, February 4, 2013

Network access clients

Network access clients:

Microsoft supplicant:

Machine Authentication

ACS supports the authentication of computers that are running the Microsoft Windows operating systems that support EAP computer authentication, such as Windows XP with Service Pack 1. Machine authentication, also called computer authentication, allows networks services only for computers known to Active Directory. This feature is especially useful for wireless networks, where unauthorized users outside the physical premises of your workplace can access your wireless access points.

When machine authentication is enabled, there are three different types of authentications. When starting a computer, the authentications occur in this order:

Machine authentication—ACS authenticates the computer prior to user authentication. ACS checks the credentials that the computer provides against the Windows user database. If you use Active Directory and the matching computer account in Active Directory has the same credentials, the computer gains access to Windows domain services.

User domain authentication—If machine authentication succeeded, the Windows domain authenticates the user. If machine authentication failed, the computer does not have access to Windows domain services and the user credentials are authenticated by using cached credentials that the local operating system retains. In this case, the user can log in to only the local system. When a user is authenticated by cached credentials instead of the domain, the computer does not enforce domain policies, such as running login scripts that the domain dictates.


Tip If a computer fails machine authentication and the user has not successfully logged in to the domain by using the computer since the most recent user password change, the cached credentials on the computer will not match the new password. Instead, the cached credentials will match an older password of the user, provided that the user once logged in to the domain successfully from this computer.


User network authentication—ACS authenticates the user, allowing the user to have network connectivity. If the user profile exists, the user database that is specified is used to authenticate the user. While the user database is not required to be the Windows user database, most Microsoft clients can be configured to automatically perform network authentication by using the same credentials used for user domain authentication. This method allows for a single sign-on. 

http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.2/user/guide/UsrDb.html#wp354014


PXE client:



Tuesday, July 24, 2012

Yoga Asanas

There are six yoga systems:
Hatha Yoga,
Raja(Ashtanga) Yoga,
Bhakti Yoga,
Jnana Yoga,
Kriya Yoga,
Karma Yoga

References:
http://www.self-realization.com/articles/yoga/yoga_systems.htm

Yoga Asanas:

Vrksasana(Tree Pose)
Sarvangasana
Chakrasana
Dhanurasana
Baddha Konasana
ustrasana 
naukasana
Bakasana
Ardha Navasana
Ardha Matsyendrasana
Adho Mukha Shvanasana
Adho Mukha Vrksasana
List to continue ...

Pranayamas: (puraka (inhale) and rechaka (exhale) )
Kapalbhati Pranayama
Anuloma-Viloma
Ujjayi
Bandhas
Jalandhara Bandha 
Bhastrika Yoga Pranayama

Chakras:
Muladhara Chakra (Root)
Svadisthana Chakra (Hips, Sacrum, Genitals)
Manipura Chakra (Navel, Solar Plexus)
Anahata Chakra (Heart)
Visuddha Chakra (Throat)
Ajna Chakra (Third Eye)
Sahasrara Chakra (Crown)


References:
http://yoga-hint.com -- With videos
http://www.yogajournal.com -- Categorical description
http://www.yogapoint.com  -- Good pictorial description, with followup poses
http://lovemyyoga.com -- Good categorization of yoga asanas
http://www.myyogaonline.com -- Same as above
http://yogaandexercise.blogspot.in -- Yoga postures as per needs of human life
http://www.onlymyhealth.com -- list downs health related info
http://www.yoga-asana.net
http://yoga-health-benefits.blogspot.in
http://completeyoga.co.za/
http://yoga.about.com
http://www.iyogaclass.com
http://benefitof.net/benefits-of-yoga
http://en.wikipedia.org/wiki/List_of_asanas -- List of asanas
http://generalistic.blogspot.in/2009/11/asanas-for-thyroid.html -- Good info on thyroid related asanas

http://www.yogaforums.com/forums/f16/chakras-and-corresponding-asanas-396.html -- Good info about Chakras