Bananas Development Blog: Archives

CIFS VFS: large files und sends on sock stuck for

Argh.
Ein mount via cifs geht ja wunderbar, aber wenn man da große Daten drüber jagen will geht die Kiste aus. Bzw. das cifs braucht alles an CPU...

Nun denn es gibt da eine Lösung für folgende Fehlermeldungen:
CIFS VFS: sends on sock *** stuck for ** seconds


man muss in die folgende Datei eine 0 rein schreiben. Diese ist aber erster vorhanden wen das Modul geladen ist.
echo 0 > /proc/fs/cifs/OplockEnabled


Man, hätte ich das früher gewusst, wären mir bange stunden erpart geblieben.

Banana
out.

Linux Befehlszeile meistern

Jeder kennt sie aber die wenigsten nutzen sie. Vorallem unsere liebe ubuntu Gemeinde... ;-)

Learn the basics for staying alive at the Linux command line. If you're very new to the Linux CLI, these tutorials should provide you with the basic command line skills, as well as teach you some neat command line tricks.


An introduction to the Linux command line

Banana
out.

Was ein Web-Dev NICHT machen sollte.

Es gibt Dinge die werden einfach gemacht, weil man sie schon immer macht und weil der Mensch an sich faul ist.

Nun ist das aber keine Lösung und das Problem trifft auch bei uns Web-Dev geeks zu.

Hier nun eine Liste die mal die Probleme und schlechten Angewohnheiten anspricht und eine Lösung bietet.

Every once in a while you will come across a page that just doesn’t seem ‘right’. There are three elements of a website that can be harmed by bad practice:

- The website lacks something in its design.
- The content is written badly.
- The search engines don’t like something about the site.

Considering the three points above, this article will explains the do’s and dont’s of certain design habits.


30 Bad Practices of Web Designers

Banana
out.

Benutzeriengaben filtern mit PHP

Ich zitiere hier einfach mal:

Data security is important and often undervalued by designers, developers, and clients alike. Since PHP 5.2.0, data sanitization and validation has been made significantly easier with the introduction of data filtering. Today, we're going to take a closer look at these filters, how to use them, and build a few custom functions.


Der Artikel ist lang und interesant. Und als PHP dev sollte man so was wissen.

I have always felt that it's easy to write code in PHP, and even easier to write bad code in PHP. The proliferation of PHP on the web has really been helped out by its use in popular open-source software packages like WordPress, Drupal, and Magento as well as major web applications like Facebook; with PHP being used in so many varied instances (dynamic websites, in-depth web applications, blogging platforms, content management systems, and e-commerce being only a subset of the many applications of PHP) the opportunities for dirty data and insecure systems are numerous. This tutorial will explain some methods of Getting Clean With PHP: Data Sanitization and Validation by focusing on several different forms of data inputs and how to use PHP filters and custom functions.


Getting Clean With PHP

banana
out.

Was ist ein Blog ?

Hat irgendjemand eine Ahnung was das eigentlich ist ?

People maintained blogs long before the term was coined, but the trend gained momentum with the introduction of automated published systems, most notably Blogger at blogger.com.

Thousands of people use services such as Blogger to simplify and accelerate the publishing process.

Blogs can be described in many definitions and they are all correct.


What Is A Blog?

Banana
out.

Fehler finden in PHP

Wie macht ein Projekt Fehlerfrei und wie kommt man an die Fehler ran ?

Hier mal ein Beitrag der weiter hilft.

Nobody enjoys the process of debugging their code. If you want to build killer web apps though, it’s vital that you understand the process thoroughly.

This article breaks down the fundamentals of debugging in PHP, helps you understand PHP’s error messages and introduces you to some useful tools to help make the process a little less painful.


How to Debug in PHP

Dies ist nun kein Profi Artikel, aber die Basics sollte man ja auch können und für den Anfang sollte es reichen. Bzw. jeder Profi sollte das wissen !!

Banana
out.

Datenschutz und die Öffentlichkeit

Ich meine auf der einen Seite finde ich es gut, dass diese auch kontrolliert werden. Aber die Sachen die sie gefunden haben sind nicht wirklich so schlimm. Es gibt viel schliemmeres. Die hätten eher das Geld für die Bildung unsere Kinder ausgebensollen, als für solch eine Studie.....

Parteien und ihre Organisationen verhalten sich beim Datenschutz im Internet schlampig bis illegal: Die SPD verschleiert den Weg von Geldüberweisungen, die CSU setzt ein umstrittenes Google-Programm ein und fast alle Parteien verstoßen gegen das Bundesdatenschutzgesetz.


Fast alle Parteien verstoßen gegen Datenschutz

Banana
out.

SVN diff und patch on the fly

Wenn man mal kein svn merge etc. zur hand hat, dann kann man auch das Patch Programm benutzen.

svn diff -rversionX:versionY path/to/file | patch -p0 -d path/do/be/patched


So einfach und schnell geht das.

Banana
out

Free Icons (again)

Sodele hier mal wieder eine tolle Sammlung von frei benutzbaren Icons:

In the previous post we informed about 15 websites offers free stock photos. Today we represent you top 30 high-quality icon sets. These beautiful free icons were created by various artists from over the world for personal usage, as well as for commercial purposes. We strongly recommend you to read the license carefully before downloading. Hope that this collection will comes in handy for designers and developers, and will be a good inspiration sourse for graphic artists.


30 Beautiful Free Icon Sets


via: digg
Banana
out.