Search posterous

Search all posts and users. Type a name, type a favorite song title, whatever! See what comes up.
  

More posterous blogs











More recommended blogs »

Here are posterous posts filed under linux...

kernelpanic says...

Durante queste ultime settimane ho avuto un sacco di problemi con il touchpad del mio portatile: per qualche oscuro motivo dopo l'aggiornamento di gnome (versione 2.28) ho "perso" le funzionalità di "scrolling" e "tapping" (sul mio computer ho una Debian testing). Oggi mi sono messo d'impegno e ho trovato una buona soluzione per far tornare tutto alla normalità (grazie a Google e al forum di archlinux).

Per prima cosa bisogna copiare il file /usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi nella directory /etc/hal/fdi/policy/:

cp /usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi /etc/hal/fdi/policy/

In seguito è necessario modificare il file /etc/hal/fdi/policy/11-x11-synaptics.fdi aggiungendo la descrizione delle funzionalità che vogliamo abilitare. Io ho preso spunto dal file di esempio presente sul wiki di archlinux.

Infine, un riavvio di X metterà fine a tutti questi noiosi problemi!

Well done!

:)

Filed under: linux

Alex says...

I think its new in PostgreSQL 8.4, there is a new field type called citext, which stands for case insensitive text.  Currently on Ubuntu 9.10 its in the PostgreSQL contrib package, which often serves as a testbed for features before they are adopted into PostgreSQL proper.

Using citext ensures that all comparisons are case insensitive, which includes referential integrity on inserts, updates and deletes, and SQL queries for lookups for example, which I think will work well for those fields that should always be compared case insensitive.

Although citext (and probably many other modules) are not listed on the contrib page, they are included, you can see them in the complete file list.

Steps to install on Ubuntu 9.10 (Karmic Koala):

# Install the contrib package
sudo apt-get install postgresql-contrib-8.4
# Add the citext module to a database of your choice
psql [username] -d [databaseName] -f /usr/share/postgresql/8.4/contrib/citext.sql

Where in this case /usr/share/postgresql/8.4 is the PostgreSQL SHARE_DIR folder.

Now you can use the field citext instead of text.  If you'd like to use citext on Ubuntu 9.04 Jaunty (which only includes PostgreSQL 8.3), then check out Mark's post about installing PostgreSQL 8.4 on Ubuntu 9.04.

Filed under: howto, linux, postgres, postgresql, ubuntu

Ben says...

So you got a brand new shinny Android phone... now what?? GET APPS!

Doesn't matter what carrier you're on - most of the apps are pretty universal. Here are some of my favorites and a little blurb/description:

Advanced Task Manager - $0.99 - Enables you see current "processes running" with the ability to end them. You can also set up "exclusions" for apps you don't want ever ended, as well as set an "auto end" interval to end all running apps (that aren't excluded). This will help your new found multitasking.

Snap Photo Pro - $0.99 - A nice replacement for the default camera app. Gives some more options for picture taking and it personally improved my picture taking experience with Android. Now I know Android v2.0 might negate the use for this app but you could try the free version to try it out.

Weather Channel - Free (ad supported) - I've used MANY Android weather applications in the past year and this one is my favorite. I mainly use the "location aware" widget that sits on your screen and gives you the current temperature and forecast for your current location. It can also alert you in the event of severe weather.

Handcent SMS - Free - If you don't like the text messaging built into Android, then replace it with this one. Gives you a LOT more options for customization and the ability for pop-up notifications.

Twidroid/Twidroid Pro - Free/$5 - Absolutely positively the BEST Twitter app for Android, so far. Pro version adds support for multiple accounts, widget, and more color schemes.

Astro File Manager - Free (while in beta)  - Possibly one of the most powerful applications (that doesn't require root access) for Android. This app allows you to manage all the files and folders on your SD card. It gives you the ability to zip/unzip files, backup installed applications, share files on your SD via email, and much more.

tAttachApkInstaller - Free - Allows you to install .apk files (the installation file Android uses) right from the built in GMail application.

WiFi Analyzer - Free - This one would really only apply to the "uber-geek" users out there. It allows you to see in much more detail, than the default WiFi finder, all the WiFi access points around you.

Scoreboard - Free - An application made by Google that allows you to keep track of all your favorite sports teams. Offers LOTS of sports as well as notifications for score updates.

Last.fm and Pandora - Free - Stream music over the air to your device. Both have widget support.

Shop Savvy - Free (ad supported) - Gives you the ability to scan bar codes on products to get their prices online and at retailers nearest to you.

NewsRob - Free - A RSS reader that syncs with your Google Reader account - there are many others out there, but this one seems to work the best. It DOES synchronize items you read on it to your Google Reader account.

*UPDATE* - Forgot one of my favorites:

SMS Backup - Free - This application further expands Android's "cloud" experience by syncronizing your sent & recieved text messages up to your GMail account. A feature I've wanted on ANY platform for years...

Filed under: android, google, linux

bharathi says...

nc -- TCP/IP Tool to read and write data across network connection

Summary:
netcat(nc) is a simple utility which reads and writes data across network connections, using IP, TCP or UDP protocol. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. It is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.

We can use netcat with-in local system. But just for better understanding, I use two systems A and B. IP of A is 192.168.1.1 and B is 192.168.1.2.

Examples:

 
(A) $ nc B 21 -- Connect to port 21 on B 
 
(B) $ nc -l -p 5000 -- Listen on port 5000 in B. 
 
(A) $ nc B 5000 -- Connect to B on port 5000. Whatever typed
in A will goto B and vice-versa. 
 
(A) $ nc -o dump.txt B 5000 -- Same as above. But all traffic
will be dumped in the file in hex format. 
 
(B) cat fileB.txt | gzip -9 | nc -l 5000 -- Send the file through
port 5000 and on-the-fly compress it. 
 
(A) nc B 5000 > fileA.gz -- Receive the file from B and save it in A. 
 
(A) $ echo "Hello" | nc -w 1 B 5000 -- Connect to B on port 5000 and 
pass "Hello" message to it. 
 
(B) nc -l -p 5000 -e /bin/bash -- Listen on port 5000. If anyone 
connected this, provide the bash shell. (Simple way to open a 
backdoor). 
 
 
(A) $ nc -zv B 10-100 -- Simple TCP port scan on B. Option -z make nc 
not to wait for any response from B. 
 
(A) $ nc -zvu B 10-100 -- Simple UDP port scan on B. 

Read: man nc or man netcat

Filed under: linux, odoc

frjohnsen says...

So installation of Ubuntu 9.10 in dual-boot with Windows went fine, but I did encounter some problems on my first workday. For good solutions, feel free to comment.

  • We're using Exchange 2007 for email, contacts and calendars, and I think I have tried every combination of servers and domains available in Evolution with no luck. I'm sure there is a solution, but it is certainly not easily found. This could be what makes me drop Ubuntu alltogether if there is no solution.
  • Dual screens posed quite a problem, and it's still not solved completely. I use a 24" Dell via HDMI and a 17" IBM via VGA from my laptop, and after some fiddling, I managed to get them to work. However, I can't shut the lid on the laptop without all screens going blank.

On a positive note, installing a Dell 3115cn printer via WLAN was completed without a hitch, and OpenOffice seem to to the job so far.

More to come, have a great weekend!

Filed under: Exchange, Linux, OpenOffice, Ubuntu, Windows

justin says...

edit the apt sources file

$ sudo gedit /etc/apt/sources.list


add in

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main


then add in the apt key

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5


then update apt and install chrome

sudo apt-get update
sudo apt-get install chromium-browser

Filed under: chrome, linux, ubuntu

tobiasblog says...

Filed under: Linux

tobiasblog says...

http://www.ubuntu.com/

Filed under: Linux

autodidact says...

I've been directed to Write Something, You Miserable Fuck, so here I go. As I ran out of time and Adderall (prescription, you degenerates) yesterday, I promise to devote twenty minutes to tonight's post.

(Much later: I have been dedicating at least ten, nay, twenty minutes a day to writing, and I still have yet to crank out an actual post. It becomes clearer now why I opted for this particular exercise instead of nanowrimo)


I am writing this on an Asus EeePC 900 running Arch Linux. Its name is Fizzgig and it goes just about everywhere with me; strangely, flipping open my netbook for a quick game of Nethack is, in most social situations (dinner out, movie night, conversation, sexual encounter, etc), considered rude, whereas iPhone owners seem completely impervious to these tacit rules of decorum and, with much fanfare and no protest, will whip theirs out every eight seconds to tweet notes to Remember the Milk which will later show up on some sort of specialized app for just such things. Behold the power of Apple!

Anyway. The Eee. With its small hard drive, small screen, and processing power relatively equivalent to that of a hamster on a wheel, it is perfect for a little bit o' that hip Linux minimalism. If I lean in real close, I can actually hear its faint whisper: "Noooo! Not Eeebuntu!" And I'm not just being snobby about Ubuntu's efforts to actually be accessible and friendly to non-geeks -- let me point you toward the fresh Kubuntu-karmic install on that big hulking desktop over there -- it has just never been my experience with Ubuntu that I could install a package without, say, suddenly needing to download like 500MB of GNOME dependencies. Seriously. I wouldn't be surprised if 10.4 somehow managed to work GNOME dependencies into fdisk.

Will be attentive to the flow of content here and save my GNOME-hate for another post. (Not hate, actually. Using it just... makes me mad. Which, I have heard, is nothing compared to developing with Gtk...)

So I went for Arch, which is magnificent. In faithful Hip Lightweight Linux Geek style, I'm rockin' a tiling window manager that is usually just managing terminal windows, plus firefox and some other graphical goodies. (But just to be obnoxious I've uploaded a screenshot o' text-fu. Yep, that's w3m showing graphics in a terminal.)

Next time: more Trends In Geekdom! Among them: Haskell, forking dwm, and the emergent Vile Frat Boy culture of Ruby hackers. Until then... I'm going to go hack on dwm.

Filed under: eee, linux, wrisomifu

kwebble says...

Fontys Hogeschool Techniek en Management en aanbieders van Linux-trainingen beginnen samen een Nederlandse versie van Het Linux Professional Institute (LPI). Dienstverleners als Ictivity, StarTel en AT Computing doen mee aan het initiatief.

 

Filed under: linux, opleiding