Links

Search This Blog

February 10, 2019

Acronyms, Abbreviations, Leet speak, ...

LOL - Laughing Out Loud; Lots of love
AFAIK - As Far As I Know
ROFL - Rolling on floor laughing
BTW - By the Way
AKA - Also Known As
C U - See you
OMG - Oh my God
Pwn - Own (Typo)
LMAO - Laughing my ass off
G2G - Going to go
BRB - Be right back
Pop - Popular, Pop
GB - Game Boy, Giga Byte
GBA - Game Boy Advance
GBC - Game Boy Color
NES - Nintendo Entertainment System
SNES - Super Nintendo Entertainment System
NDS - Nintendo Dual Screen
BFF - Best Friends Forever
BF - Boy Friend, Brute Force
FF - Fear Factory, FireFox, Final Fantasy, Fighting Force, Foo Fighters, hexadecimal value for decimal value 255
THC - The Hacker Club
KEKEKEKEKE - Korean for HAHAHAHAHA
JMP - Jump
RET - Return
FTP - File Transfer Protocol
HTML - Hyper Text Markup Language
PHP - Personal Home Page, this is debatable.
JS - JavaScript, JaSon
HTTP - Hyper Text Transfer Protocol
SK8 - Skate
H8 - Hate
GC - Game Cube
GTA - Grand Theft Auto
SMTP - Simple Mail Transfer Protocol
CSS - Cascade Sheet Style
P2P - Peer to Peer
BIT - Binary Digit
LD - Load
DL - Download
WIN - Windows
REGEX - Regular Expression
MMORPG - Massively Multiplayer Online Role Playing Game
RPG - Role Playing Game
BPS - Beats Per Second
PPC - Pay Per Click
FPS - Frames Per Second, First Person Shooter
RISC - Reduced Instruction Set Computer
ARM - Advanced RISC Machine
MOAR - More
W8 - Wait
M8 - Mate
RPM - Rotate Per Minute
KB - Kilo Byte
MB - Mega Byte
TB - Terra Byte
PB - Peta Byte
RAM - Random Access Memory
ROM - Read Only Memory
HDD - Hard Disk Drive
USB - Universal Serial Bus
CPU - Central Processing Unit
ALU - Arithmetic Logic Unit
S. O. S. - Save Our Souls
CD - Compact Disc
PS1 - Play Station 1
PC - Personal Computer
LASER - Light Amplification by Stimulated Emission of Radiation
P&P - Postage & Packaging
Bot - Short for Robot
ARP - Advance Routing Protocol
DSL - Damn Small Linux, Also type of internet connection
ISBN - International Standard Book Number
MD - Message Digest
Sup? - What's up?
A. D. - Anno Domini
P. S. - Post Scriptum
ETC - Et cettera (meaning: and so on, ...)
PDA - Personal Digital Assistant
THX, TNX, THNX, TX - Thanks
PSP - Play Station Portable
SP - Service Pack, Small Pack
PR - Public Relations
VGA - Video Graphics Array
DIV - Division
HREF - Hyperlink Reference
IMG - Image
SRC - Source
SC - Source Code
FB - Face Book
K - Okay, Key
KK, Okay OK
KKK - Klu Klux Klan
Croc - Short for crocodile
Gex - Gecko
USD - United States Dollar
GBP - Great British Pound
Phool - Fool
AVG - average
AV - Anti Virus
NASA - National Aeronautics and Space Administration
URL - Uniform Resource Locator
URI - Uniform Resource Identifier
BASIC - Beginner's All-purpose Symbolic Instruction Code
ASCII - American Standard Code for Information Interchange
FORTRAN - Formula Translation
Y2K - Year 2000
LED - Light-Emitting Diode
QRC or QR Code is short for Quick Response Code (it's 2D code)
TBH - To be honest
AFK - Away from keyboard
ASAP - As soon as possible
AMAP - As much as possible (I don't know is this even used)
SQL - Structured Query Language (sometimes read sequel)
DDL - Data Definition Language
DML - Data Manipulation Language
U2 - You too.
BR - Break
IP - Internet Protocol
CRT - Cathode Ray Tube
ATM - Automated Teller Machine
DLL - Dynamic Link Library
WAMP - Windows + Apache + MySQL + PHP
LAMP - Linux + Apache + MySQL + PHP
CGI - Computer Generated Imagery, Common Gateway Interface
IRL - In real life
DBMS - Data Base Management System
WTF - What The F**k; Wow That's Fantastic (joke)
FTW - For The Win
FYI - For Your Information
SMS - Short Message Service
SIM - Subscribers Identity Module
PIN - Personal Identification Number
WIP - Work in progress
GUI - Graphical User Interface
CLI - Command-Line Interface
IDE - Integrated Development Environment
RAT - Remote Administration Tool
UDP - User Datagram Protocol
TCP - Transmission Control Protocol
VS - Visual Sudio
VB - Visual Basic
PS - PhotoShop
VBA - Visual Boy Advance, Visual Basic for Applications
FAQ - Frequently Asked Questions
OTP - One Time Password
PL - Programming Language, PlayList
TTYL - Talk To You Later
VIP - Very Important Person
JIT - Just In Time
TTL - Time To Live
UX - User Experience
API - Application Programming Interface
OCR - Optical Character Recognition
ID - Identity
IIRC - If I remember correctly
RC - Remote Controller
TY - Thank you
OST - Original Sound Track
CMS - Content Management System
MATLAB - Matrix Laboratory
SHA - Secure Hashing Algorithm
REM - as in Remember, Rapid Eye Movement
UI - User Interface
UX - User Experience

There are so many more...when I recall more I'll add here when possible.

If you see any errors or mistakes or you just want to add something please contact me.

February 04, 2019

How to run Command prompt tricks [WINDOWS 7]

CMD is short for Command.
Command prompt is also sometimes called terminal, console...
Command prompt is legacy of DOS (Disk Operating System)

Three ways to run console:

Press WIN KEY + R, type "cmd" (without quotes) in textbox and press ENTER
or
Press WIN KEY, type "cmd", Press ENTER
or
Press on Windows start button -> All Programs -> Accessories -> Command Prompt

When command prompt is open write "start www.google.com" without quotes and hit ENTER
this command will run your default web browser and it'll try to open google website.
You can enter any web address you want instead of www.google.com.

You can also run this "start ." when you run this command it will open current directory in Windows Explorer (GUI).

For more information about Start command write "help start" (without quotes) in CMD and press enter.

Some basic DOS commands:
help - help - shows all available commands
dir - directory - lists all files and directories in current directory
md - make directory - makes new directory
rd - remove directory - deletes directory
cd - change directory - navigation through directories
copy - copies file(s) and/or directorie(s)
move - moves file(s) and/or folder(s) to another place
ren - rename - renames directorie(s) or file(s)
del - delete - deletes folder(s) and/or file(s)
cls - clear screen
edit - simple file editor

January 25, 2019

Keyboard Shortcuts

Windows 7:

F2 (Rename)
CTRL + C (Copy)
CTRL + V (Paste)
CTRL + X (Cut)

CTRL + Z (Undo last operation)
CTRL + A (Select all)

ALT + TAB (Change between programs)
CTRL + ALT + DELETE (Calls options)
CTRL + SHIFT + ESC (Calls Task Manager)
CTRL + SHIFT + N (Creates New Folder)
LEFT ALT + LEFT SHIFT + NUM LOCK (use keyboard as mouse)
WIN + R (Run Task)
WIN + F (Search)
WIN + D (Desktop)
WIN + E (Computer)
WIN + L (Lock Screen)

TAB (next object)
SHIFT + TAB (previous object)

WIN, RIGHT ARROW, ENTER (Shutdown)
ALT + F4 (Close Window)
PRINT SCREEN (Takes screenshot)
ALT + PRT SCR (Takes screenshot of focused window)
WIN+R, type "cmd", ENTER (Run command prompt)

CAPS LOCK ON (UPPER CASE)
CAPS LOCK OFF (lower case)

INSERT ON (Over type)
INSERT OFF (No over type)


For those who want to know more:
Windows 7: Open Folder, Click on top right corner blue question mark button and select View Help (blue book)
Search for "keyboard" and there it should have in those links full key shortcut list for Windows depending on what you need.


Word:

BACKSPACE (deletes character on left from blinking cursor)
DELETE (deletes character on right from blinking cursor)

CTRL + Z (Undo)
CTRL + S (Save)


CTRL + A (Selects everything)
CTRL + C (Copy)
CTRL + V (Paste)
CTRL + X (Cut)

CTRL + F (Find...)

CTRL + B (Bold)
CTRL + I (Italic)
CTRL + U (Underline)

CTRL + SHIFT (New line)
CTRL + ENTER (Page Break New Page)

HOME (Beginning of line)
END (End of line)

SHIFT + F3 (Switch case)

CTRL + HOME (Anchor goes to Start of document)
CTRL + END (Anchor goes to End of document)

SHIFT + END (Selects all from left to right relative to blinking cursor)
Example: H|ello -->  Hello|

SHIFT + HOME (Selects all from right to left relative to blinking cursor)
Example: Hello what|'s app? --> |Hello what 's app?

CTRL + SHIFT + END (Depending on where blinking cursor is selects all from left of to right to end of document)
CTRL + SHIFT + HOME (Depending on where blinking cursor is selects all from right to left till start of document)

PAGE UP (Goes from current page to previous page)
PAGE DOWN (Goes from current page to next page)

Practice, pratice, practice...

Firefox:
CTRL + SHIFT + P (Private Browsing)
CTRL + T (New Tab)
CTRL + W (Close Tab)
CTRL + H (Show/Hide History)
CTRL + J (Shows downloads)
F5 (Refresh webpage)
ALT, f, x (EXIT)

Anchor <---> blinking cursor

I'll add things up when possible.

January 21, 2019

Greatest Common Divisor function with multiple arguments in python

import math
import fractions
def gcdm(*args):
    UaS = sorted(list(set(list(args))))
    if len(UaS) == 1:
        return list(UaS)[0]
    if len(UaS) == 2:
        return fractions.gcd(UaS[0],UaS[1])
    if len(UaS) >= 3:
        pair = fractions.gcd(UaS[0],UaS[1])
        print(pair)
        for i in range(2,len(UaS)):
            pair = fractions.gcd(pair,UaS[i])
        return pair
    return 0

print(gcdm(10,20,30,40,50)) == 10

You can do it with fractions or math module which both have gcd function.

Insert text from files in to one document.


Word -> Insert -> (Text) Object -> Text from File...

Sections


Page Setup -> Breaks -> Next Page
Will be divided in sections.
Section 1.
Page under is Section 2.
Click on Section 2 and go to
Design -> Uncheck Link to previous
to unlink sections.

January 20, 2019