Thursday, November 19, 2020

Difference between Node.js and React.js

http://www.kanotix.com/module-Downloads.html 

SMALL COMPILERS:

https://github.com/unisolate/plzero

https://github.com/rui314/8cc

https://www.lua.org/source/5.3/

https://www.lua.org/home.html


Difference between Node.js and React.js:

 

NODE.JSREACT.JS
Node.js used as a back-end frameworkReact is used for developing user interfaces.
It supports the Model–view–controller (MVC) framework.Does not support the Model–view–controller (MVC) framework.
It runs on chrome’s v8 engine and uses an event-driven, non-blocking I/O model, which is written in C++.It uses Node.js to compile and optimize the JavaScript code and easy to create UI Test cases.
Node.js handles requests and authentication from the browser, make database calls, etc.It makes API calls and processes in-browser data.
Here the Real-time data streaming is handled easily. In React complex architecture makes it hard to keep track of the traditional approach.
Framework for JavaScript execution having the largest ecosystem of open source libraries.Facebook-backed Open Source JS library.
The language used the only JavaScript.The language used is JSX and JavaScript.
There is no DOM (Document Object Model) concept that is Used.Here the Virtual DOM (Document Object Model) is Used that makes it faster.



 https://www.freecodecamp.org/news/how-to-make-create-react-app-work-with-a-node-backend-api-7c5c48acb1b0/


++


IDS:



Free and open source IDS

Tuesday, November 17, 2020

WWII

 https://www.wwiionline.com/

https://www.etlegacy.com/


MORE TIPS:

https://swift.org/download/#releases

https://github.com/compnerd/swift-win32






Pasulj s jajima

1/2 kg belog pasulja,

4 kuvana jajeta,

200 g kačkavalja,

1 kašika seckanog peršuna,

3 struka od zelenog dela mladog luka,

2-3 čena belog luka,

1 kašičica mlevene paprike,

250 ml slatke pavlake,

2 kašike kisele pavlake,

3 jajeta,

so, biber.

PRIPREMA:

Pasulj skuvajte i izmiksajte. Ako nemate vremena, možete da koristite i pasulj iz konzerve.  Dodajte mlevenu papriku, iseckan crni luk, ispresovan beli luk, peršun, so i biber. Sve dobro promešajte i izručite u vatrostalnu posudu podmazanu puterom. Masu od pasulja ravnomerno rasporedite, preko nanesite polovinu izrendanog kačkavalja, zatim kolutove tvrdo kuvanih jaja i ostali deo kačkavalja. Umutite pavlaku sa jajima, malo posolite i prelijte preko kačkavalja. Stavite da se zapeče na 200 stepeni oko 30 minuta. Isključite rernu, pokrijte folijom i ostavite da odstoji još oko 15 minuta. Služite vruće uz salatu po želji.


Thursday, November 12, 2020

add jpg to pdf

Python stuff:

https://stackabuse.com/working-with-pdfs-in-python-adding-images-and-watermarks/


C# Stuff:

https://ironpdf.com/docs/questions/signing/


Delphi stuff:

https://github.com/synopse/SynPDF

https://synopse.info/forum/viewtopic.php?pid=370

http://www.trichview.com/forums/viewtopic.php?t=7304

https://awesomeopensource.com/project/synopse/SynPDF


procedure TForm5.Button1Click(Sender: TObject);

var
lPdf : TPdfDocument;
lPage : TPdfPage;
begin
lPdf := TPdfDocument.Create;
try
lPdf.Info.Author := 'Tester';
lPdf.Info.CreationDate := Now;
lPdf.Info.Creator := 'Tester';
lPdf.DefaultPaperSize := psA4;
lPage := lPDF.AddPage;
lPDF.Canvas.SetFont('Helvetica',10.0,[]);
lPDF.Canvas.SetLeading(lPDF.Canvas.Page.FontSize);
lPDF.Canvas.SetLineWidth(0.1);
lPdf.Canvas.BeginText;
lPdf.Canvas.TextOut( 300, 700, 'This is some text.');
lPdf.Canvas.EndText;
lPdf.SaveToFile('c:\temp\test.pdf');
finally
lPdf.Free;
end;
end;

Conclusion - the best choice:




# To extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one:
qpdf --empty --pages <input.pdf> <1-3,5,6-10> -- <output.pdf>
 
# To merge (concatenate) all the pages of a list of PDF files and save the result as a new PDF:
qpdf --empty --pages <file1.pdf> <file2.pdf> <file3.pdf> -- <output.pdf>
 
# To merge (concatenate) given pages from a list of PDF files and save the result as a new PDF:
qpdf --empty --pages <file1.pdf> <1,6-8> <file2.pdf> <3,4,5> -- <output.pdf>
 
# To write each group of n pages to a separate output file with a given filename pattern:
qpdf --split-pages=n <input.pdf> <out_%d.pdf>
 
# To rotate certain pages of a pdf with a given angle:
qpdf --rotate=<90:2,4,6> --rotate=<180:7-8> <input.pdf> <output.pdf>
 
# To remove the password from a password protected file:
qpdf --password=<password> --decrypt <input.pdf> <output.pdf>




--------------

Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one:
qpdf --empty --pages input.pdf 1-3,5,6-10 -- output.pdf
Merge (concatenate) all the pages of a list of PDF files and save the result as a new PDF:
qpdf --empty --pages file1.pdf file2.pdf file3.pdf -- output.pdf
Merge (concatenate) given pages from a list of PDF files and save the result as a new PDF:
qpdf --empty --pages file1.pdf 1,6-8 file2.pdf 3,4,5 -- output.pdf
Write each group of n pages to a separate output file with a given filename pattern:
qpdf --split-pages=n input.pdf out_%d.pdf
Rotate certain pages of a pdf with a given angle:
qpdf --rotate=90:2,4,6 --rotate=180:7-8 input.pdf output.pdf
Remove the password from a password protected file:
qpdf --password=password --decrypt input.pdf output.pdf

Delphi:


C#:





Tuesday, November 10, 2020

form editor c#

 https://docs.microsoft.com/it-it/dotnet/desktop/winforms/how-to-simulate-mouse-and-keyboard-events-in-code?view=netframeworkdesktop-4.8

https://ironmansoftware.com/building-a-windows-form-app-with-powershell-in-vs-code/





ili još zdravija i ukusnija varijanta:


Recept

U prazan zagrejan tiganj ubaciti nasečene šampinjone, svakog minuta ih promešati tako da svaki od njih svakom stranom dotakne dno tiganja. Peći bez vode i ikakvih dodataka oko 3 minuta, zatim dodati seckan crni luk, crvenu papriku, seckan beli luk i dinstati još 3 minuta. Zatim sipati jogurt i prstohvat origana, promešati još 1 minut. Možete na kraju dodati ocedjene sardine iz konzerve ili tunjevinu i usitniti ih pri mešanju u tiganju, obavezno pobiberiti, a alevu papriku možete dodati po ukusu na vrh kašičice.
Ovo jelo jedite bez hleba, krompira i ikakvih ugljenih hidrata, ulje, puter, masnoća nije potrebna.
Možete jelo služiti uz neku salatu od krastavaca i paradajza.


http://poincare.matf.bg.ac.rs/~jgraovac/courses/projbp/2016_2017/projbp_skripta.pdf

https://lickeys.ru/bs/brauzery/vychislitelnye-sistemy-s-obshchei-pamyatyu-pamyat-vychislitelnyh-sistem/

https://www.project-benefit.eu/eplatform/?courses=36&download=Softver%20TK%20sistema.pdf

http://www.scl.rs/pics/files/News/20080625-meteo/SEEGRIDSCI-NA3-RS-013-Parallel_Computing_Introduction-a-2008-06-24.ppt

http://predmet.singidunum.ac.rs/pluginfile.php/8543/mod_folder/content/0/0b%20Klaud%20i%20distribuirano%20ra%C4%8Dunarstvo.pdf?forcedownload=1

https://singipedia.singidunum.ac.rs/preuzmi/42921-informatika/3495

http://eprints.rclis.org/14122/1/prirucnik-linux-audio-aplikacije.pdf

http://www.vps.ns.ac.rs/Materijal/mat3799.pdf







Friday, November 6, 2020

America

 








#include <SQLite.au3>
#include <SQLite.dll.au3>

Local $aResult, $iRows, $iColumns, $iRval

_SQLite_Startup()
If @error Then
    MsgBox(16, "SQLite Error", "SQLite.dll Can't be Loaded!")
    Exit -1
EndIf
ConsoleWrite("_SQLite_LibVersion=" & _SQLite_LibVersion() & @CRLF)
_SQLite_Open() ; Open a :memory: database
If @error Then
    MsgBox(16, "SQLite Error", "Can't Load Database!")
    Exit -1
EndIf

;Example Table
;   ID  | Name   | Age
;   -----------------------
;    1     Alice  | 43
;    2     Bob    | 28
;    3     Cindy  | 21

If Not _SQLite_Exec(-1, "CREATE TEMP TABLE persons (ID,Name, Age);") = $SQLITE_OK Then _
        MsgBox(16, "SQLite Error", _SQLite_ErrMsg())
If Not _SQLite_Exec(-1, "INSERT INTO persons VALUES (1,'Alice','43');") = $SQLITE_OK Then _
        MsgBox(16, "SQLite Error", _SQLite_ErrMsg())
If Not _SQLite_Exec(-1, "INSERT INTO persons VALUES (2,'Bob','28');") = $SQLITE_OK Then _
        MsgBox(16, "SQLite Error", _SQLite_ErrMsg())
If Not _SQLite_Exec(-1, "INSERT INTO persons VALUES (3,'Cindy','21');") = $SQLITE_OK Then _
        MsgBox(16, "SQLite Error", _SQLite_ErrMsg())

; Query
$iRval = _SQLite_GetTable2d(-1, "SELECT * FROM persons;", $aResult, $iRows, $iColumns)
If $iRval = $SQLITE_OK Then
    _SQLite_Display2DResult($aResult)

;~    $aResult looks like this:
;~
;~  ID Name   Age
;~  1 Alice  43
;~  2 Bob    28
;~  3 Cindy  21
;~
;~    If the dimensions would be switched in _SQLite_GetTable2d the result would look like this:
;~
;~   Name  Alice  Bob  Cindy
;~   Age   43     28   21

Else
    MsgBox(16, "SQLite Error: " & $iRval, _SQLite_ErrMsg())
EndIf

_SQLite_Close()
_SQLite_Shutdown()
; SQLite.dll version must match

#include <MsgBoxConstants.au3>
#include <SQLite.au3>
#include <SQLite.dll.au3>

Local $sSQliteDll = _SQLite_Startup()

If @error Then
	MsgBox($MB_SYSTEMMODAL, "SQLite Error", "SQLite3.dll Can't be Loaded!" & @CRLF & @CRLF & _
			"Not FOUND in @SystemDir, @WindowsDir, @ScriptDir, @WorkingDir, @LocalAppDataDir\AutoIt v3\SQLite")
	Exit -1
EndIf

MsgBox($MB_SYSTEMMODAL, "SQLite3.dll Loaded", $sSQliteDll & " (" & _SQLite_LibVersion() & ")")
ConsoleWrite("_SQLite_LibVersion=" & _SQLite_LibVersion() & @CRLF)
_SQLite_Shutdown()


FTP SERVER

 http://smallftpd.sourceforge.net/

https://labs.rebex.net/tiny-sftp-server

https://filezilla-project.org/

http://www.pablosoftwaresolutions.com/html/baby_ftp_server.html

http://stahlworks.com/dev/swiss-file-knife.html

sfk172.exe ftpserv -rw


https://www.instructables.com/Heatless-cold-Toner-Transfer-for-PCB-Making/




++

Ova snažna mješavina posebno je efikasna za snižavanje holesterola i visokog krvnog pritiska.

Sastojci

– 1 ribani češnjak
– 1 kašika soka od limuna
– 1 komad naribanog đumbira
– 1 kašika jabučnog octa
– 1 kašika organskog meda
Priprema

Priprema je vrlo jednostavna – samo pomiješati sve sastojke i staviti smjesu u frižider na 5 dana.

Kako se koristi:

Nakon pet dana, uzmite smjesu prije doručka i večere, ali nikad više od tri puta dnevno. U samo sedam dana, osjetit ćete rezultate – napravite test krvi i vidjet ćete da je vaša razina holesterola niska. Vaš krvni pritisak također će se normalizirati.

 

Thursday, November 5, 2020

Java GUI editors

 https://www.javatpoint.com/java-swing

http://guigenie.com/


V language:

https://vlang.io/


Odmah uvedite radikalne promene u jelovnik, a ne postepene. Zaboravite na šećer i ugljene hidrate. Jedite sveže povrće, ali ne i krompir. Jedite malo voća (bobičasto najviše), orašaste plodove i semenke, posno meso, domaća jaja i maslinovo ulje. Faza traje dve nedelje.

Doručak: kajgana od dva jajeta sa crnim lukom, paprikama, keljom, povrćem i zelenim čajem.

Ručak: Garden salata i jabuka.

Užina: humus sa celerom ili šaka orašastih plodova.

Večera: Grilovano belo meso sa brokolijem na pari, sa paprikom i salatom od svežeg povrća.


ELM LANGUAGE COMPILER

https://github.com/elm/compiler





Font settings in Thunderbird are a little tricky

 Font settings in Thunderbird are a little tricky. These settings work for me.

 


1) main menu bar

  View > Character Encoding > Auto-Detect > set to "Universal"

2) View > Message Body as > set to "plain text"

3) Tools > Options > Display > Formatting > set preferred default fonts and sizes

4) Tools > Options > Display > Formatting > Advanced

a) Western Page

set fonts and sizes as desired

tick "Allow messages to use other fonts"

tick "Use fixed width font for plain text messages"

Outgoing Mail UTF-8

	   Incoming Mail UTF-8

untick "When possible use the default character encoding in replies"

b) On "Fonts For" drop-down menu repeat the procedure for Unicode and Central European.

c) On "Fonts For" drop-down menu select "User Defined" and repeat the procedure.

This will cover most messages, but you may have to repeat this for any other character encodings that cause you problems. For example, messages in ISO 8859-7 will mean you have to change the "Greek" page too. If you don't know which character sets correspond to the Thunderbird pages they're all on Wikipedia and elsewhere.

5) Go to Tools > Options > Advanced > Config Editor

mailnews.force_charset_override false

6) Folder Properties

Default Character Encoding User Defined
Uncheck 'Apply default to all messages'.