Category: Informacione tehnologije
PHP sada ima ugrađeni veb server
Dočekali smo i PHP verziju 5.4.0.
New features in PHP
- Improvements in memory management and performance.
- Traits – A new mechanism for code reuse. It reduces the limitations of single inheritance.
- Shortened Array syntax. Now use
[...]
instead ofarray(...)
to create arrays. - Magic Quotes have been deprecated and entirely removed in PHP 5.4.0. Other language features that have been given the boot are safe mode,
break
/continue
, and$var
syntax. - WordPress, Drupal, and every other PHP based websites will run faster when they start using PHP 5.4.0.
- Built-in Web server – PHP 5.4.0 now bundles its own web server which can be used for testing purpose. So you don’t need to install Apache web server to learn PHP/develop a website any more.
- New version of Zend Framework.
Testiranje swap-a na USB-u
Poznajemo performanse računara, ali i USB-a u verziji 2. Ne očekujem da će se nešto revolucionarno desiti, posebno što koristim 4GB memorije, a sistem ponekad tek ponekad pređe 3gb, ali hajde da probamo.
Za početak postavimo konfiguraciju:
If you don’t have time to change an existing system, than at least, make sure that you use a USB stick for your swap space. It increases performance because
- swap is on a different device. It does not block the access to your harddisk to operate.
- swap performance is much faster on USB stick. Continue reading “Testiranje swap-a na USB-u”
Kopiranje VPN konekcije Windows 7
Ukoliko imate potrebu da kopirate VPN konekcije sa računara na računar, postojeće konekcije ćete naći u fajlu:
C:\Users\%USER%\AppData\Roaming\Microsoft\Network\Connections\Pbk\rasphone.pbk
Fajl je običan tekst koji se može editovati. Struktura je ista kao i kod prethodnih verzija vindouza, samo što je lokacija fajla promenjena.
Ukoliko koristite XP ova lokacija je:
C:\Documents and Settings\All Users\Application Data\Microsoft\Network\Connections\Pbk\rasphone.pbk
Koristite Gugl fontove u svojim aplikacijama
Integrate Google Web Font selection into your apps
By Jeremie Lenfant-Engelmann, Google Web Fonts Engineer Continue reading “Koristite Gugl fontove u svojim aplikacijama”
JavaScript Module Pattern
Smanjivanje broja globalnih promenljivih i njihovo premeštanje u lokalne (privatne) promenljive donosi više reda u svim jezicima, pa tako i u JavaScript kodu. Ako znamo da se na stranicama često nalazi više različitih skripti ovakvo označavanje ima više smisla.
Linux Kernel 3.0 is out (with KVM and Xen included)
Last week, Linux kernel father Linus Torvalds announced the release of version 3.0 of the Linux Kernel. This release does not introduce any binary incompatibility neither major changes.
Virtualization.info already covered the 3.0 release with regards to the integration of both KVM and Xen in the mainline tree of the kernel sources.
For Xen, this release means no more patches to the Linux kernel in order to make Linux virtual machines run as guests. In fact, Xen is a Type-1 hypervisor, so hosted operating systems need to have proper support built-in to run smoothly on virtualized hardware. Until now, a substantial Linux kernel patch had to be applied in order to add this support in the linux guest.
KVM, instead, is a Type-2 hypervisor, which runs itself on top of and operating system.
A full list of Xen related changes in the Linux kernel can be found here on the Xen wiki.
Configure linux for windows users
0 Install general software for linux ubuntu
http://tips-linux.net/en/linux-ubuntu/linux-distribution/install-ubuntu
1 Theme Windows 7
Download Here
Extract and execute
$ ./GUIInstall.sh
2 Software
- Install Office 2007 with CrossOver
- Nero 4 For linux
- Adobe reader
- Skype
- Google chrome
- Ares for linux
- Fireworks CS3
3 Enable windows button
Press ALT+F2
gconftool-2 –set /apps/metacity/global_keybindings/panel_main_menu –type string “Super_L”
Now you can lauch the main menu with the windows button
If you really miss windows install a virus XD. After all this configurations your linux will be like this:
Aleksinac.Net – 5 godina kasnije
Prvi sajt koji sam lansirao u sopstvenoj režiji (ne računam one koji su radili na internim mrežama, makar one bile i velike) jeste Aleksinac.net. U vreme kada sam ga startovao internet slika o ovom gradu je bila očajna. Nakon ovih godina mogu biti zadovoljan postignutim.
Problem sa nedostajućim “apache parent” procesom
Ukoliko dobijate status da apači server nije startovan, a start ne uspeva jer:
apache port 80 already in use
problem je zbog nepostojećeg osnovnog-roditeljskog (parent) procesa apači servera. U slučaju problema sa konfigurisanjem servera (najverovatnije zbog memorije) prvo će pući osnovni proces, a zatim jedan po jedan i ostali (child) procesi sve do momenta kada ne ostane ni jedan. Napomena – tekst se odnosi na linuks servere, tako da eliminišemo desktop probleme tipa: skajp je zauzeo port 80 i slično.
Continue reading “Problem sa nedostajućim “apache parent” procesom”