-
There are many reasons to utilize sessions when creating a web-based application using PHP. Session information, by default, is stored in a file on your web server. But what if that becomes a problem? In this article, I'll talk about why you might want to move your PHP sessions to a database, and show you how to do it.
links for 2009-11-05
6 11 2009Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-11-01
2 11 2009-
Ya he hablado varias veces sobre este tema.Los thumbnails en Nautilus se ven todavia horribles (IMO) con su borde negro sombrìo (png) y no hablemos de tamaños!.Hoy nuevamente he buscado articulos,mails,etc que hagan referencia a esto pero la prioridad para reparar el asunto es low (very low)= y las quejas sobre como Nautilus maneja sus thumbnails son varias,pero para que quejarme,mejor trato de hacer lo que pueda para hacerlos lo mas presentables posible (me dije).Bien,lo primero que he hecho es utilizar gconf para cambiarles el tamaño,de 96 x defecto a 48 (mas aceptables)= gconf -> apps -> nautilus -> icon_view -> thumbnail_size.Despues he querido tambien eliminar el horrible borde,cosa que he hecho a fuerza bruta (sin pasar x libnautilus-private/nautilus-icon-factory.c) eliminando o mejor renombrando la imàgen /usr/share/pixmaps/nautilus/thumbnail_frame.png y reiniciando Nautilus.
-
One minor cosmetic change in Gnome 2.28 – which is the basis of Ubuntu Karmic Koala – has resulted in many users being left confused and wondering if there is a rather blatant bug in Ubuntu.
I'm referring to the "missing icons" in the Places and System menu's in Ubuntu.
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-10-29
30 10 2009-
How to use the Linux command line as a file manager. Learn how to copy, move, and delete files under Linux with the cp, mv, and rm commands.
-
How can I make my own programs for Linux?
We have written lots of tutorials to help people learn how to program in Linux, and there's something for all levels. Try one (or all!) of these:
-
Welcome to the new home of Practical PHP Programming – now updated for PHP 5.2. This is the definitive source for the book from now on, and you'll be pleased to know the entire book is hosted on a super-fast server so you should never have access troubles again.
While updating the text, we have endeavoured to leave chapters in place even if we think they are no longer the smartest option – after all, it's not for us to decide what you should use. In places where we recommend one solution over another, you'll find this clearly marked.
Make sure you check out the other coding tutorials hosted here on TuxRadar!
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-09-29
30 09 2009-
The problem isn’t really just about closed source software, either. The same could be said about any technology, closed source or open. If you teach your students only one technology, they will go into the world knowing only that one technology. Where’s the versatility there? Who exactly would that benefit?
-
A simple line that installs the server kernel in the Desktop version. This way, even though I'm running the 32bit desktop version, the kernel is actually the 9.04 server version.
Works fine
and I'm getting 4 GB of ram. To achieve this here are the commands:sudo apt-get update
sudo sudo apt-get install linux-headers-server linux-image-server linux-server
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-09-26
27 09 2009-
Over the last month and a half I’ve been working on an application using C#, .NET, and Windows.Forms in Visual Studio 2008. I started by learning C# (unfortunately from some outdated materials). At first it seemed like they took the worst instead of the best things from Java and C++, but overall I’ve gotten to like the language. Here are some of my thoughts on it, some more elaborated than others.
-
When you’re used to the world of Windows or OS X, Linux can seem a little unforgiving. Not only does command-line access hand over the complete keys to the manor to any unwitting user with access to the administrator’s account, there’s rarely a safety net should things go wrong. Despite advances in most Linux desktops (where the ubiquitous Trashcan safely buffers deleted files), you get no such protection from most system-specific configuration, installation and maintenance tools. And while it’s rare for anything to go wrong without your direct input, some accidents do happen, especially if you enjoy tinkering with the latest distro release each month. But this being Linux, there’s plenty you can do to dig yourself out of a hole, which is why it’s always a good idea to have a repair-worthy distribution close to hand when performing configuration and installation tasks.
-
It's no secret that those of us who have learned to appreciate Linux and in effect all things that are related to FOSS have gained some wisdom that can be applied to our daily lives. I'm not an inspirational writer but I would like to share to non-believers some of the wonderful life lessons that I've discovered from using Linux.
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-08-15
16 08 2009-
BASH for loop works nicely under UNIX / Linux / Windows and OS X while working on set of files. However, if you try to process a for loop on file name with spaces in them you are going to have some problem. for loop uses $IFS variable to determine what the field separators are. By default $IFS is set to the space character. There are multiple solutions to this problem.
-
Record output sound, internet streams
-
deb http://ppa.launchpad.net/chromium-daily/ ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5
sudo apt-get update
sudo apt-get install chromium-browser
chromium-browser –enable-plugins
sudo apt-get install adobe-flashplugin
cp /usr/lib/firefox/plugins/flashplugin-alternative.so /usr/lib/chromium-browser/plugins/flashplugin.so
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-08-06
7 08 2009-
Meanwhile back in the real world, it is silly to go on strike and refuse to invest any effort in learning to use a computer competently because it has not yet attained some weird ideal state of effortless perfection. Windows is not easier than Linux. Mac OS X is not easier than Linux. Both Mac and Windows are considerably more limited in what they allow you to do than Linux, not only technically but legally as well. Point and click as a standard of usability? What is this, pre-school? It seems what these folks really want are Fisher-Price computers. Maybe Linux is for grownups, and we should be satisfied with that.
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-07-21
22 07 2009-
A picture is always worth a thousand words. The good news is that in the open source world as well as the freeware world, there are many excellent graphics and photo management tools, plus free desktop publishers and web design templates. Whether you want to produce splashy graphical documents, enhance graphics on a blog or web site, create eye-catching logos, or more, check out our updated collection of ten free applications and resources here.
-
Five CSS Hacks to Avoid Images
-
Requests for free tech support often catch you off guard, and your first instinct is to accept the task. But taking on a free support job is often a significant commitment and can be a real headache. When someone makes an unwelcome request for free support, use a response from this list to politely, yet firmly decline the job.
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-07-16
17 07 2009-
Encoding is the process of converting information from one format to another. When you ripped your audio CDs, you encoded them to MP3 and were amazed at how small the files were. They were small because the ripper axed away a lot of information to, well, make them small. This was good back in the days of expensive disk space and limited bandwidth for internet streaming.
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-07-15
16 07 2009-
Let's face it — in the outside world, there are a lot of computer users who don't even know what operating system they're running. Among those who know, a great many don't really care. Among those who care, few are truly passionate. So, what are some smart ways to cross the border between the Linux community and the populace at large and persuade the unenlightened to hop on the Linux train?
-
Do you want to turn your ordinary webcam into a motion-detecting security spy camera? Do you want to automatically upload the captured images or videos from your webcam to a remote server? Do you want to know who has been stealing your chickens? If you answered yes to any of the questions above, then you should read on.
Comentarios : 1 comentario
Categorías : delicious
links for 2009-07-11
12 07 2009-
rename 'y/A-Z/a-z/' *; mkdir cropped; for i in `ls *.png`; do convert -verbose -crop 780×459+211+310 $i ./cropped/$i; done; echo FIN;
-
Crear un gif en consola con ImageMagick
convert -geometry 500 -delay 100 -loop 0 *.jpg (nombre del proyecto).gif
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-07-10
11 07 2009-
The files at <joomla-root>\libraries\joomla\document\html\renderer are the ones that have to be modified. : head.php
-
The most important thing for your open source project’s success is obviously good and useful code. Licensing, however, can make or break your project as well. Choosing the right open source license for your software is crucial for your project’s success as it determines, amongst other things,
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-07-09
10 07 2009-
The truth is, getting a nice colourful desktop theme with matching wallpaper, icons and GDM doesn’t have to be this complicated. It turns out that there is a brilliant project called Gnome-Colours that has set itself the task of dealing with this problem.
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-07-08
9 07 2009-
This page can be used to find the IP of a host machine (convert host to IP) or domain name (convert domain name to ip address) or find the name of one of the hosts at an IP address (convert ip address).
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-07-07
8 07 2009-
The Mono Crusade: An Humorous view.
-
Ubuntu Gdm Theme tutorial
-
If you can't get in/login to Windows there is a program that can do it automatically and instantly for you. Windows Geeks Password Removal Tool will remove all passwords including for Administrator on Vista, XP and NT/2000/2003 Servers/Workstation.
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-07-06
7 07 2009-
Vanilla is an open-source, standards-compliant, multi-lingual, fully extensible discussion forum for the web. Anyone who has web-space that meets the requirements can download and use Vanilla for free!
-
Warning to all of those who are allergic to command line: The following method does imply use (albeit very simple) of CLI.
Here we will be using a tool called ImageMagick. This is a widely available tool with unparalleled versatility in a variety of areas, but is by no means the only one: there are plenty of other tools to do the same thing. The following is only one method of many.
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-07-03
4 07 2009-
En este conjunto de páginas web pretendemos mostrar la metodología de desarrollo que sigue el proceso de desarrollo de software basado en la metodología ágil de Programación Extrema (eXtreme Programming o XP).
El proyecto consiste en el desarrollo de un sistema de gestión para una empresa de confecciones. En dicha gestión de la empresa se incluyen gestión de pedidos, gestión de clientes (tanto principal como los de temporada), facturación, gestión de productos, gestión de materias primas, etc…
-
Below are some resources using the NetBeans IDE to develop PHP applications. NetBeans IDE support for PHP development is rapidly evolving. The following resources apply to NetBeans IDE for PHP 6.5.
-
Writer is, without a doubt, the most frequently used application in the OpenOffice.org suite. It offers many advanced features that can help you to create anything from a simple letter to a book with a complex layout. But, as with any powerful application, you often have to dig deep in order to get the most out of Writer. The following tips will help you to quickly master Writer’s many useful features.
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-07-01
2 07 2009-
The reason was the cache size of my APT.
Increase the size of your APT cache in the file /etc/apt/apt.conf. If this file doesn’t exist, create it and enter something like this:APT::Cache-Limit 32454321;
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-06-30
1 07 2009-
In this tutorial, you use the PHP support in the NetBeans IDE to create and run a simple web application. The example shows how to create a wish list. After you create and deploy the application, it enables you to share information on wish lists with your friends, such as lists for wedding, birthday, or holiday gifts. The information is stored in the database that you create in Lesson 1. Any registered user is able to view the wish lists of other users, and you develop this functionality in Lesson 2. The application supports registration of new users, a functionality that you develop in Lesson 3. In Lessons 6 and 7 you develop functionality that enables each registered user to edit their own wish list. You add styles to improve the appearance of your application by applying a CSS style sheet in Lesson 8. Finally, you will deploy the application on a remote web server using the hints given in lesson 9.
Comentarios : Deja un Comentario »
Categorías : delicious
links for 2009-06-26
27 06 2009-
An on-going research project at the Tokyo Institute of Technology is looking at supporting software-requirements elicitation and composing software from re-usable architectures, frameworks, components and software packages. The relevant techniques are developed through the use of ontology and its reasoning mechanism so as to maintain semantic consistency.
-
gedit ~/.config/user-dirs.dirs
killall nautilus -
Top 10 Stupidest Administrator Tricks
-
Welcome to the Joomla! Administrators Security Checklist.
Security is a vast and fast-moving subject. No one document can cover it all. This checklist is designed to help you with only two things.
1. Alert you to important security issues
2. Point you in the right direction to learn more -
Our .htaccess generator will generate the files you need (.htaccess and .htpasswd) to password protect a directory of your website. Just input the username and password you require, plus the exact path of the directory you want to protect. For more information about .htaccess protection, have a search on Google.
Comentarios : Deja un Comentario »
Categorías : delicious










Comentarios recientes