Direct to a disk drive system installation.

If there is a computer with no input/output devices. One of the solutions is a direct software installation to its disk drive. And a subsequent configuration of the remote access with help of a virtual machine (QEMU).

The examples below are for Windows workstation against two target systems: x86 (Ubuntu) and ARM (Raspberry Pi).

1. Get a installation media with a operating system for the target computer. In this particular example: Ubuntu server iso file and Rapbian wheezy image;

2. Download and install QEMU;

3. Get out the disk drive from the server and/or SD card from the Rpi.

4. Connect the disk drive to your working station. (SATA to USB converter is needed or a SD card reader in Rpi case);
sata2usb

5. Prepare (format/erase) the disk drive (a console way):

6. Find out a disk device number (DeviceID):

wmic

7. Start QEMU and install the operating system.
Script for x86 Ubuntu:

Where “\\.\PHYSICALDRIVE1” is a path obtained on the previous step.
Script for Raspberry Pi:

8. Configure and check a remote control to the emulated target operating system.
e.g. Add this to the start script to test a ssh access through 10022 port:
-redir tcp:10022::22

9. Insert your disk drive in the target system. It will take some time to boot and to autotune all new hardware during the first start.

Converting g2m (Go2Meeting) files

To be able to convert g2m file to another format, first it should be converted to mpeg compatible file:

  1. Download g2m codec;
  2. Find two files: g2mtranscoder.exe and G2M.dll in the codec’s installation folder;
  3. Perform in the command line: g2mtranscoder.exe source=your_file.wmv.

This utility has no visible windows, so only signs of its work – the presence of g2mtranscoder in the Task Manager and processor’s high load.
Attention! This utility changes source files.

The second way to convert as well as to fix g2m files is to use Microsoft Expression Encoder (4 sp2 ver. now). Its free to download. This is the same as what GoToConverter.exe does.

The sum of an arithmetic progression in the command line

>

echo off

set /a “x=0”

for /L %g in (1,1,99) do set /a “x+=%g” & echo.

>

Where “FOR /L” :

Syntax

FOR /L %%parameter IN (start,step,end) DO command

Keys
start : The first number;
step : The amount by which the sequence is incremented;
end : The last number;

command : The command to carry out, including any
command-line parameters;

%parameter : A replaceable parameter:
in a batch file use %%G (on the command line %G)

And

SumOfAP

Android device backup

To perform Android system  backup you need ADB (Android Debug Bridge) and
drivers for your specific device:

1) Install your device’s drivers;
2) Download and install ADB (included in Android SDK for example);

3) Activate USB debugging on your device;AndBackup_devtools2

4) Check if your device has been recognized by the system:

adb devices

5) Perform a backup:

adb backup -apk -obb -shared -system -allAndBackup_backup

6) And allow the backup process on your device.

press “Back up my data”AndBackup_allow

7) If you would like to unpack your backup, bellow software’ll be needed.

Android Backup Extractor (abe.jar);

JRE (java);

If you have an encrypted backup file, you’ll need more tools. The procedure is described in the README file of ABE.

In console:

java -jar abe.jar unpack <YourBackup.ab> <NemaForExtract.tar>AndBackup_unpack

8) To restore:

adb restore <file.ab>

Bat to Exe for Windows systems.

To convert (pack) a bat-file to exe you may use IEXPRESS utility.
It’s standard Windows utility.
So, Win+R and type:
iexpress

In the appeared window:
1) Create new Self Extraction Directive File;
2) Extract and run;
3) Add any Title;
4) No prompt;
5) No licence;
6) Add your bat-file;
7) Install Program: For Windows XP and above: cmd /c yourbat.bat.
If you’re using older versions of Windows just enter a file name: yourbat.bat.

iexpress.
8) Hidden;
9) No message;
10) Enter Path and name for your new exe-file.
Tick on the “Hide file extracting…” checkbox.
11) No restart;
12) Don’t save SED file.

Don’t use the back button! If you do so – restart the iexpress utility.