Microsoft's latest update for Windows 11 (with Copilot+) includes a feature called "Recall" that you might want to disable. The Recall records everything you do. This means it stores information like your passwords, browsing history, images, videos, messages, and emails. To disable it, type the following command as admin user:
Dism /Online /Disable-Feature /Featurename:RecallMonday, October 21, 2024
Thursday, October 17, 2024
The UAC magic
@echo off
echo Checking for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
echo Permission check result: %errorlevel%
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
echo Running created temporary "%temp%\getadmin.vbs"
timeout /T 5
"%temp%\getadmin.vbs"
exit /B
:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"
echo Batch was successfully started with admin privileges
echo .
cmdnetsh int ip reset reset.txt
netsh winsock reset
netsh advfirewall reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
rem -------------Startovati kao administator.
https://linustechtips.com/topic/44063-post-your-awesome-batch-files/https://superuser.com/questions/1335594/get-current-working-directory-of-another-process
Metla za Windows oslobodi dodatni RAM
sfc /scannow
Monday, October 7, 2024
Ponovo radi bioskop?
Потпис у клауду поново ради нормално.
Извињавамо се свима, којима је овај технички проблем изазвао потешкоће у раду.
Корисницима који потписују електронским сертификатом понављамо:
- Линк за преузимање инсталације апликације за потпис >>> https://eusluge.euprava.gov.rs/CardReader/Instalacija_SigningTool/publish.htm
- Линк за проверу исправности апликације >>> https://eusluge.euprava.gov.rs/CardReader/
http://electronics-diy.com/stereo-fm-transmitter.php
https://www.seeedstudio.com/blog/2019/12/24/how-to-build-a-raspberry-pi-4-nas-server-samba-and-omv/
Monday, September 30, 2024
Debian LAMP
sudo apt update
sudo apt install apache2
sudo systemctl enable apache2
sudo systemctl start apache2
sudo systemctl status apache2
sudo apt install mariadb-server
sudo mysql_secure_installation
sudo systemctl enable mariadb
sudo systemctl start mariadb
sudo systemctl status mariadb
sudo apt install php libapache2-mod-php php-mysql
sudo systemctl restart apache2
echo "<?php phpinfo(); ?>" | sudo tee /var/www/html/index.php
sudo ufw status
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw reload
sudo ufw status
sudo apt update
sudo apt install phpmyadmin
sudo nano /etc/apache2/apache2.conf
+
Include /etc/phpmyadmin/apache.conf
sudo systemctl restart apache2
sudo nano /usr/share/phpmyadmin/.htaccess
+
AuthType Basic
AuthName "Restricted Access"
AuthUserFile /etc/phpmyadmin/.htpasswd
Require valid-user
sudo htpasswd -c /etc/phpmyadmin/.htpasswd pma
sudo nano /etc/phpmyadmin/apache.conf
<Directory /usr/sare/phpmyadmin>
+
AllowOverride All
sudo systemctl restart apache2
File type on Windows
Begin by checking whether the association is already configured:
C:\MyRuby>assoc .rb File association not found for extension .rb
Assuming that the association is not already configured, take the following steps to complete the configuration:
C:\MyRuby>assoc .rb=rbFile
Check to see if the file type rbfile already exists:
C:\MyRuby>ftype rbfile File type 'rbfile' not found or no open command associated with it.
Assuming it does not already exist (be sure to substitute the path to your Ruby installation in the following command):
C:\MyRuby>ftype rbfile="D:\Ruby\bin\ruby.exe" "%1" %*
Verify the setting:
C:\MyRuby>ftype rbfile rbfile="D:\ruby\bin\ruby.exe" "%1" %*
Add .rb to the PATHEXT environment variable as follows:
C:\MyRuby>set PATHEXT=.rb;%PATHEXT%
Once the above settings are configured simply run the program by typing the filename at the command prompt (the .rb filename extension is not required):
C:\MyRuby> hello Hello Ruby
The above steps can be placed in your Autoexec.bat file if you would like this association made every time you reboot your system.
https://en.wikipedia.org/wiki/AUTOEXEC.BAT
https://www.techotopia.com/index.php/Ruby_Essentials
https://www.ruby-lang.org/en/documentation/
https://www.codeproject.com/Tips/746102/Computer-Talker-with-Csharp
Thursday, September 19, 2024
Debian sudo, the user is not in the sudoers
apt-get update
apt-get install sudo
usermod -a -G sudo <username>
Now reboot the system.
Add contrib and non-free-firmware after main:
deb http://deb.debian.org/debian/ bookworm main contrib non-free-firmware
Then do you your regular update and upgrade.
You can also do
CODE: SELECT ALL
sudo apt install software-properties-commonCODE: SELECT ALL
sudo apt-add-repository contrib non-free-firmwareCODE: SELECT ALL
# dmesg | grep -i firmwareThursday, September 12, 2024
How to connect to Wifi using NetworkManager in Arch Linux
How to connect to Wifi using NetworkManager in Arch Linux
nmcli d
DEVICE
wlp2s0 wifi disconnected ---
-------
-------
nmcli r wifi on
nmcli d wifi list
IN-USE BSSID SSID ------
E4:26:86:A8:EC:D6 MyHome -----
nmcli d wifi connect MyHome password *******
Connect to Wireless Network using iwctl utility on Arch Linux
Connect to Wireless Network using iwctl utility on Arch Linux=
iwctl
device list
wlan0---------
station wlan0 get-networks
InternetCaffe--------
AutobuskaStanicaLasta---------
MacDonalds88-----------
FreePizza-----------
MyHome---------
station wlan0 connect MyHome
Passphrase:*****
exit
Tuesday, September 3, 2024
Popravka sa istorijom
c:\11111111\popravka.cmd
echo %date:~-4%%date:~3,2%%date:~0,2%%time:~0,2%%time:~3,2%%time:~6,2% >> c:\11111111\res.txt 2>&1
path c:\11111111
taskkill /F /IM msedge.exe
taskkill /F /IM MicrosoftEdgeUpdate.exe
taskkill /F /IM Cortana.exe
taskkill /F /IM RuntimeBroker.exe
taskkill /F /IM AdobeCollabSync.exe
taskkill /F /IM armsvc.exe
taskkill /F /IM SearchFilterHost.exe
taskkill /F /IM SearchProtocolHost.exe
taskkill /F /IM SearchIndexer.exe
taskkill /F /IM chrome.exe
taskkill /F /IM YourPhone.exe
del C:\Windows\prefetch\* /s /q >> c:\11111111\res.txt 2>&1
del C:\Windows\Temp\* /s /q >> c:\11111111\res.txt 2>&1
del %LOCALAPPDATA%\Temp\* /s /q >> c:\11111111\res.txt 2>&1
del C:\Windows\SoftwareDistribution\Download\* /s /q >> c:\11111111\res.txt 2>&1
pause
S vremena na vreme pogledajte u c:\11111111\res.txt da bi videli kakvo se sve smeće uklanja iz keša Windowsa ovom korisnom skriptom. Ne brinite, keš Windowsa ne sadrži ništa bitno.










