Wednesday, November 25, 2020

Adobe Acrobat Reader DC not working after Windows 10 update - workaround

 It working again after I disabled the "Enable Protected Mode at startup" feature under Edit > Preferences > Security (Enhanced).

Yeeee !


Problem with Print function after Windows 10 Update 2004



MORE TIPS:

https://nim-lang.org/

https://github.com/trustable-code/NiGui

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

https://racket-lang.org/

https://docs.racket-lang.org/gui/

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


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

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

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


-----------------------------------------------------------
Aurel Basic by Vidlanovic Zlatko Aurel:


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










Sunday, November 22, 2020

10 linux apps

 Top 10 Linux Apps:

1. Ulauncher – Application Launcher

2. Stacer – Optimizer And Monitor

3. Timeshift – System Snapshot

4. Kdenlive – Best Non-linear editing

5. Simplenote – Clean Note Taking

6. VLC – Play anything!

7. Gnome Tweak – Change Anything

8. Etcher – USB Image Writer

9. GIMP – Professional Image Editing

10. Notepadqq – Source Code Editor

https://techhut.tv/top-10-linux-apps-ubuntu/


++


MORE GOODIES:

https://rebornos.org/


++


https://obsproject.com/

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()