Ubuntu :: Pointers To Learning Scripting?

Apr 25, 2011

I have a project for my computer class, and I was a bit ambitious with my ideas and am wondering if I made a smart choice. I need to learn sooner or later anyway! I'm a beginner when it comes to scripting but I'd like to learn more advanced stuff. When I say basic I really mean basic among all basic. To give you an idea I only know some simple HTML and Python. The idea I proposed for my project goes as follows:

The challenge we were given is to create a spreadsheet of data from a website given to us. Points are given for creativity and simplicity in how we go about doing this.After taking a look at the site (or rather, html files given to us), and with having dabbled with Python before, I came up with what I thought was a pretty good idea.The pages of the "site" are just numbers. They go from 001-117 .html in terms of filenames. Their source code has some sort of table set up, and the information we are pulling off are easily found by the tags that precede them (the info, btw are the periodic elements).

The tags are pretty obvious, and state pretty much what they are labeling. My python knowledge is almost nonexistent but I figured that would be something Python would be capable of. Why do I post this here? I'm relatively new to Ubuntu too but keep hearing about bash scripts and such. Would this be even better? (Perhaps it's silly but I'd like to use Ubuntu to accomplish this)

Or is there an even better scripting method/language I should be using? Could anyone give me some pointers in how I could accomplish this? I'm really hoping to learn a lot from my first "real" scripting experience!

View 4 Replies


ADVERTISEMENT

Ubuntu :: Where To Start Learning Scripting?

Jan 5, 2010

I have been using Ubuntu for about a year now, for my Home PC I have completely switched but still have windows on my wife's and work computers. I am in the data storage industry and have a good basic understanding of unix and linux. For my own learning I want to start learning some basic scripting where I can create simple things that make life easier like to become a beginer UNIX or linux admin..what should i start with...I just seem to be so overwhelmed cause there are some many things you dive into..I see so many types of scripting shells I don't know where I should start to learn the basics

View 4 Replies View Related

Ubuntu :: Start Learning GUI Bash Scripting But Can't Find The Right Tutorial?

Sep 30, 2010

I want to start learning GUI bash scripting but I can't find the right tutorial. I'm interesting at creating menus like ex. IPTRAF or MC (midnight commander) but all i find is tutorials for KDE & GNOME. The idea is that I want to create programs that don't need X sessions.

View 2 Replies View Related

General :: Need Efficient Pdf Book / Documentation For Learning Scripting

Jun 10, 2010

I am very new in linux/aix scripting. I request you all to give me efficient pdf book or documentation for learning scripting.

View 2 Replies View Related

General :: What Is Great Book To Start Learning Scripting In Bash?

Apr 23, 2010

I've been switched to a new department at work and am totally clueless when it comes to scripting in bash. When I told them I was a fast learner, I didn't think they'd throw me into the deep end of the pool so fast. So to make a long story short. What is a great book to start learning scripting in bash? My supervisor already gave me a simple task to do. Conceptually it sounds quite easy in my head, but actually writing out a script is a bit more daunting and complexed than I first thought.

View 3 Replies View Related

Programming :: Firefox Scripting Add-on (Scripting HTML / Javascript Inside Firefox)?

Sep 17, 2009

Is there a firefox add-on to script HTML and/or Javascript directly inside firefox

View 1 Replies View Related

Ubuntu :: Learning From Ground Up

Jan 24, 2010

I am extremely interested in learning more than just the "basics" of Linux. I can install, mount, the very very basics etc. But what I want to do, is learn how to do all this from the shell, while the GUI is nice to surf the web and music,.I want to be able to control my machine. I want a beginners book not on how to install linux, but how to administer it. Something like an idiots book, get myself a good foundation before moving on up.

View 4 Replies View Related

Ubuntu :: Learning Both Rpm And Dpkg?

Jul 26, 2010

I am a student trying to learn both rpm and dpkg. After installing rpm in my Ubuntu 10.04 desktop copy, I tried the following query with no result:

$rpm --query --all

Is there anything I need to do in addition to installing RMP on Ubuntu and use it?

View 5 Replies View Related

Ubuntu :: Get X11 Mouse Pointers Working?

Jun 10, 2010

I've been facing this problem since months before I decided to find an answer. I downloaded a cursor theme from gnome-look.org and then installed it by dragging the tarball to the themes window. It said theme is installed. But the effects are not visible yet. I then shoot up firefox to see the new pointer working but not outside firefox. I even noticed the new pointer theme works in nautilus for all except pointing (it works while resizing, selecting text, loading but not the regular pointing).

I searched the forums and found a similar problem: [URL]

the solution doesn't work because there is no "cursor theme" option in ccsm. i've attached a screenshot too.

Is it a bug? do i need to disable compiz to "have my own desktop"? Is there a solution?

View 5 Replies View Related

Ubuntu :: Pointers On Using Old Xorg With Maverick?

Dec 15, 2010

I need to use fglrx as later don't support TecraS1 chipset and ati driver is unable for FS flash playback.The required ati fglrx only works with Dapper 6.06 LTS but not with new newer releases with newer xorg. someone fix me on this. If I remember maverick xorg I lose all the ubuntu screen candy, right? If I compile xorg7.0 with Maverick I guess I could get it to work, but what about getting Ubuntu Gnome desktop instead of plain out-of-the-box xorg?

View 6 Replies View Related

General :: Best Book For Learning Ubuntu?

Jun 23, 2010

Suggest me the best book for learning more about directories in ubuntu filesystem

View 5 Replies View Related

Ubuntu :: Custom Mouse Pointers Appear Only In Certain Places?

Oct 18, 2010

Running 10.04 64-bit. After installing any custom mouse pointers the new pointers only appear when the pointer is in the main "body" of a window. When in the menu bar, title bar, and some other peripheral areas of the window the pointer changes back to the default. Custom pointers are not displayed at all on the desktop or in the panels. Very strange.

View 2 Replies View Related

Ubuntu :: Cursors / Pointers Doesn't Work Properly In 9.10

Jan 19, 2010

I am running ubuntu 9.10 on a dell mini 10v. I am experienced in running themes and xsplashes, but for some reason i can not successfully install pointers. I drag and drop the pointer themes to the appearance window found from System>Prefrences>Appearances. When i click customize i see that the pointers i instatlled are there, however when i choose them it doesn't work properly, if i go over text or resize a window i see the new pointers but the main pointer always stays the default white.

View 1 Replies View Related

Ubuntu :: Could Use Some Pointers For Making A GIMP/tesseract Script

Feb 17, 2010

I'm currently undertaking the ridiculously stupid task of using tesseract ocr to convert a scanned 1,000 page .pdf document into .txt documents (I volunteered to do it for a girl - I'm pathetic, I know). I import one page of the .pdf at time in GIMP, convert it to indexed colors, save it as an uncompressed .tif, and then run tesseract in a terminal on the saved .tif, after which it spits out a .txt file (which I instruct tesseract to name after the page number of the .tif, for example 537.tif becomes 537.txt).

This process takes about a minute per page, so at 1,000 pages we're looking at 1,000 minutes. That's a lot of minutes. I've looked into scripts some and I understand the very basics, but I don't know how to make a program, like GIMP, perform several specific functions in succession (import, convert to indexed colors, save as uncompressed .tif), and then have another program, like tesseract, perform its function after the completion of the prior program's function. I'm not trying to ask anyone to do my work for me, but could someone give me some advice regarding this, or point me in the direction of a newbie-friendly how-to that might help me out? I haven't found any. I'd like to finish this thing quickly, so as to maximize girl-impressing potential.

View 2 Replies View Related

Programming :: C With Gcc: Are All Variables Defined Like Pointers

Sep 13, 2010

i'm practicing in very basic c programs using the gcc compiler.I found that when i create two variables let's say

Code:

int a,b and Code: a=15;
b=3;
a=b;
b--;

then a equals 2.I thought that this isn't normal in C isn't it?I haven't had the time to read the gcc documentation yet...so i think it has something to do with my compiler's default settings.I use the

Code: gcc filename.c -o filename command to compile

Are all variables defined like pointers?

View 5 Replies View Related

General :: Use Pointer To An Array Of Pointers On CPP?

Jun 15, 2010

I'm trying to list some information of my database. To do that I'm using a class(MyClassDao) that will do all the SQL stuff and returns to me a list of objects with the content of my table (each row = one object). The problem is: my list gets only the first object... on the second index I'm getting 'segfault'.Can someone post something to help me (link, reference or example)?The call for the list function is:

Code:
MyClassDao* mcd = new MyClassDao();
MyClass** myClassList;

[code]...

View 2 Replies View Related

Programming :: C - Segfault During Malloc. How To Use The Pointers

Mar 23, 2010

So the place where I'm having a problem is here:

Code:
typedef struct {
void **Mem_Chunk;

[code]...

View 10 Replies View Related

Programming :: Difference Between Two Arithmetic Pointers

Jun 1, 2010

What is the difference between *ptr++ and (*ptr)++. In my opinion the terminology is all over the place so if you could give an example it would be better.

View 8 Replies View Related

General :: Best Distro For Learning Terminal?

Mar 19, 2011

I'm looking for the most pure linux terminal distro. I am trying to learn linux and I have Ubunutu 10.10 installed but I feel like it's not as pure as other distros, like Ubuntu 10.10 is different from the average terminal experience.

Maybe I am wrong about this, but certain things like the grub .lst file is now a .cfg file in Ubuntu, is this replicated across all linux, or is this unique to Ubuntu? Little things like this that make it difficult to learn. Are all the distros unique in this way?

View 6 Replies View Related

General :: Start Learning Red Hat Take It As Career?

Apr 21, 2010

I want to start learning Red Hat Linux & take it as career. I'm in Bangalore, India. Can anyone tell me good Red Hat Linux training institutes in Bangalore (possible near BTM).

View 5 Replies View Related

Programming :: Learning C++ First Script Won't Compile

Sep 2, 2010

I have decided to try out a little bit of c++ programing so I went out and bought me a book "Sams Teach your self C++ in 21 Days" Now I am at the part of the book where you write the hello world script. when I run Code: cc hello.cpp get this

[code]....

View 14 Replies View Related

Programming :: Learning LibUSB From C Code

Oct 1, 2010

I'm trying to learn how to use USB from c code. Rather trying kernel stuff I thought I'd (after some searching ) use libusb. So I searched for documentation, unfortunately I came across two sets of documents each with it's own API?
[URL] and [URL]
For example one inits with libusb_init (libusb_context **context) the other uses void usb_init(void); I'm using libusb rather than kernel programming as I'd like to compile the code for windows as well as linux.

View 2 Replies View Related

Ubuntu Servers :: Setup A DHCP3-server On Brand New Learning 11.04 ?

Jun 3, 2011

I been trying to set up a DHCP3-server on my brand new learning Ubuntu 11.04 server. I can connect when i put the IP infomation in manually, so I know everything else is working, just got to fix the DHCP problem before I put the machine into production on my home LAN. Can someone tell me if these config files located at /etc/dhcp3/dhcpd.conf and another at /etc/default/dhcp3-server are correct? eth1 is the NIC that will be the LAN side of the network, I double checked that...

Code:
/# A slightly different configuration for an internal subnet.
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.10 192.168.10.200;
option domain-name-servers 8.8.8.8, 8.8.4.4;
option domain-name "linuxrouter.local";

[Code]...

View 7 Replies View Related

Fedora Installation :: Get Around Or Work With SELinux Any Pointers?

Mar 22, 2009

I am trying to install MyEclipse on FC10. But, I am getting an SELinux alert saying that myeclipse is attempting to move/change a file - Thus I can't seem to get it installed.

I have NO idea how to get around or work with SELinux any pointers.

View 2 Replies View Related

Programming :: Function Pointers To Class Members Cpp

May 23, 2010

i'm a bit stuck playing with the following class setup for glut. The actual issue is with the function pointers.Basically the following code is the opengl redbook cube example slightly modified.

View 2 Replies View Related

Programming :: Function Pointers With Variable Arguments

Jul 14, 2011

I need to call functions that match an input string (if input str = "func1", call func1), so I have this:

Code:
#include <stdio.h>
#include <string.h>
void function_a(void) { printf("Function A
"); }

[Code].....

In the above example, the functions take no input arguments. Can they take a different number of arguments, for example, function_a(int), function_c(int, int), function_e(int, char, int)? How can I do that?

View 3 Replies View Related

Programming :: Passing Local Variable Pointers In ASM

Apr 12, 2010

I want to know is there some more efficient way of passing a pointer to a local variable as a parameter to a function in x86 asm? Right now I have to move the base pointer to a temp register, subtract from the register and pass that, like this (assuming a local var at esp-4):

Code:
mov eax, ebp
sub eax, 4
push eax
Is there a better way?

View 8 Replies View Related

Programming :: Perl - Pointers To Arrays From Hashes?

Feb 18, 2010

I'm trying to figure out how to code for this specific type of instance - I want to use a hash and have the key be a reference to an array, and not use the key in the standard way of it being a scalar. Basically, I have a large output that I need to process line by line, and rather have access to it as an array than a big block in a scalar. For the big block hash as a scalar I would do -

Code:
foreach $CONTROLLER (<CONTROLLER_LIST>) {
$ALL_DISKS{$CONTROLLER} = `ssh -n <commands>`;
}

Now I know I could take the scalar and split it to another array after the fact like -

Code:
@TEMP_HOLD = split (/s+/,$ALL_DISKS{$CONTROLLER});

How would I code it that I would have access to the key information as an array and not a scalar? I know it needs to be a pointer and we're going to have -> in there somewhere, but not sure how to approach it. Some of the documentaiton I've been reading about referencing I've found a little confusing so far, and trying to figure out how to use them in context of what I'm working on.

View 1 Replies View Related

Programming :: Is Spacing As Used Non-factor When Declaring Pointers?

Jul 3, 2010

I've seen all three uses:

type * pointer
type *pointer
type* pointer

Are these 3 forms essentially the same, i.e., is the spacing as used here a non-factor when declaring pointers?

View 2 Replies View Related

Programming :: How To Pull Node Pointers Out Of The Model

Mar 25, 2010

I am trying to find a way to pull Node Pointers out of the model, for use in other areas of the program. The solution is probably simple but I haven't had any luck finding it.

Model for a QTreeView:

Code:

class testModel : public QAbstractItemModel
{
public:
testModel();
~testModel();

[code]....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved