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.

Overriding of the standard placeholder in CSS

To recolor or to change transparancy of placeholders use such CSS selectors:

#myInput::-webkit-input-placeholder { /* WebKit browsers */
    color:    #FF0000;
    opacity: 1;
}
#myTextArea:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #FF0000;
    opacity: 1;
}
#mySomething::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #FF0000;
    opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #FF0000;
    opacity: 1;
}

placeholdersCSS

What Every CS’tist Should Know About Floating-Point

An simple example for JavaScript

Open the Web Console (Ctrl+Shift+K for Firefox) and type:

var a = 0.2;
var b = 0.3;
a+a+a;
b+b+b;

Answers are 0.6000000000000001 and 0.8999999999999999

JS_floatingP

Almost every language has a floating-point datatype; computers from PCs to supercomputers have floating-point accelerators; most compilers will be called upon to compile floating-point algorithms from time to time; and virtually every operating system must respond to floating-point exceptions such as overflow.

There are two different IEEE standards for floating-point computation. IEEE 754 is a binary standard that requires = 2, p = 24 for single precision and p = 53 for double precision [IEEE 1987]. It also specifies the precise layout of bits in a single and double precision. IEEE 854 allows either = 2 or = 10 and unlike 754, does not specify how floating-point numbers are encoded into bits [Cody et al. 1984]. It does not require a particular value for p, but instead it specifies constraints on the allowable values of p for single and double precision.

The IEEE 754 Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point computation established in 1985 by the Institute of Electrical and Electronics Engineers (IEEE). Many hardware floating point units use the IEEE 754 standard. The current version, IEEE 754-2008 published in August 2008, includes nearly all of the original IEEE 754-1985 standard and the IEEE Standard for Radix-Independent Floating-Point Arithmetic (IEEE 854-1987). The international standard ISO/IEC/IEEE 60559:2011 (with identical content to IEEE 754) has been approved for adoption through JTC1/SC 25 under the ISO/IEEE PSDO Agreement[1] and published.[2]

The standard defines

arithmetic formats: sets of binary and decimal floating-point data, which consist of finite numbers (including signed zeros and subnormal numbers), infinities, and special “not a number” values (NaNs)
interchange formats: encodings (bit strings) that may be used to exchange floating-point data in an efficient and compact form
rounding rules: properties to be satisfied when rounding numbers during arithmetic and conversions
operations: arithmetic and other operations on arithmetic formats
exception handling: indications of exceptional conditions (such as division by zero, overflow, etc.)

The standard also includes extensive recommendations for advanced exception handling, additional operations (such as trigonometric functions), expression evaluation, and for achieving reproducible results.

IEEE Std 854-1987, the Standard for radix-independent floating-point arithmetic, was the first Institute of Electrical and Electronics Engineers (IEEE) standard for floating-point arithmetic with radix 2 or radix 10 (not more general than that, despite the title).

The standard was published in 1987,[1] nearly immediately superseded by IEEE 754-1985 but never terminated (the year of ratification appears after the dash). IEEE 854 did not specify any formats, whereas IEEE 754-1985 did. IEEE 754 specifies floating-point arithmetic for both radix 2 (binary) and radix 10 (decimal), including specifying two alternative formats for radix 10 floating-point values. IEEE 754-1985 was only superseded in 2008 by IEEE 754-2008.[2] IEEE 754-2008 also has many other updates to the IEEE floating point standardisation.

Oracle: Numerical Computation Guide;

Wikipedia: IEEE floating point, IEEE 854-1987.

Several monitors with a linux laptop.

To use several monitors on different ports simultaneously, type in the terminal:

xrandr –output LVDS –off –output HDMI-0 –auto –output VGA-0 –auto –right-of HDMI-0.

In case of gnome UI.

Check if auto config is turned off:

gksu gconf-editor

branch /apps/gnome-settings-daemon/plugins/xrandrgconf-xrandr

Active‘s checkbox should be unchecked.

Running Ubuntu LiveCD in VirtualBox

In case if you have a low-graphics mode error with Oracle VirtualBox: ubuntuLowGr

1) Install Guest Additions in VBox.

guestAVBox

2) Boot Ubuntu LiveCD

3) Press OK and then Cancel to get to the terminal.
If something “stuck”, try to:
CTRL+ALT+(F1 or F2 .. or F8).

3a) “Optional”

Dynamic Kernel Module Support is needed for next operations, so:

sudo apt-get install dkms

4) Mount cdrom device:

sudo mount /dev/cdrom /media/cdrom

5) Install Guest Tools:

sudo sh /media/cdrom/VBoxLinuxAdditions.run

6) Start Xorg server:

startx

Godlike shortcuts in Windows systems.

The key to this trick is CLSID Key:

The CLSID is a 128-bit number, in hex, within a pair of curly braces, and it’s a globally unique identifier that identifies a COM class object.
CLSIDs are located in the Windows Registry branch:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\*
regGodMode
Create folder and rename it with such mask: AnyName DOT {CLSID}
shortcutGodMode
Below is the list of most used names, but you should check your registry first

Action Center.{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB6}
Add Network Location.{D4480A50-BA28-11d1-8E75-00C04FA31A86}
Administrative Tools.{D20EA4E1-3957-11d2-A40B-0C5020524153}
Advanced User Accounts.{7A9D77BD-5403-11d2-8785-2E0420524153}
AutoPlay.{9C60DE1E-E5FC-40f4-A487-460851A8D915}
Backup and Restore.{B98A2BEA-7D42-4558-8BD1-832F41BAC6FD}
Biometric Devices.{0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}
BitLocker Drive Encryption.{D9EF8727-CAC2-4e60-809E-86F80A666C91}
Bluetooth Devices.{28803F59-3A75-4058-995F-4EE5503B023C}
Briefcase.{85BBD920-42AO-1069-A2E4-08002B30309D}
Color Management.{B2C761C6-29BC-4f19-9251-E6195265BAF1}
Command Folder.{437ff9c0-a07f-4fa0-af80-84b6c6440a16}
Common Places FS Folder.{d34a6ca6-62c2-4c34-8a7c-14709c1ad938}
Computer.{20d04fe0-3aea-1069-a2d8-08002b30309d}
Connect To.{38A98528-6CBF-4CA9-8DC0-B1E1D10F7B1B}
Control Panel (Icons view).{21EC2020-3AEA-1069-A2DD-08002B30309D}
Control Panel (All Tasks).{ED7BA470-8E54-465E-825C-99712043E01C}
Control Panel (Category view).{26EE0668-A00A-44D7-9371-BEB064C98683}
Credential Manager.{1206F5F1-0569-412C-8FEC-3204630DFB70}
Date and Time.{E2E7934B-DCE5-43C4-9576-7FE4F75E7480}
Default Location.{00C6D95F-329C-409a-81D7-C46C66EA7F33}
Default Programs.{17cd9488-1228-4b2f-88ce-4298e93e0966} or {E44E5D18-0652-4508-A4E2-8A090067BCB0}
delegate folder that appears in Computer.{b155bdf8-02f0-451e-9a26-ae317cfd7779}
Desktop Gadgets.{37efd44d-ef8d-41b1-940d-96973a50e9e0}
Desktop in Favorites.{04731B67-D933-450a-90E6-4ACD2E9408FE}
Device Manager.{74246bfc-4c96-11d0-abef-0020af6b0b7a}
Devices and Printers.{A8A91A66-3A7D-4424-8D24-04E180695C7A}
Display (DPI).{C555438B-3C23-4769-A71F-B6D3D9B6053A}
Ease of Access Center.{D555645E-D4F8-4c29-A827-D93C859C4F2A}
E-mail (default program).{2559a1f5-21d7-11d4-bdaf-00c04f60b9f0}
Favorites.{323CA680-C24D-4099-B94D-446DD2D7249E}
Flip 3D.{3080F90E-D7AD-11D9-BD98-0000947B0257}
Folder Options.{6DFD7C5C-2451-11d3-A299-00C04F8EF6AF}
Font Settings.{93412589-74D4-4E4E-AD0E-E0CB621440FD}
Fonts.{BD84B380-8CA2-1069-AB1D-08000948534}
Gadgets.{37efd44d-ef8d-41b1-940d-96973a50e9e0}
Game Controllers.{259EF4B1-E6C9-4176-B574-481532C9BCE8}
Games Explorer.{ED228FDF-9EA8-4870-83b1-96b02CFE0D52}
Get Programs.{15eae92e-f17a-4431-9f28-805e482dafd4}
Getting Started.{CB1B7F8C-C50A-4176-B604-9E24DEE8D4D1}
Help and Support.{2559a1f1-21d7-11d4-bdaf-00c04f60b9f0}
HomeGroup.{67CA7650-96E6-4FDD-BB43-A8E774F73A57}
Indexing Options.{87D66A43-7B11-4A28-9811-C86EE395ACF7}
Infared.{A0275511-0E86-4ECA-97C2-ECD8F1221D08}
Installed Updates.{d450a8a1-9568-45c7-9c0e-b4f9fb4537bd}
Internet Explorer.{871C5380-42A0-1069-A2EA-08002B30309D}
Internet Options.{A3DD4F92-658A-410F-84FD-6FBBBEF2FFFE}
iSCCI Initiator.{A304259D-52B8-4526-8B1A-A1D6CECC8243}
Keyboard Properties.{725BE8F7-668E-4C7B-8F90-46BDB0936430}
Libraries.{031E4825-7B94-4dc3-B131-E946B44C8DD5}
Location.{00C6D95F-329C-409a-81D7-C46C66EA7F33}
Location and Other Sensors.{E9950154-C418-419e-A90A-20C5287AE24B}
Manage Wireless Networks.{1fa9085f-25a2-489b-85d4-86326eedcd87}
Mobility Center.{5ea4f148-308c-46d7-98a9-49041b1dd468}
Mouse Properties.{6C8EEC18-8D75-41B2-A177-8831D59D2D50}
My Documents.{450d8fba-ad25-11d0-98a8-0800361b1103}
NETFrameworks&ComLibs.{1D2680C9-0E2A-469d-B787-065558BC7D43}
Network.{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}
Network and Sharing Center.8E908FC9-BECC-40f6-915B-F4CA0E70D03D}
Network Center Notification area pop-up.{38A98528-6CBF-4CA9-8DC0-B1E1D10F7B1B}
Network Connections.{7007ACC7-3202-11D1-AAD2-00805FC1270E} or {992CFFA0-F557-101A-88EC-00DD010CCC48}
Network Map.{E7DE9B1A-7533-4556-9484-B26FB486475E}
Network Neighborhood.{208D2C60-3AEA-1069-A2D7-O8002B30309D}
Network (WorkGroup) Places.{208D2C60-3AEA-1069-A2D7-08002B30309D}
Notification Area Icons.{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}
NVIDIA Control Panel (if driver installed).{0bbca823-e77d-419e-9a44-5adec2c8eeb0}
Offline Files Folder.{AFDB1F70-2A4C-11d2-9039-00C04F8EEB3E}
Parental Controls.{96AE8D84-A250-4520-95A5-A47A7E3C548B}
Pen and Touch.{F82DF8F7-8B9F-442E-A48C-818EA735FF9B}
People Near Me.{5224F545-A443-4859-BA23-7B5A95BDC8EF}
Performance Information and Tools.{78F3955E-3B90-4184-BD14-5397C15F1EFC}
Personalization.{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921}
Phone & Modem Location Information.{40419485-C444-4567-851A-2DD7BFA1684D}
Portable Devices.{35786D3C-B075-49b9-88DD-029876E11C01}
Power Options.{025A5937-A6BE-4686-A844-36FE4BEC8B6D}
Previous Versions Results Folder.{f8c2ab3b-17bc-41da-9758-339d7dbf2d88}
printhood delegate folder.{ed50fc29-b964-48a9-afb3-15ebb9b97f36}
Printers.{2227A280-3AEA-1069-A2DE-08002B30309D} or {863aa9fd-42df-457b-8e4d-0de1b8015c60}
Programs and Features.{7b81be6a-ce2b-4676-a29e-eb907a5126c5}
Public folder.{4336a54d-038b-4685-ab02-99bb52d3fb8b}
Recent Places.{22877a6d-37a1-461a-91b0-dbda5aaebc99}
Recovery (System Restore).{9FE63AFD-59CF-4419-9775-ABCC3849F861}
Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}
Region and Language.{62d8ed13-c9d0-4ce8-a914-47dd628fb1b0}
RemoteApp and Desktop Connections.{241D7C96-F8BF-4F85-B01F-E2B043341A4B}
Run.{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}
Search.{2559a1f0-21d7-11d4-bdaf-00c04f60b9f0}
Search Results.{9343812e-1c37-4a49-a12e-4b2d810d956b}
Set Program Access and Defaults.{2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}
Show Desktop.{3080F90D-D7AD-11D9-BD98-0000947B0257}
Sound.{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}
Speech Recognition.{58E3C745-D971-4081-9034-86E34B30836A}
Sync Center.{9C73F5E5-7AE7-4E32-A8E8-8D23B85255BF}
Sync Setup Folder.{2E9E59C0-B437-4981-A647-9C34B9B90891}
System.{BB06C0E4-D293-4f75-8A90-CB05B6477EEE}
System Icons.{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9} \SystemIcons
Tablet PC Settings.{80F3F1D5-FECA-45F3-BC32-752C152E456E}
Taskbar and Start Menu.{0DF44EAA-FF21-4412-828E-260A8728E7F1}
Text to Speech.{D17D1D6D-CC3F-4815-8FE3-607E7D5D10B3}
Time and Date.{E2E7934B-DCE5-43C4-9576-7FE4F75E7480}
Troubleshooting.{C58C4893-3BE0-4B45-ABB5-A63E4B8C8651}
User Accounts.{60632754-c523-4b62-b45c-4172da012619}
User Folder.{59031a47-3f72-44a7-89c5-5595fe6b30ee}
User Pinned.{1f3427c8-5c10-4210-aa03-2ee45287d668}
Web Browser (default).{871C5380-42A0-1069-A2EA-08002B30309D}
Windows Anytime Upgrade.{BE122A0E-4503-11DA-8BDE-F66BAD1E3F3A}
Windows Cardspace.{78CB147A-98EA-4AA6-B0DF-C8681F69341C}
Windows Defender.{D8559EB9-20C0-410E-BEDA-7ED416AECC2A}
Windows Features.{67718415-c450-4f3c-bf8a-b487642dc39b}
WEI.{78F3955E-3B90-4184-BD14-5397C15F1EFC}
Windows Firewall.{4026492F-2F69-46B8-B9BF-5654FC07E423}
Windows Mobility Center.{5ea4f148-308c-46d7-98a9-49041b1dd468}
Windows SideShow.{E95A4861-D57A-4be1-AD0F-35267E261739}
Windows Update.{36eef7db-88ad-4e81-ad49-0e313f0c35f8}

It’s so called God’s Mode on pictures.

Тест на основе признаков Рейнина

Пройти тест

В 1984 г. математик Григорий Рейнин предложил не 4 а 15 признаков, в связи с чем они и получили его имя. «Признаки Рейнина» в настоящее время используются при соционическом типировании некоторыми школами соционики, в то время как другие школы их не признают.

Критики признаков Рейнина (Д. и М. Лытовы, В. Ермак, С. Кельганкин) отмечают, что в данной гипотезе произошёл пересмотр ряда базовых соционических понятий, а также критикуют эмпирические исследования признаков Рейнина за методологическую некорректность. Тем не менее, в соционике немало их сторонников, несмотря на существенные отличия в их понимании разными школами и недостаточность доказательной базы.

Материал из Википедии — свободной энциклопедии

Belkin n52te as a mouse

Tutorial: how to configure Belkin n52te as a mouse.
keys
1) In the n52te utility adjust D-pad keys as follow:

UP: Y-axis right (Di Axis Down -> Mouse Y axis);
RIGHT:  X-axis left (Di Axis Up -> Mouse X axis);
DOWN: Y-axis left (Di Axis Up -> Mouse Y axis);
LEFT: X-axis right (Di Axis Down -> Mouse X axis);

All others:Disabled;

2) Apply Changes

Belkin n52te utility has no  mouse sensivity options,
so adjust it manualy at Windows registry:

3) Regedit:
reg

HKEY_CURRENT_USER/Control Panel/Mouse/razer/

String Value “MouseSensitivity”  = 20;
String Value “MouseSpeed” = 2;
String Value “MouseThreshold1” =  2;
String Value “MouseThreshold2” = 6;

4) Reboot, open the n52te utility and change maps several times.

n52te_Kmap

That’s all, new settings should be loaded.