***********
Monday, December 26, 2022
My own server client PHP
***********
Friday, December 23, 2022
Printer Share
Firewalls
This help document describes the ports that CUPS uses so that firewall administrators can allow traffic used for printing.
Ports Used for Printer Sharing
Table 1 lists the ports that are used for IPP printer sharing via CUPS.
| (Destination) Port | TCP/UDP | Direction | Description |
|---|---|---|---|
| 53 (DNS) | TCP/UDP | OUT | Domain Name System lookups and service registrations. |
| 631 (IPP/IPPS) | TCP | IN | Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.) |
| 5353 (mDNS) | UDP | IN+OUT | Multicast DNS lookups and service registrations. |
Table 2 lists the ports that are used for SMB (Windows) printer sharing, typically via the Samba software.
| (Destination) Port(s) | TCP/UDP | Direction | Description |
|---|---|---|---|
| 137 (WINS) | UDP | IN+OUT | Windows Internet Naming Service (name lookup for SMB printing). |
| 139 (SMB) | TCP | IN | Windows SMB printing. |
| 445 (SMBDS) | TCP | IN+OUT | Windows SMB Domain Server (authenticated SMB printing). |
Ports Used for Network Printers
Table 3 lists the ports for outgoing network traffic that are used for network printers.
Notes:
- DNS and mDNS are used for all printing protocols except SMB.
- SNMP is used to provide status and supply level information for AppSocket and LPD printers.
| (Destination) Port(s) | TCP/UDP | Description |
|---|---|---|
| 53 (DNS) | TCP/UDP | Domain Name System lookups. |
| 137 (WINS) | UDP | Windows Internet Naming Service (name lookup for SMB printing). |
| 139 (SMB) | TCP | Windows SMB printing. |
| 161 (SNMP) | UDP | SNMP browsing (broadcast) and status monitoring (directed to printer IP address). |
| 443 (IPPS) | TCP | Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.) |
| 445 (SMBDS) | TCP | Windows SMB Domain Server (authenticated SMB printing). |
| 515 (LPD) | TCP | Line Printer Daemon (LPD/lpr) print job submission and status monitoring. |
| 631 (IPP/IPPS) | TCP | Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.) |
| 5353 (mDNS) | UDP | Multicast DNS lookups. |
| 9100-9102 | TCP | Raw print data stream (AppSocket/JetDirect). |
Smartcard on UBUNTU, HOW TO SHARE FOLDER AND PRINER ON UBUNTU & ZorinOSLite
Super safe server for peanuts:
1)
https://ubuntu.com/server/docs/security-smart-cards
https://www.ca.posta.rs/preuzimanje_softvera.htm
2)
HOW TO SHARE FOLDER AND PRINER ON UBUNTU & ZorinOSLite:
https://phoenixnap.com/kb/ubuntu-samba
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Print_Server
https://www.makeuseof.com/set-up-network-shared-folder-ubuntu-with-samba/
https://fedoraforum.org/forum/printthread.php?t=113307&pp=80
Next, we have to make sure CUPS is OK with the sharing. Open up Firefox or your other favourite browser and browse to:
http://localhost:631/printers
Now, browse to:
http://localhost:631/admin
. Make sure that 'Share published printers connected to this system' is checked (enabled).
Note: You need to have administrative privileges to edit the configuration file.
sudo vim /etc/samba/smb.confAdd the following lines to the bottom of the config file.
[sambashare]
comment= Network Shared Folder by Samba Server on Ubuntu
path = /home/your_username/sambashare
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
read only = no
Remember to update the path parameter with your username. You can get your username by running the following command:
echo $USERTo exit the Vim editor after making your changes, simply type :wq and press the Enter key.
https://chat.openai.com/auth/login
https://openai.com/blog/chatgpt/
IDS / IPS :
https://www.fail2ban.org/wiki/index.php/Main_Page
https://www.itprc.com/intrusion-prevention-detection-tools/
Do you need encouragement while typing the best code ever?
https://www.tp-link.com/us/support/faq/744/
Tuesday, December 20, 2022
Do This After Installing Windows 11
++
Do This After Installing Windows 11 In this video I show you how to tweak Windows 11 settings and do the best optimizations for Windows 11 for gaming and performance. This should lower system resources. These optimizations can help gain a little FPS, lower latency and give the pc higher stability by lower utilization of windows. Use the program at your own risk. If this program gets flagged as malware it's a false positive. github.com/xemulat/XToolbox
MORE TIPS FOR PROGRAMMERS:
https://www.howtogeek.com/851425/git-rename-branch/
method 1:
++
method2:
https://pegasun.com/system-utilities
Lynis is a battle-tested security tool for systems running Linux, macOS, or Unix-based operating system. It performs an extensive health scan of your systems to support system hardening and compliance testing.
Tripwire Integrity Management
Detect and neutralize threats on-site and in the cloud
with superior security and continuous compliance.
https://www.tripwire.com/
Do you need encouragement while typing the best code ever?
Thursday, December 15, 2022
Nir Launcher
https://www.majorgeeks.com/files/details/nirlauncher.html
The Software Distribution folder is a vital component for Windows Update, which temporarily stores files needed to install new updates. It's safe to clear the content of the said folder because Windows 10 will always re-download and re-created all the necessary file and components, if removed. We always did this as a troubleshooting method if we're having trouble with Windows update.
MORE TO DO:
https://www.ubackup.com/windows-11/windows-11-keeps-freezing.html
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
chkdsk c: /f /r
appwiz.cpl
Uninstall Sonic Studio 3
https://www.howtogeek.com/805550/the-7-best-registry-hacks-for-windows-11/
https://www.makeuseof.com/common-windows-11-problems
https://www.makeuseof.com/best-coding-apps-for-android
Install Guides (WINE, DXVK, Lutris, etc) linuxconfig.org/improve-your-wine-gaming-on-linux-with-dxvk linuxhint.com/install-lutris-linux
Wednesday, December 14, 2022
An interesting distros
Big Linux : biglinux.com.br
Modicia OS : modiciaos.cloudDo you need encouragement while typing the best code ever?
https://store.steampowered.com/app/1286830/STAR_WARS_The_Old_Republic/
https://store.steampowered.com/app/578080/PUBG_BATTLEGROUNDS/
https://store.steampowered.com/app/1172470/Apex_Legends/
https://store.steampowered.com/app/440/Team_Fortress_2/
https://store.steampowered.com/app/1085660/Destiny_2/
https://xonotic.org/
Tuesday, December 13, 2022
Web3.0 DApp
Solidity realtime compiler
https://chriseth.github.io/browser-solidity/#version=soljson-latest.js
https://github.com/frozeman/simple-dapp-example
++
++
++
Будућност интернета је стигла !
Конкретни садржаји, а не звона и прапорци !
Look is not matter, content is !
Time not important. Only life important.- The Fifth Element
++
Banana dijeta:
Doručak je isti svakog dana i sastoji se od jedne ili dve banane.
Prvi dan
Ručak: Supa sa povrćem i kupus salata.
Večera: 100 grama belog pilećeg mesa i salata po želji.
Drugi dan
Ručak: Spanać sa pirinčem i salata.
Večera: 100 grama lososa ili bilo koje druge ribe, komad integralnog hleba i salata po izboru.
Treći dan
Ručak: 50 grama testenine sa paradajz sosom i salata od sveže cvekle.
Večera: 70 grama goveđeg mesa na žaru, komad integralnog hleba i salata.
Četvrti dan
Ručak: Dinstano povrće, paradajz salata.
Večera: Pileći batak bez kožice, salata po izboru.
Peti dan
Ručak: Riblja čorba i salata po izboru.
Večera: 100 grama ćuretine i zelena salata.
Šesti dan
Ručak: Čorba od povrća, salata od svežih krastavaca.
Večera: Pileće ili ćureće meso na roštilju i salata.
Sedmi dan
Ručak: Dinstane pečurke sa pirinčem.
Večera: Grilovano povrće i paradajz salata.
Ovu dijetu možete da praktikujete nedelju dana ili dve, u zavisnosti koliko kilograma želite da smršate.Monday, December 12, 2022
Windows 11 goodies
https://www.howtogeek.com/853581/super-charged-alternatives-to-native-windows-apps/
https://www.howtogeek.com/834667/with-the-2022-update-windows-11-is-finally-worth-an-upgrade/
https://www.howtogeek.com/849549/what-is-packet-loss-and-how-to-test-for-it/
https://www.howtogeek.com/805550/the-7-best-registry-hacks-for-windows-11/
https://www.howtogeek.com/853296/5-ways-to-speed-up-your-windows-pc-in-5-minutes-or-less/
Table of Contents
Why Change the Built-in Windows Apps?
Text Editing: Notepad++
File Search: Everything
File Explorer: OneCommander
File Copy: Teracopy
Photos: IrfanView
Video: VLC
Music: Foobar2000
Video Editing: Kdenlive
Sound Recording: Audacity
File Compression: 7-Zip
Screen Capture: Snagit
Disk Cleanup: CCleaner
Windows Snapping: FancyZones
Anti-Malware: Malwarebytes
Remote Desktop: Team Viewer
Wednesday, December 7, 2022
Kako ubrzati Windows 10 mrcinu
1) Najpre obrisite sve što možete iz foldera:
C:\Windows\SoftwareDistribution
Sam folder Vam Windows neće dozvoliti da obrišete jer tu pohranjuje sve iz "Update", ali možete obrisati neke foldere i fajlove u njemu.
Posle ovoga Vaš kompjuter će vidno biti mnogo responzivniji i brži.
2) Pritisnite Win + R, u run polju unesite %temp% i pritisnite Enter.
Obrišite sve što možete od ponudjenih fajlova.
3) Pritisnite Win + R, u run polju unesite temp i pritisnite Enter.
Obrišite sve što možete od ponudjenih fajlova.
4) Pritisnite Win + R, u run polju unesite prefetch i pritisnite Enter.
Obrišite sve što možete od ponudjenih fajlova.
Uradite i klasičan Disk Cleanup.
http://www.pravno-informacioni-sistem.rs/SlGlasnikPortal/eli/rep/sgrs/skupstina/zakon/2016/6/5/reg
http://www.pravno-informacioni-sistem.rs/SlGlasnikPortal/eli/rep/sgrs/vlada/uredba/2016/94/1/reg
https://ubuntu.com/server/docs/security-smart-cards
I Can’t Imagine Using Windows Without the Everything App
Saturday, December 3, 2022
efakture
Prvo treba otvoriti nalog na https://eid.gov.rs
Za otvaranje naloga potrebno je da lična karta bude sa čipom i da se u MUP-u besplatno aktivira elektronski sertifikat na ličnoj karti.
Najbolji je Paragraf Kancelarko, ali se može besplatno koristiti i direktan unos faktura na sajtu https://efaktura.mfin.gov.rs
Sajt efaktura je u svakom slučaju potreban kod inicijalizacije korisnika u oba slučaja direktno i kod korišćenja Kancelarka.
Najpre nabavite kvalifikovani elektronski sertifikat u MUP-u na ličnu kartu ili preko PKS, jedan Gemalto čitač kartica, pa onda Vam mogu instalirati ovaj sertifikat i pokazati logovanje na sajt https://efaktura.mfin.gov.rs
Može se sve raditi i preko Android aplikacije ConsentID, ali mnogo jednostavnije ako imate kvalifikovani elektronski sertifikat aktiviran na ličnoj karti ili na kartici PKS.
Demo verzija:
https://demoefaktura.mfin.gov.rs
Radna verzija:
Film na youtube u vezi efaktura i Kancelarka :
Podrška o efakturama i ako želite postaviti pitanja:
podrskaefaktura@mfin.gov.rs
telefon:
011-7777-600
https://fai-project.org/fai-cd/
https://www.freecodecamp.org/news/how-to-dual-boot-any-linux-distribution-with-windows/
https://www.slimjet.com/en/dlpage_xp.php
https://www.majorgeeks.com/files/details/autobootdisk.html
https://www.majorgeeks.com/files/details/multibootusb.html
http://www.kegel.com/wine/cl-howto-win7sdk.html
https://www.howtogeek.com/849716/7-awesome-google-drive-features-you-may-not-know-about/
https://www.howtogeek.com/759925/how-to-install-windows-11-on-an-unsupported-pc/
https://www.howtogeek.com/669971/the-top-10-best-registry-hacks-for-windows-10/
MORE TIPS FROM SECURITY:
Shadow Copy VSS:
https://help.datto.com/s/article/KB200554735
GAMERS TIPS:
https://store.steampowered.com/app/677620/Splitgate/
https://store.steampowered.com/app/570/Dota_2/
https://store.steampowered.com/app/440/Team_Fortress_2/
https://store.steampowered.com/app/1172470/Apex_Legends/
https://store.steampowered.com/app/1085660/Destiny_2/
https://store.steampowered.com/app/730/CounterStrike_Global_Offensive/
https://store.steampowered.com/app/880850/War_Rock/
http://www.truecombatelite.com/index.php?page=downloads
Beware of New CryWiper:
What it can ?:
taskkill.exe /f /im mysqld.exe
taskkill.exe /f /im sqlwriter.exe
taskkill.exe /f /im sqlserver.exe
taskkill.exe /f /im MSExchange*
taskkill.exe /f /im Microsoft.Exchange.*
taskkill.exe /f /im Microsoft.ActiveDirectory.WebServices.exe
vssadmin delete shadows /for=c: /all
schtasks /create /f /sc minute /mo 5 /ru SYSTEM /tn BrowserUpdate /tr C:\\Windows\\system32\\browserupdate.exe




