adhocshare Blog

0

Shrinking VirtualBox VDI Files

Source: http://garethtuckercrm.com/2012/07/25/shrinking-virtualbox-vdi-files/   1. Ran Disk Defragmenter within the VM and defrag’ed the disk.  2. Ran TreeSize Free within the VM to check for large files/folders that I could trim (didn’t find anything, but did notice the winsxs folder was huge, so did some research...

0

How to: Create and Use weak_ptr Instances

Source: http://msdn.microsoft.com/en-us/library/vstudio/hh279672.aspx   Sometimes an object must store a way to access the underlying object of a shared_ptr without causing the reference count to be incremented. Typically, this situation occurs when you have cyclic references betweenshared_ptr instances. The best design is to avoid shared...

0

Smart Pointers (Modern C++)

Source: http://msdn.microsoft.com/en-us/library/vstudio/hh279674.aspx   In modern C++ programming, the Standard Library includes smart pointers, which are used to help ensure that programs are free of memory and resource leaks and are exception-safe. Uses for smart pointers Smart pointers are defined in the std namespace in...

0

Memory layout of C program

A typical memory representation of C program consists of following sections. 1. Text segment2. Initialized data segment3. Uninitialized data segment4. Stack5. Heap A typical memory layout of a running process 1. Text Segment:A text segment , also known as a...

0

Memory Limits for Windows Releases

Source: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx   This topic describes memory limits for supported Windows releases:   Memory and Address Space Limits Physical Memory Limits: Windows 8 Physical Memory Limits: Windows Server 2012 Physical Memory Limits: Windows 7 Physical Memory Limits: Windows Server 2008 R2 Physical Memory Limits: Windows Server 2008...

0

Shopping sites

Online cell phone parts websites www.ebay.com vifocal.com dbx.com.cn www.ogodeal.com List of Online shopping sites in India www.naaptol.com www.homeshop18.com www.flipkart.com www.ebay.in shopping.indiatimes.com www.infibeam.com www.retailmart.com shopping.rediff.com www.yebhi.com www.junglee.com www.deltapage.com www.smartshoppers.in www.bitfang.com www.saholic.com www.coupondunia.in www.discountsvu.com   Defunct shopping websites in India www.timtara.com netnlap.com...

0

Online gadget shopping sites

Following is the list of online gadget shopping sites. These are lesser known than the big giants such as ebay, amazon, bestbuy, flipkart, etc. www.aliexpress.com www.bestofferbuy.com www.buyincoins.com www.chaarly.com www.chinanewfashion.com www.chinavasion.com www.davismicro.com www.dealextreme.com www.dhgate.com www.dinodirect.com www.everbuying.com www.focalprice.com www.freegiftbox.com www.globallyshop.com www.lightake.com www.lightinthebox.com...

0

add a user to sudoers list

Following are the steos that will add a user to sudoers list Open a Root Terminal and type visudo (to access and edit the list) Using the up/down arrows, navigate to the bottom of the sudoers file that is now displayed in the...

0

tmux – the terminal multiplexer

Tmux, short for terminal multiplexer, is a utility which allows for the creation and use of multiple terminal sessions with a single window. A user can easily manage multiple tasks and command line programs on a Linux server, without the...