|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix > OCNix | |
Scripts anyone?
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#21 (permalink) | |||||||||||||
|
Linux Lobbyist
|
Yeah, PM admin with a username and pass you want and he'll set you up with access.
__________________
Lattyware | Main (Sig) Rig: gBOX42 | Lan Rig: gLAN42 Never been convinced by Linux? Here is a challenge. | Using LVM Scratched Disc? | Guide To LAN Parties | Writing a GUI application in Python/Glade Etching an image into your case. | Wireless Access Points: Easy wireless networking. A Member Of The OCN Anime/Manga Club There are three types of software. Free as in speech (FOSS), Free as in beer (Freeware) and Free as in BitTorrent.
|
|||||||||||||
|
|
|
|
#22 (permalink) | ||||||||||||||
|
OLPC XO developer
![]() |
Thanks!
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn Try out the latest Programming Challenge Quote:
CPU-Z Validation @ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15 Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More
|
||||||||||||||
|
|
|
|
#23 (permalink) | ||||||||||||||
|
Folding Fanatic
|
Quote:
Thanks! Will definitely try that out later tonight.
|
||||||||||||||
|
|
|
|
#24 (permalink) | ||||||||||||||
|
Intel Overclocker
|
Quote:
I've been ill so haven't done anything with OCNix![]()
__________________
|
||||||||||||||
|
|
|
|
#25 (permalink) | |||||||||||||
|
Linus Torvalds is my hero
|
@dangerousHobo
What would you recommend to read to learn about writing scripts?
__________________
Looking for a Folding at Home GUI installer? Look no further. Quote:
Quote:
|
|||||||||||||
|
|
|
|
#26 (permalink) | |||||||||||||
|
Linux Lobbyist
|
You didn't ask me, but I'll chip in.
Really, It all depends what language you are looking for. If you mean Bash scripts, then it's just the same as bash from a terminal, and should be easy to get a hold of. As to other languages, as the Python devotee I am, I'd recommend it - it's a nice language which is easy to use, with great documentation to make it easy. There is a huge tutorial on the python site. Take a look at that, read up as much as you feel is necessary, then get to work. Don't think you have to learn everything and then apply it. Learn the basic structure, then when you want to do something and don't know how, take a look at the tutorial or the reference. Frankly, everything you need to know on Python can be found on this page.
__________________
Lattyware | Main (Sig) Rig: gBOX42 | Lan Rig: gLAN42 Never been convinced by Linux? Here is a challenge. | Using LVM Scratched Disc? | Guide To LAN Parties | Writing a GUI application in Python/Glade Etching an image into your case. | Wireless Access Points: Easy wireless networking. A Member Of The OCN Anime/Manga Club There are three types of software. Free as in speech (FOSS), Free as in beer (Freeware) and Free as in BitTorrent.
|
|||||||||||||
|
|
|
|
#27 (permalink) | ||||||||||||||
|
OLPC XO developer
![]() |
I don't ever remember reading just one thing that taught me ever thing I now know, it was a combination of a lot f different books and tutorials.
I learned nearly everything I know about Perl from the Perl programming book and the Perl Cookbook. If you wanted to learn Perl then definatly go to your local library and see if they have those books. As for Bash, take a look at the link latty provided for it, and look at the first link. It seems like a good tutorial for learning Bash. Python is also a popular lanuage nowadays and you'd be able to find a lot of tutorials and guides for it. Another personal favorite language of mine is ruby. You can find some documentation and tutorials here. Ruby might be a bit harder to learn as its a pure Object Oriented language, and if you don't know anything about programming or OO, then it may seem a bit confusing. Aside from the tutorials though definatly try to find some scripts or programs written in the language you want to learn and try to figure out what it does and look at how its doing it. As far as doing anything graphical I use Gtk2 for all my graphical frontends. I always end up looking at the APIs though to use it. At first though I'd recommend just try and focus on learning the program language and stick with the command line, and then later try adding a graphical front end to it. And as far as which language to learn that is really up to you. Bash is pretty simple so you could start there. Then move on to something like Perl or Python. @lattyware Question on Python, will 3.0 backwares compatible with 2.5 or 2.6 code? I was thinking about picking up python, but didn't want to learn some 2.5 stuff that will be different when 3.0 is released.
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn Try out the latest Programming Challenge Quote:
CPU-Z Validation @ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15 Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More
|
||||||||||||||
|
|
|
|
#28 (permalink) | |||||||||||||
|
Linux Lobbyist
|
Python 3000 is going to have no backwards compatibility, but it's one of those things where most systems will have both versions installed, I think, and the changes are not too huge, as far as I am aware - learning it now will still help you when Py3k comes along. It's a lovely language and I recommend picking it up.
I'd also agree with the GTK being the best graphical tool out there - mix it with Glade and it's a beautiful thing to design a GUI in it.
__________________
Lattyware | Main (Sig) Rig: gBOX42 | Lan Rig: gLAN42 Never been convinced by Linux? Here is a challenge. | Using LVM Scratched Disc? | Guide To LAN Parties | Writing a GUI application in Python/Glade Etching an image into your case. | Wireless Access Points: Easy wireless networking. A Member Of The OCN Anime/Manga Club There are three types of software. Free as in speech (FOSS), Free as in beer (Freeware) and Free as in BitTorrent.
Last edited by lattyware : 02-16-08 at 11:20 AM. |
|||||||||||||
|
|
|
|
#29 (permalink) | |||||||||||||||
|
Linus Torvalds is my hero
|
Okay dangerousHobo/lattyware/whoever, I got a question...
I'm trying to build a script to use on my farm at school. I'm making it so that I can have my n00ber friends can just click the script and run it in terminal. Here's what I have so far... Quote:
Quote:
Also, I'd like to hide what the user types in. (for other people who use it or whatever)
__________________
Looking for a Folding at Home GUI installer? Look no further. Quote:
Quote:
Last edited by GodofGrunts : 02-27-08 at 12:54 AM. |
|||||||||||||||
|
|
|
|
#30 (permalink) | ||||||||||||||
|
OLPC XO developer
![]() |
you can try this, I didn't test it
cd /home/$USER/Desktop/FAH-installer echo "Enter Password" stty -echo read passwd stty $stty_orig sudo -S apt-get update $passwd
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn Try out the latest Programming Challenge Quote:
CPU-Z Validation @ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15 Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More
Last edited by dangerousHobo : 02-27-08 at 01:47 AM. |
||||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|