Quantcast
Channel: error – Linux Feed
Browsing all 24 articles
Browse latest View live

C – An example log function using different log levels and variadic macros.

An example log function using different log levels and variadic macros ( variable number of arguments, va_start, va_end and vsnprintf ).

View Article



PHP – Using PHPMailer to send HTML emails with images.

Here's a sample for using SMTP. We assume that SMTP requires authorization. If it in't nessesary, just write $mail->SMTPAuth = false;. To use a number of servers use semicolumn for delimiter. HTML...

View Article

C – PCRE library example

This is an example program intended to illustrate very basic use of the PCRE regular expression library. PCRE is NOT part of any UNIX or language standard; however, it is commonly found on UNIX systems...

View Article

JavaScript – Get user location using the browser GeoLocation features.

In browsers that support geocoding, the geolocation API is exposed in Javascript as a member of the navigator object navigator.geolocation, here it is a snippet on how to use such feature to geo tag...

View Article

C++ – Win32 Multithread named pipe server.

The following example is a multithreaded pipe server. It has a main thread with a loop that creates a pipe instance and waits for a pipe client to connect. When a pipe client connects, the pipe server...

View Article


PHP – Non-Blocking TCP socket server.

The following is an highly optimized and configurable TCP socket non-blocking server using PHP socket module, put your client handling login inside the handleClientRequest method.

View Article

PHP – Grooveshark API Class.

A class to interact with Grooveshark services using official APIs, full project source code here https://github.com/fastest963/GroovesharkAPI-PHP .

View Article

PHP – Simple Login in HomePage

Login in the same page with refresh and disappears the form

View Article


C – addCount.c

Dichiarare una funzione che data una lista di stringhe come parametro formale permette di inserire nuovi elementi nella lista e di contare tutte le occorrenze di una parola inserita da tastiera.

View Article


C – addOrder.c

Dichiarare una funzione che data una lista di stringhe come parametro formale permette di inserire nuovi elementi nella lista e restituisce le lista ordinata in ordine crescente.

View Article

jQuery how to : Ajax

Abbiamo visto come utilizzare jquery per modificare a nostro piacimento il contenuto di una pagina (o perlomeno vi ho dato un punto di partenza), ora andiamo a vedere come ottenere questo contenuto/...

View Article

Fedora 14: come installare Googleearth 5.2.1.1588 e 6.0.0.1735

In Fedora 14 (e, a quanto ho appreso stamattina, in altre distro) il tentativo di installare le più recenti versioni di Googleearth con il canonico metodo chmod +x...

View Article

Risolvere il problema “bad hostname” di ddclient

Se come me utilizzate il servizio DynDns tramite client locale (ddclient) e appurate dei malfunzionamenti, dando un’occhiata in /var/log/messages vi troverete probabilmente WARNING: cannot connect to...

View Article


Image may be NSFW.
Clik here to view.

Virtualbox: errore “This kernel requires the following features not present...

Non mi era mai capitato una cosa simile prima d’ora ma non si smette mai di imparare Stavo cercando di virtualizzare un’immagine di Fedora 13 (a causa di un esame) quando Virtualbox mi restituisce il...

View Article

Image may be NSFW.
Clik here to view.

packages cannot be authenticated

Potrebbe capitare di ricevere questo messagio di errore dopo aver aggiunto un repository al file sources.list in Ubuntu/Debian e derivate. Per risolvere velocemente il probelma c'è un tool che...

View Article


OS X Lion, iMovie e i video con i glitch

Fin dal primo giorno non ho avuto un grande rapporto con OS X Lion. I motivi sono molti: non mi piace che il mio PC sembri un iPad, non mi [...]

View Article

°boot error° tentando il boot da chiavetta USB

Prima di creare la chiavetta (ad esempio con unetbootin) occorre prepararla con il comando: mkdosfs -v -I /dev/sdb ATTENZIONE!!! QUESTO COMANDO DISTRUGGE TUTTI I CONTENUTI PRESENTI SULLA CHIAVETTA....

View Article


Image may be NSFW.
Clik here to view.

[nodejs] Android Exception Logger

Ciao a tutti, sulla mia app webcam italia ho superato il limite massimo di utenti ed eccezioni loggabili. Per questo motivo non riuscivo più a ricevere feedback e cosa non funzionava nella mia app. A...

View Article

Image may be NSFW.
Clik here to view.

Singularity Viewer Voice chat & Debian Linux (updated Dec 2016)

Software/SecondLife Dopo il passaggio al nuovo PC ho dovuto riconfigurare Singularity Viewer a mio parere il miglior client Linux per Second Life (almeno per gli avatar storici che amano la vecchia...

View Article

Image may be NSFW.
Clik here to view.

Arch Linux: Crucial SSD firmware upgrade via systemd-boot

Hardware/SSD/Firmware E’ passato del tempo da quando ho montato un SSD Crucial MX200 sul mio Notebook Dell 7548 e sebbene sia sempre una operazione rischiosa ho per la prima volta deciso di aggiornare...

View Article
Browsing all 24 articles
Browse latest View live




Latest Images