Thursday, March 21, 2019

Open source and Linux in eGovernance all over the world












Reasons for moving to Linux

• Rapid maturation of Linux

• Linux as a driver of return on investment (ROI) will
continue to play a major role

• Debate between Linux vs. closed source operating
systems security will intensify

• Legal implications of open source software will
persist

• Consolidation of the Linux distribution market will
drive customer focus on Linux distribution
provider ecosystems

• Linux as a database platform will increase



Wednesday, March 20, 2019

The future of gaming from Google * STADIA

Научи прави језик




[]

Linux gaming machine






/*
*  Description: C Write text file demo
*/
#include <stdio.h>
#define LEN 256
int main ()
{
   FILE * fp;
   int i;
   /* open the file for writing*/
   fp = fopen ("c:\\temp\\1.txt","w");
   /* write 10 lines of text into the file stream*/
   for(i = 0; i < 10;i++){
       fwprintf (fp, L"Ћирилица Караџића Вука - This is line %d\n",i + 1);
   }
   /* close the file*/  
   fclose (fp);
   return 0;
}



https://www.geeksforgeeks.org/executing-main-in-c-behind-the-scene/

http://learningpearls.blogspot.com/2011/02/start-function-inside-c.html


DialogBoxParam(hInstance, MAKEINTRESOURCE(IDD_DEBUGGER),
hWnd, (DLGPROC)aboutProc, 0);

//--------------------------------------------------------------------------
// Name: aboutProc
// Desc: About dlg proc
//--------------------------------------------------------------------------
LRESULT CALLBACK aboutProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch(msg)
{
case WM_COMMAND:
if (LOWORD(wParam) == IDOK)
{
EndDialog(hDlg, LOWORD(wParam));
return (INT_PTR)TRUE;
}
    break;
    }
return 0;
}

HRESULT PromptForFileOpen()
{
OPENFILENAME ofn;
char buf[260];


ZeroMemory(&ofn, sizeof(ofn));
ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = hWnd;
ofn.lpstrFile = (LPSTR)buf;
ofn.lpstrFile[0] = '\0';
ofn.nMaxFile = sizeof(buf);
ofn.lpstrFilter = "All Files\0*.*\0";
ofn.nFilterIndex = 1;
ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = 0;
ofn.lpstrInitialDir = NULL;
ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST;

if (GetOpenFileName(&ofn) != 0)
{
// buf now conatains the file path
}

return TRUE;




// WinAPI stuff:
http://www.winprog.org/tutorial/




EPP:

[]

[[]]

Monday, March 18, 2019

Operating Systems written in FPC

Python for Windows - Win32API

https://sourceforge.net/projects/pywinauto/

http://vermeulen.ca/python-win32api.html

https://pypi.org/project/pywin32/


http://zetcode.com/gui/winapi/gdi/




When running Python programs on a Windows computer there are often cases (such as better integration) where it makes sense
 to throw portability to the winds and call on the win32api for some platform-specific functionality.


              Friday, March 15, 2019

              Najbolji router, IDS, FIREWALL for free, zaštitite svoju mrežu kompjutera najboljim rešenjem

              https://www.clearos.com/

              Šta je sve potrebno ?

              1) Treba Vam jedan kompjuter sa 2GHz, Dual Core, 2GB ram, 20 GB HDD.

              2) U kompjuter ugradite dve mrežne LAN kartice.

              3) Ubacite instalacioni DVD i instalirajte ga.

              4) Sa nekog drugog kompjutera u mreži pristupite preko web sučelja (interfejsa) i podesite sve parametre vašeg novog "rutera", možete instalirati i dodatne pakete za IDS, Firewall, Statistiku i slično.

              5) Uopšte Vam ne treba Windows Server, sve oko Active Directory i podešavanja domena, možete odraditi i na CLEAROS-u.





              ClearOS CustomersClearOS Customers



              Thursday, March 14, 2019

              Instalirali ste WPSOffice na linux, šta dalje...

              Script to append date stamp to Microsoft Office Word file on Linux:
              #!/bin/sh



              file_name=test_files.docx

              current_time=$(date "+%Y.%m.%d-%H.%M.%S")
              echo "Current Time : $current_time"

              new_fileName=$file_name.$current_time
              echo "New FileName: " "$new_fileName"

              cp $file_name $new_fileName
              echo "You should see new file generated with timestamp on it.."

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




              Bill Gates
              "Measuring programming progress by lines of code is like measuring aircraft building progress by weight"


              []