working with pickle files can be tricky in python. At times when loading the pickle file using the load method of the pickle module you might get an error as below: UnpicklingError : invalid load key, '\xef'. Please note this error is caused by corruption in the data of the pickle file which might have been caused due to copy operation of the pickle file or other reasons. You can attempt to re-copy the pickle file and save again to make this error go away
At times you are faced with requirements to move data within Azure from one storage account to another for multiple reasons say Reorganization, billing constraints, Data Usability, Data Governance etc. To move all the containers within your storage account along with all the blobs present inside each of the container presents a challenging situation. Well "azcopy" comes to the rescue. It enables you to either selectively copy only certain blobs inside your containers or copy specific containers from one storage account to another. Besides it can also enable you to copy your entire storage account contents along with all the containers and blobs present in it from one storage account to another. Below is an example highlighting the syntax to use to copy all the contents of one storage account including containers and blobs to another storage account. The storage accounts can be in the same region or different. azcopy copy 'https://<source-storage-account-name>.blob...
Time and again we do come across many email ID's . With cloud becoming a de facto of IT services offered increasingly organizations are trying to offload their mail service to vendors. Office 365 from Microsoft has emerged as a leader in providing email as a service. To determine if an organization is hosting their mail services on O365 we can use an API call as below:- https://login.microsoftonline.com/getuserrealm.srf?login=username@acmecomputercompany.com&xml=1 The output would be an xml as below If the "NameSpaceType" indicates "managed" then the organization is using O365 for their email services. Other values are "federated" for "Federated active directory" Easy isnt it! So go out there and try it out. Post your comments if you find any issues and I will look into it!
Comments
Post a Comment