Saturday, May 26, 2018

Monday, March 07, 2016

How to run Damn Small Linux on Android(without root)



1. The first thing you need to do is to download the Damn Small Linux iso, and put it somewhere on the sdcard. After you have done that you need to install the application called "Limbo PC Emulator" on your phone.

2. Open up the application, and then select "New" in the dropdown menu, then select a name you want for the VM. 
After you have done that you need to change some settings like the amount of ram you want to be dedicated to the VM, and also where your bootable iso is located.

3. After you have changed all that you need to press the "Start" button and then it should boot to a screen with a DSL logo on, after that you need to press your menu button, then select keyboard and then press enter.

4. When that is done your phone should boot up DSL, but it may take a while to boot it.

How to make a Pendrive bootable via command prompt(cmd)


STEPS:
  1. Insert your USB flash drive to your running computer. As the first step, we need to run Command Prompt as administrator. To do this, we need to find cmd by typing 'cmd' in the search box on Windows Start Menu. After search result for 'cmd' appears, right click on it and select "Run as administrator".
  2. Type 'diskpart' on Command Prompt (without quotes) and hit Enter. Wait for a while until the DISKPART program run.
  3. Type 'list disk' to view active disks on your computer and hit Enter. There would be seen that the active disks shown as Disk 0 for hard drive and Disk 1 for your USB flashdrive with its total capacity.
  4. Type 'select disk 1' to determine that disk 1 would be processed in the next step then hit Enter.
  5. Type 'clean' and hit Enter to remove all of data in the drive.
  6. Type 'create partition primary' and hit Enter. Creating a primary partition and further recognized by Windows as 'partition 1'.
  7. Type 'select partition 1' an hit Enter. Choosing the 'partition 1' for setting up it as an active partition.
  8. Type 'active' and hit Enter. Activating current partition.
  9. Type 'format fs=ntfs quick' and hit Enter. Formatting current partition as NTFS file system quickly.
  10. Type 'exit' and hit Enter. Leaving DISKPART program but don't close the Command Prompt instead. We would still need it for next process.

Sunday, January 18, 2015

Use Pendrive (USB) as RAM for Windows 7 and 8

Steps of Ready Boost concept only for Windows 7, 8 


  • Firstly Insert your "Pen Drive" >> Now Right click on your pen drive.
  • Open "Properties" >> Then "ReadyBoost" Tab.
PenDrive Properties
  •  Then switch to "Use this device" and reduce your current memory space. If your current device place is 3700MB then reduce it with approx 200-300MB.
Pendrive Readyboost
  • Then click on Apply button and all Done.
  • In case if you want to change back your pen drive to normal then switch it back Don't use device in Readyboost tab

Important Recommendations:-


  • Always Safely Eject Your Pen Drive. Direct remove removal may leads to device damage.
  • In Virtual Memory method If you want to convert back your Pen into Normal Then Again open Virtual Settings And Remove custom memory value and choose Default settings by checking "Automatically Manage Paging Size"
  • In ReadyBoost method don't forget to revert back to normal or otherwise open your pen drive and delete Readyboost file from your pen drive.

Saturday, January 10, 2015

Reveal of Discovery of India

हिंदुस्तान की खोज वास्को डी गामा ने भारत की खोज नहीं की थी, वह भारतवर्ष को लूटने के लिये आया था, एक चोर और लुटेरे को हमारे इतिहास में गलत तरीके से हीरो बना कर पेश किया गया#ExposeMacaulayEducation

Tuesday, December 16, 2014

Delhi Public School Agra

DPS Agra promises to deliver world - class holistic education to its students. Education that imparts knowledge by instilling confidence. Students are encouraged to ask questions instead the other way round because we believe that a curious mind is the receptacle of learning. We allow young children to explore 'the outside' because learning cannot be confined within the four walls of the classroom and that there is no better teacher than nature. We have embraced technology and innovation with an open mind because children of this millennium have to master technology and not become its slave. Our efforts are backed by the ergonomic and scientifically designed campuses which are a learning space as a whole. Emphasis is been laid on utilizing natural resources to the fullest. Students are taught the importance of environmental conservation through conscious minimizing and recycling of waste and making the school a zero - tolerant zone for plastics and polybags.

MY FRIENDS



Monday, May 19, 2014

C++ coding for Tic Tac Toe game

#include <conio.h>
#include <iostream>
using namespace std;

void ticTacToe() {
    char w = 0, b[9] = { '1','2','3','4','5','6','7','8','9' };
    char player[][9] = { "Player O", "Player X" };
    unsigned int slot = 0, turn = 1, moves = 0;
    for(;;) {
        system("cls");
        cout << "Tic Tac Toe!" << endl << endl;
        cout << "   " << b[0] << "|" << b[1] << "|" << b[2] << endl << "   -+-+-" << endl;
        cout << "   " << b[3] << "|" << b[4] << "|" << b[5] << endl << "   -+-+-" << endl;
        cout << "   " << b[6] << "|" << b[7] << "|" << b[8] << endl << endl;
        if (w || (++moves > 9)) {
            if (w) cout << player[w=='X'] << " is the winner!!!" << endl << endl << endl;
            else   cout << "No Winner!!!" << endl << endl << endl;
            cin.clear(); cin.ignore(~0u>>1, '\n'); _getch();
            return;
        }
        cout << player[turn^=1] << " Choose a Slot... ";
        cin  >> slot;
        if (slot < 1 || slot > 9 || b[slot-1] > '9') {
            cout << "Please Choose A Valid Slot!!!" << endl;
            cin.clear(); cin.ignore(~0u>>1, '\n'); _getch();
            turn^=1; moves--;
            continue;
        }
        b[slot-1] = turn ? 'X' : 'O';
        ((((b[0]==b[1]&&b[0]==b[2]&&(w=b[0])) || (b[3]==b[4]&&b[3]==b[5]&&(w=b[3]))
        || (b[6]==b[7]&&b[6]==b[8]&&(w=b[6])))||((b[0]==b[3]&&b[0]==b[6]&&(w=b[0]))
        || (b[1]==b[4]&&b[1]==b[7]&&(w=b[1])) || (b[2]==b[5]&&b[2]==b[8]&&(w=b[2])))
        ||((b[0]==b[4]&&b[0]==b[8]&&(w=b[0])) || (b[2]==b[4]&&b[2]==b[6]&&(w=b[2])))));
    }
}

int main() {
    for(;;) ticTacToe();
    return 0;
}