Rundll32.exe user32.dll,LockWorkStation
beogradsko programiranje
Thursday, August 27, 2020
Tuesday, August 25, 2020
Read Write from text in C# CMD Unicode "Ћирилица Караџића Вука"
https://beogradsko.blogspot.com/2020/07/postanite-profesionalni-programer-na.html
Monday, August 24, 2020
INI file Read Write C#
class INIFile
{
private string filePath;
[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string section,
string key,
string val,
string filePath);
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section,
string key,
string def,
StringBuilder retVal,
int size,
string filePath);
public INIFile(string filePath)
{
this.filePath = filePath;
}
public void Write(string section, string key, string value)
{
WritePrivateProfileString(section, key, value.ToLower(), this.filePath);
}
public string Read(string section, string key)
{
StringBuilder SB = new StringBuilder(255);
int i = GetPrivateProfileString(section, key, "", SB, 255, this.filePath);
return SB.ToString();
}
public string FilePath
{
get { return this.filePath; }
set { this.filePath = value; }
}
}
INIFile inif = new INIFile("D:\\config.ini");
inif.Write("Database", "Devs", "sa");
INIFile inif = new INIFile("D:\\config.ini");
Console.WriteLine("The Value is:" +inif.Read("Database", "Devs"));
//https://midnightprogrammer.net/post/readwrite-settings-to-ini-file-using-c/
Change INI File:
Easy way is to use WritePrivateProfileString and GetPrivateProfileString functions
of Kernel32.dll for reading and writing into INI file. Example: For Writing to INI: [DllImport("kernel32.dll", EntryPoint = "WritePrivateProfileString")] public static extern long WriteValueA(string strSection, string strKeyName, string strValue, string strFilePath); Usage: WriteValueA("SectionToWrite", "KeyToWrite", "Value", @"D:\INIFile.ini"); For Reading from INI: [DllImport("kernel32.dll", EntryPoint = "GetPrivateProfileString")] public static extern int GetKeyValueA(string strSection, string strKeyName, string strEmpty, StringBuilder RetVal, int nSize, string strFilePath); Usage: StringBuilder temp = new StringBuilder(255); int i = GetKeyValueA("TargetSection", "KeyToRead", string.Empty, temp, 255, @"D:\INIFile.ini"); string sValue = temp.ToString(); //desired value of the key
CMD:
systeminfo
driverquery
tasklist
ipconfig /all
color a
color b
cls
Friday, August 21, 2020
Inventions
http://www.newneurophone.info/
https://hub.docker.com/_/wordpress
https://www.instructables.com/id/The-Ultimate-FM-Transmitter/
Super e-mail application, super office apps
Prisustvo na otisak prsta, a evidencija u bazi podataka:
++
++
MORE TIPS:
https://www.kaspersky.com/enterprise-security/mitre-attack
https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
https://www.softperfect.com/products/networkscanner/
https://www.instructables.com/id/PCB-making-guide/
https://www.instructables.com/id/Heatless-cold-Toner-Transfer-for-PCB-Making/
e:
How to create your first VPS on DigitalOcean: A complete guide from zero to having a DigitalOcean VPS
The `cd` Linux command used to change folder
The `mkdir` Linux command used to create folders
How to test for an empty object in JavaScript
How to set up hot reload on Electron a
How to change a Next.js app port: Learn how to change the port that Next.js runs on in development mode
How to get the index of an item in a JavaScript array: Here is how to retrieve the index of an item in a JS array based on its value
That's it for this week, thank you for tuning in!
Don't forget that as a subscriber to my newsletter you have free access to the 12 books I published about React, Node, JS, Next, Svelte, and much more!
Let me know by replying to this email if there's a topic you'd like to read more about.
See you next Tuesday, have a great week ahead!
Flavio
Tuesday, August 18, 2020
Android Apps Maker
https://alttab.helloworld.rs/
https://www.djangoproject.com/
Tip of the day in Lazarus-IDE:
Use the code macro "OfAll" and let the IDE write your case statements for enum values
https://flutter.dev/
https://console.firebase.google.com/
https://appsgeyser.com/create/start/
https://appsgeyser.com/dashboard/
https://www.mobiroller.com/
https://phonegap.com/
https://cordova.apache.org/docs/en/latest/guide/cli/
https://github.com/ymrdf/html-2-apk
https://phonegap.com/getstarted/
Zaradi pomoću PHP and PayPal Credit Card
https://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening/
How to configure Nginx for HTTPS: How to set up HTTPS on your Web Server using Let's Encrypt.
Monday, August 17, 2020
Apache Cassandra
https://cassandra.apache.org/doc/latest/getting_started/drivers.html#php
https://cassandra.apache.org/download/
https://www.apache.org/index.html#projects-list
Read more https://www.dijeta.net/dijeta-sa-pasuljem/
MSDOS goodies:
wmic memorychip list full
wmic diskdrive list full
wmic baseboard list full
wmic cdrom list full
pause
Rasad jabuke:
https://savacoop.rs/kontakt
Friday, August 14, 2020
Friday, August 7, 2020
Ukratko najbolje od mene... za sada ...
Super aplikacije
1. Otvarach i Tragach
2.Kontrola tekucih racuna
3. Napredne poslovne aplikacije
4. Napredna e-mail anti-spam aplikacija
Thursday, August 6, 2020
Pohovani kolutići lignji na Srpski način
The best Linux choices ever:
1) https://www.linuxliteos.com/download.php
2) https://ferenos.weebly.com/get-feren-os.html
3) https://www.linuxmint.com/download.php
4) https://pop.system76.com/
++
+++
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/boot-to-vhd--native-boot--add-a-virtual-hard-disk-to-the-boot-menu
https://devblogs.microsoft.com/cesardelatorre/booting-natively-windows-10-from-a-vhdx-drive-file/
https://stackoverflow.com/questions/31849488/open-attach-and-assign-a-vhd
Monday, August 3, 2020
The Tesla Spirit Radio
++
++
https://www.instructables.com/id/Easy-to-Build-WIFI-24GHz-Yagi-Antenna/?utm_content=buffer87480&utm_medium=social&utm_source=facebook.com&utm_campaign=buffer
http://ham.pirot.org/