Sunday, December 8, 2024

beogradskoprogramiranje

 beogradsko programiranje


click to call me by phone...


Treba Vam programer ?

Povoljno i kvalitetno!


TAGS: #beogradsko programiranje #beogradskoprogramiranje






Windows tips=

  • Snapping window: WIN + LEFT or RIGHT (can be used with UP or DOWN to get into quadrants)
  • Switch to recent window: ALT + TAB (unchanged) – Hold shows new Task view window view, let go and switches to app.
  • Task view: WIN + TAB – New Task view opens up and stays open.
  • Create new virtual desktop: WIN + CTRL + D
  • Close current virtual desktop: WIN + CTRL + F4
  • Switch virtual desktop: WIN + CTRL + LEFT or RIGHT




Here's a list of hotkeys in the Windows 10 Technical Preview console. This is just hotkeys! Be sure to explore the Properties dialog as well, resize, word wrapping, and more.

TEXT SELECTION KEYS

These combinations interoperate with the mouse so you can start selecting with the mouse and continue with one of these commands, or vice versa. 

Selection Key Combination

Description

SHIFT + LEFT ARROW

Moves the cursor to the left one character, extending the selection.

SHIFT + RIGHT ARROW

Moves the cursor to the right one character, extending the selection.

SHIFT + UP ARROW

Selects text up line by line starting from the location of the insertion point.

SHIFT + DOWN ARROW

Extends text selection down one line, starting at the location of the insertion point.

SHIFT + END

If cursor is in current line being edited

* First time extends selection to the last character in the input line.

* Second consecutive press extends selection to the right margin.

Else

Selects text from the insertion point to the right margin.

SHIFT + HOME

If cursor is in current line being edited

* First time extends selection to the character immediately after the command prompt.

* Second consecutive press extends selection to the left margin.

Else

Extends selection to the left margin.

SHIFT + PAGE DOWN

Extends selection down one screen.

SHIFT + PAGE UP

Extends selection up one screen.

CTRL + SHIFT + RIGHT ARROW

Extends the selection one word to the right.

CTRL + SHIFT + LEFT ARROW

Extends the selection one word to the left.

CTRL + SHIFT + HOME

Extend selection to the beginning of the screen buffer.

CTRL + SHIFT + END

Extend selection to the end of the screen buffer.

CTRL + A

If cursor is in current line being edited (from first typed char to last type char) and line is not empty and any selection cursor is also within the line being edited

Selects all text after the prompt.  (phase 1)

Else

Selects the entire buffer.  (phase 2)

EXTRA FUN WITH CTRL + A

CTRL + A behavior is interesting. Regardless of the state of mark mode and quick edit mode, one of two things should happen. Either the entire buffer is selected, or (only in a single case) '2-Phase select' starts.  2-Phase select is the process where the first CTRL-A selects the characters to the right of the edit line prompt, and the second press selects the entire buffer.

EDITING KEYS

As I mentioned above you can copy and paste text with the keyboard. When copying text, you might worry that CTRL + C has always been the BREAK command. This is a nice touch, it will still send the break signal to the running application when no text is selected. The first CTRL-C copies the text and clears the selection, and the second one signals the break. Nice attention to detail, IMHO.

Editing Key Combination

Description

CTRL + V

Paste text into the command line.

SHIFT + INS

Paste text into the command line.

CTRL + C

Copy selected text to the clipboard.

CTRL + INS

Copy selected text to the clipboard.

MARK MODE KEYS

These keys function in mark mode. You can enter this mode by right-clicking anywhere in the console title bar and choosing Edit->Mark from the context menu as before, or via the new shortcut combination, CTRL-M. In the original console, mark mode resulted in block mode text selection. While in mark mode, you can hold down the ALT key at the start of a text selection command to use block mode in the new console. The selection key combinations above are all available in mark mode. CTRL + SHIFT + ARROW operations select by character and not by word while in mark mode.

Mark Mode Key Combination

Description

CTRL + M

Enter "Mark Mode" to move cursor within window.

ALT

In conjunction with one of the selection key combinations, begins selection in block mode.

ARROW KEYS

Move cursor in the direction specified.

PAGE KEYS

Move cursor by one page in the direction specified.

CTRL + HOME

Move cursor to beginning of buffer.

CTRL + END

Move cursor to end of buffer.

HISTORY NAVIGATION KEYS

Navigation  Key Combination

Description

CTRL + UP ARROW

Moves up one line in the output history.

CTRL + DOWN ARROW

Moves down one line in the output history.

CTRL + PAGE UP

Moves up one page in the output history.

CTRL + PAGE DOWN

Moves down one page in the output history.

OTHER KEYS

Other Key Combination

Description

CTRL + F

Opens "Find" in console dialog.

ALT + F4

Close the console window, of course!

Jelena Gavrilović



https://itsfoss.com/fish-shell-features/

Friday, December 6, 2024

BIOS hot keys

shutdown /r /o /f /t 00 

shutdown -r -f -t 0

bootrec /scanos
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
bcdedit /enum
sfc /scannow
dism /online /cleanup-image /restorehealth
bootrec /fixboot
bootsect /nt60 C: /mbr

shutdown -s -t 0

Get access to BIOS settings & Boot Menu: F-keys/Hotkeys by System Manufacturer (OEM)

Hot keys for BootMenu / BIOS Settings

You may get to your Boot Menu or to your BIOS settings by using special specific keys.
Below is a list of PC brands with their corresponding hot-keys.

ManufacturerTypeModelsBoot MenuBoot OnceBIOS Key(s)Change Priority
ACEREsc, F12, F9Del, F2
ACERnetbookAspireOne, Aspire TimelineF12F2
ACERnetbookAspire v3, v5, v7F12The "F12 Boot Menu" must be enabled in BIOS. It is disabled by default.F2
APPLEAfter 2006Option
AsrockDesktopCustom BuildF11DEL
F2
ASUSdesktopF8F9
ASUSlaptopEscF9
ASUSlaptopR503CF8DEL
ASUSnetbookEee PC 1025cEscF2Boot Tab, Boot Device Priority, 1st Boot Device, Removable Device, F10
COMPAQPresarioEsc, F9F10BIOS "Advanced Tab", Boot Order
DELLdesktopDimension, Inspiron, LatitudeF12Select "USB Flash Drive"F2
DELLdesktopInspiron One 2020, 2305, 2320, 2330 All-In-OneF12Select "USB Flash Drive"F2
DELLlaptopInspironF12Select "USB Storage Device"F2Settings->General->Boot Sequence->"USB Storage Device", then up arrow, [Apply]--[Exit]
DELLlaptopPrecisionF12Select "USB Storage Device" from boot menuF12
EMACHINESF12Tab, Del
GigabytedesktopF12Del
HPgenericEsc, F9Esc, F10, F1
HPdesktopMedia CenterEscF10BIOS "Advanced" tab, Boot Order, Move "USB Device" before "Hard Drive"
HPdesktopPavilion 23 All In OneEscSelect boot media from the menuF10BIOS "Advanced" tab, Boot Order, Move "USB Device" before "Hard Drive". For non-UEFI media, disable secure boot and enable legacy support
HPdesktopPavilion g6 and g7EscF10BIOS "Advanced" tab, Boot Order, Move "USB Device" before "Hard Drive"
HPdesktopPavilion HPE PC, h8-1287cEscThen F9 for "Boot Menu"Esc F10Storage tab, Boot Order, Legacy Boot Sources
HPdesktopPavilion PC, p6 2317cEscThen F9 for "Boot Menu"Esc F10Storage tab, Boot Order, Legacy Boot Sources
HPdesktopPavilion PC, p7 1297cbEscThen F9 for "Boot Menu"Esc F10Storage tab, Boot Order, Legacy Boot Sources
HPdesktopTouchSmart 520 PCEscThen F9 for "Boot Menu"Esc F10Storage tab, Boot Order, Legacy Boot Sources
HPlaptop2000EscSelect "Patriot Memory" on the Boot Option MenuEsc
HPnotebookPavilionEscF10BIOS "Advanced" tab, Boot Order, Move "USB Device" before "Hard Drive"
HPnotebookENVY dv6 and dv7 PCEscThen F9 for "Boot Menu"EscF10 Storage tab, Boot Order, Legacy Boot Sources
INTELF10
LENOVOdesktopF12, F8, F10F1, F2
LENOVOlaptopF12F1, F2
LENOVOlaptopIdeaPad P500F12 or Fn + F11F2
NECF5F2
PACKARD BELLF8F1, Del
SAMSUNGF12, Esc
SAMSUNGnetbookNC10EscF2Boot Tab, Select "Boot Device Priority", Press Return, Up/Down to Highlight, F6/F5 to change priority
SAMSUNGultrabookSeries 5 Ultra and Series 7 ChronosEscF2Boot Tab, Select "Boot Device Priority", Press Return, Up/Down to Highlight, F6/F5 to change priority
SHARPF2
SONYVAIO, PCG, VGNF11F1, F2, F3
SONYVGN EscF10F2BIOS "BOOT" section, "External Device Boot" enabled
TOSHIBAProtege, Satellite, TecraF12F1, Esc
TOSHIBAEquium F12F12F12

Thursday, December 5, 2024

Microsoft Word useful macro

 If you frequently need to standardize fonts, you can use a VBA macro:

  1. Enable Developer Tab:

    • Go to File > Options > Customize Ribbon, and check the Developer tab.
  2. Run a Macro:

    • Press Alt+F11 to open the VBA editor.
    • Click Insert > Module and paste the following code:

      Sub SetFontForEntireDocument() Dim para As Paragraph For Each para In ActiveDocument.Paragraphs para.Range.Font.Name = "Arial" para.Range.Font.Size = 12 Next para End Sub
    • Replace YourFontName and YourFontSize with your preferred font and size.
    • Press F5 to run the macro.

Tuesday, December 3, 2024

Popis mojih PDF knjiga iz Powershell na Windowsu

Windows 11 Tips = 



Get-ChildItem "C:\1dow\xbook" | Out-File -FilePath "C:\1dow\xbook\list.txt" -Encoding UTF8 




Linux Tips = 



https://ostechnix.com/remove-windows-from-windows-linux-dual-boot/


Cvekla

Sok od cvekle je izuzetan kada je snižavanje visokog krvnog pritiska u pitanju. Istraživanja pokazuju da konzumacija oko 250 ml soka od cvekle dnevno snižava vrednosti sistolnog i dijastolnog krvnog pritiska.


Jabuka

Stara izreka kaže - po jabuku dnevno i ne treba vam lekar. Imajući u vidu sve sastojke koje ova super namirnica sadrži ta konstatacija je po svoj prilici tačna. Jabuke su bogate vlaknima koje su dobre u snižavanju holesterola. Takođe, sadrže i polifenole koji se dovode u vezu sa snižavanjem krvnog pritiska.


Borovnica

Skoro svi sastojci u borovnici su izuzetno blagotvorni kada je zdravlje srca u pitanju. Borovnice sadrže antocijanin koji krvne sudove čine fleksibilnim. Osim što su korisne u snižavanju krvnog pritiska, svakodnevno konzumiranje borovnica unapređuje kvalitet opšteg stanja organizma.


Smokva

Smokve su super hrana bogata kalijumom, mineralom koji je pogodan u snižavanju krvnog pritiska. Takođe, sadrži rastvorljiva vlakna koji imaju značajne koristi za digestivni trakt i varenje. Mogu se konzumirati sveže ili sušene, ali u ograničenim količinama jer sadrže visok nivo šećera.


Brokoli

Brokoli je na više načina zaslužan za dobro zdravlje srca. Osim što snižava krvni pritisak, istraživanja su pokazala da redovna konzumacija brokolija snižava nivo lošeg holesterola. Ovo je superhrana prepuna vitamina i minerala te ga uključite u svakodnevni jelovnik.


Badem

Badem je bogat magnezijumom koji dokazano pomaže u snižavanju visokog krvnog pritiska. Nedostatak magnezijuma u organizmu se upravo povezuje sa hipertenzijom. Grickajte svakodnevno ovo orašasto voće jer pomaže i u snižavanju lošeg holesterola. Međutim, s obzirom na visoku kalorijsku vrednost, ograničite upotrebu na oko 15 komada dnevno.


Đumbir

Đumbir može da bude zaslužan za vrlo pozitivne efekte kada je opšte zdravlje u pitanju. Ova izuzetno korisna namirnica ima antiupalna svojstva, pomaže u snižavanju šećera u krvi i koristan je za snižavanje rizika za bolesti srca.


Maslinovo ulje

Maslinovo ulje je namirnica koju konstantno morate imate u svojoj kuhinji. Osim što je ukusno, izuzetno je bogato polifenolima - antioksidantima koje čuvaju krvne sudove čineći ih fleksibilnim - što pomaže u održavanju normalnog krvnog pritiska.


Nar

Plod nara sadrži semena koja su bogata vitaminima, mineralima i vlaknima. Nar je voćka koja ima antibakterijsko i antivirusno dejstvo. Redovna konzumacija soka od nara pomaže u snižavanju krvnog pritiska.


Banana

Banane su bogate vlaknima i antioksidantima. Pogodne su za zdravlje digestivnog trakta, pomažu u održavanju dijeta i redukciji telesne težine. Banane su odličan izvor kalijuma koji je vrlo značajan kada je zdravlje srca u pitanju, a posebno za održavanje normalnog krvnog pritiska.


Tuesday, November 26, 2024

Flask Python

from flask import Flask

app = Flask(__name__)

@app.route('/')

def index():

     return "Hello, World!"

if __name__ == "__main__":

    app.run(debug=True)


Linux tips


freecodecamp.org


https://linuxhandbook.com/


Who is accessing your Linux system via SSH? Who is trying to but failing to access your system via SSH? If someone cannot access the system via SSH, why is that? The answers can be found in the SSH logs:


sudo journalctl -u ssh


BAŠ ČELIK za Linux, Windows, mac = 

https://github.com/ubavic/bas-celik/

Čitač lične karte!

https://github.com/dqrk0jeste/owl

Windows tips

cmd.exe /C certutil -urlcache -split -f "https://google.rs" "c:\temp\jojo.txt" && notepad "c:\temp\jojo.txt"



AMKP40 technology

Ultra VNC manual

 1) Download uVNC

Type VNC Password

Type View-Only Password


Advanced options=

Check Disable tray icon


2) Settings on server=

vncviewer -listen 4444



3) Setings on client=

Client Folder contents=


main.bat=

@echo off

start winvnc.exe -run

timeout /t 1 >nul

start winvnc.exe --connect 192.168.2.84::4444


UltraVNC.ini

winvnc.exe