Gnome online accounts – error proxy

The error is this:

To solve this you need to do this steps:

Under System Settings->Network->Network proxy – this is under online Accounts on same menu, switching to None will solve this error

Linux lsof command.

LiSt Open Files (LSOF) is an excellent utility for managing and tracking network connections on your Linux system.

This utility allows you to see what program is operating on an open port, which daemons have established connections, and what ports are open on your server.

You can list open ports, identify connections currently being made to your system, and determine what resources a process is using.

Also , on many Linux systems, LSOF will be installed by default.

Lets see some exemple and how this mean.

The lsof -i command lists all open files associated with Internet connections.

By default, LSOF lists detailed information about each connection.

List all open Internet files.

This allows you to watch on your system with an output change over time.

This list all NFS files in use.

This unmounting a partition , in this case sda1.

This kill each processes or users to free the partition.

List all connection on your server openned. The output will not be the same for root user.

List all files on your server used by your_user.

Find all open files by program’s name. For example firefox.

You can use ^ translate by except to find all files open by all processes except PID 2628.

Count the files opens by all processes except PID 2628.

List all opened files by httpd run by root

List all opened files by firefox inside /home/your_user/ folder.

Shows you all open files that have a link count less than 1

Also, shows you all open files are opened by a program which doesn’t exist in file system.

You can manually kill/terminate these processes to free up the memory.

Last example is about your program and ports.

The output will be GoogleTalkPlugin.I think it does not work properly with linux, is just my opinion.

Web service and XML with Windows PowerShell .

In this tutorial I show you the basics of poarse XML file and acces website.

Also I show that with the graphical user interface (GUI) using Windows PowerShell

It is very easy to using a Web service in PowerShell V2.

We can use that with the new Cmdlet New-WebServiceProxy.

The PowerShell knows how to handle XML.We just need to cast it to an XML object

Let’s try to get weather from internet.

This is the source code:

Run this script with powershell or with Windows PowerShell Integrated Scripting Environment (ISE)

Now that we see weather infos from London City Airport – United Kingdom.

powershell weather

Creating GUIs with Windows PowerShell

In this tutorial I show you the basics of creating a graphical user interface (GUI) using Windows PowerShell

The framework of libraries .NET also referred to as assemblies, are provided specifically for graphical user interface creation, web application development, business process handling and database access, and more…

WinForms is a subset of the .NET framework designed specifically for the creation of Windows based GUIs.

To start Windows PowerShell from the Start menu, click Start, write powershell, and will see something like:

powershell start

The next image shows us the ways to write source code, command line and Windows PowerShell Integrated Scripting Environment (ISE).

powershell tools

Let’s try one example.I will use source from last tutorial about reading BIOS info.

This is the source code:

Run this script with powershell or with Windows PowerShell Integrated Scripting Environment (ISE)

Now that we have seen a simple GUI created in Windows PowerShell.

powershell GUI

C::B bad compiler selection.

Under codeblocks if you select a bad compiler, you got this error:

Click right under project and select Buil Options….Now select your compiler.