You are not logged in.
Check it out it's an awesome resource for all you programmers out there:
Free programming books!
Last edited by tamikan (2013-11-20 16:37:45)
Offline
Excellent! Thanks.
Tim
Offline
Moved.
Res publica non dominetur | Larry the CrunchBang Guy speaks of the pompetous of CrunchBang
CrunchBang Forum moderator
Offline
This is excellent! Thanks!
Offline
Wow, thanks very much. I finally found a very good tutorial for Tkinter in Python.
Offline
Great reference! Thanks so much.
Offline
nice one
Offline
Great indeed, but don't read this one:
"Learning the bash Shell"
Offline
list of excercise to get used to any language(Primarily for python)
https://github.com/karan/Projects
Offline
Great indeed, but don't read this one:
"Learning the bash Shell"
Any reason why not? Looks legit enough to me.
Offline
sysaxed wrote:Great indeed, but don't read this one:
"Learning the bash Shell"Any reason why not? Looks legit enough to me.
The main reason is that the book is outdated:
This second edition covers all of the features of bash Version 2.0, while still
applying to bash Version 1.x.
And we have 4.2 for some time already.
The whole book uses test command ([) which is not recommended in bash. Here's why
And it would be OK if some parts were outdated, but there are inexcusable quoting errors all over the book.
#Page 156 (this is one of the reasons to use [[ ]]):
if [ $1 = −o ]; then
#Page 157
while [ −n "$(echo $1 | grep '−')" ]; do
#Page 129(more quoting errors! Also probably it would be better to use a dict here, but the book is outdated, so a switch would be a better solution back then in year 1998, I guess...)
if [ $extension = gif ]; then
exit 0
elif [ $extension = tga ]; then
tgatoppm $filename > $ppmfile
elif [ $extension = xpm ]; then
xpmtoppm $filename > $ppmfile
elif [ $extension = pcx ]; then
pcxtoppm $filename > $ppmfile
elif [ $extension = tif ]; then
tifftopnm $filename > $ppmfile
elif [ $extension = jpg ]; then
djpeg $filename > $ppmfile
else
echo "procfile: $filename is an unknown graphics file."
exit 1
fi
#Page 234
cp $file $dest
And so on... it's not even funny
If you still don't understand what's wrong with it, then please visit this page http://mywiki.wooledge.org/BashPitfalls
Last edited by sysaxed (2013-12-16 16:13:42)
Offline
Thanks great resource!!
We should have a programming index here on the site, since most are already active and helpful.
Of course the site is dedicated to !# but it could not hurt .. just an idea.
Offline
Thanks great resource!!
We should have a programming index here on the site, since most are already active and helpful.
Of course the site is dedicated to !# but it could not hurt .. just an idea.
+1
I was just thinking about that.
I am an American mathematician, concert pianist, logician, Taoist philosopher, and magician. Google me
Offline
educational programming languages
Check it out it's an awesome resource for all you programmers out there:
Free programming books!
list of excercise to get used to any language(Primarily for python)
https://github.com/karan/Projects
I found https://freecomputerbooks.com/ and http://www.free-computer-books.com/ but the first one is better
I also found http://www.onlineprogrammingbooks.com/
and the https://ubuntuforums.org has some useful threads in their Development & Programming department
Programming Guides and Basics - Read Me First
the above post has included a link to How to start programming - guides and links for many languages which is really very similiar to the ops link so much so that I there often wonder if and when they are but the very same
they also have Beginners Team Programming Challenges Index and then Advanced programming exercises
this isnt really programming but they do have Linux Command Line Learning Resources
http://www.daniweb.com/ has a to be rivalled with communtiy
this has some useful php links
Java Web Development - Starting [tutorials / resources / faq]
C++ Books + C / C++ FAQ's and Practice problems + "Flushing" the input stream
Starting " C " + Code Snippet Ideas
Java projects for learners + Starting "Java" [Java tutorials / resources / faq]
Getting Started With C# - The List + New Programmers - What resources are available to you?
What is the best Objective-C tutorial?
Starting Python + Projects for the Beginner + Python GUI Programming
Let's learn assembly! + Assembly Language Resources
Computer Science Discussion Community
Game Development Discussion Community
Starting mobile development [SDK / tutorials / resources / faq] + beginner + Error in beginning android tutorials
they also have tutorial and code snippet tabs for each of the categories plus a chatroom section
Can you design and develop a game in COBOL? this is about competition
gnu/linux
bash shell scripts
wxwidgets
python
c + c++
java ¹
apache
github
mozilla docs
google
geosoft
scripting
this website used to work but not any more? it was legen-wait-for-it-dary!
stackexchange golf
stackexchange challenge
stackoverflow
reddit
plugin
theoretically chaotic
life story and experiences
other programs
forum signature idea
programming language idea
what does this even mean?
Tim Minchin's Storm the Animated Movie - YouTube
Last edited by HELPME (2014-06-04 15:03:45)
Help My Addled Sobriety ; visUal hieRArchical clusteriNg Using k-meanS
read this before trying to helpme because it will probably help the both of us by filling two birds with one bone alternatively
Offline
Check it out it's an awesome resource for all you programmers out there:
Free programming books!
I wrote this little script, tonight, for downloading all pdf books linked in this github project.
How to do it :
sudo gem install mechanize
git clone https://github.com/vhf/free-programming-books.git
cd free-programming-books/
mkdir files
delete books in language you don't want ( *-ru.md, *-bg.md etc. )
Copy this script in free-programming-books/getFreeBooks.rb
#!/usr/bin/ruby
require 'mechanize'
def download(agent, url, dst)
unless File.exists?(dst)
tryLeft = 3
begin
agent.get(url).save_as(dst)
print " - success"
rescue
if tryLeft == 0
print " - problem url"
else
tryLeft -= 1
print ' | fail - retry |'
retry
end
end
else
print " - already there"
end
end
mdFiles = Dir["./*.md"]
agent = Mechanize.new { |a|
a.open_timeout = 10 }
mdFiles.each do |file|
text = IO.read(file)
matches = text.scan(/\((http[s]*:\/\/[^ ]*?\.pdf)\)/)
matches.each do |match|
fileName = nil
if match[0] =~ /\/([^\/ ]*?\.pdf)/
fileName = $1
end
print "\nDownloading #{fileName}"
download(agent, match[0], "files/#{fileName}")
end
end
./getFreeBooks.rb
(execute it in the free-programming-books dir)
Enjoy
Offline
Thanks for this! I'm going to start learning a language, today. Not sure whether Python, or C++. I know Python would probably bring me quicker satisfaction, and thus I would I would be more inclined to keep on with my studies. On the other hand, I'm tempted to start with the more complex/lower level language so that everything afterwards is less of an undertaking. On the C++ side, I have Accelerated C++ (which pretty much ignores C) and Thinking in C++ (which doesn't). Python-wise, I'm thinking A Byte of Python/Dive into Python. There's all kinds of stuff here!
"If you can't control your peanut butter, you can't expect to control your life."
--Bill Watterson
Offline
tamikan wrote:Check it out it's an awesome resource for all you programmers out there:
Free programming books!I wrote this little script, tonight, for downloading all pdf books linked in this github project.
How to do it :sudo gem install mechanize git clone https://github.com/vhf/free-programming-books.git cd free-programming-books/ mkdir files
delete books in language you don't want ( *-ru.md, *-bg.md etc. )
Copy this script in free-programming-books/getFreeBooks.rb
#!/usr/bin/ruby require 'mechanize' def download(agent, url, dst) unless File.exists?(dst) tryLeft = 3 begin agent.get(url).save_as(dst) print " - success" rescue if tryLeft == 0 print " - problem url" else tryLeft -= 1 print ' | fail - retry |' retry end end else print " - already there" end end mdFiles = Dir["./*.md"] agent = Mechanize.new { |a| a.open_timeout = 10 } mdFiles.each do |file| text = IO.read(file) matches = text.scan(/\((http[s]*:\/\/[^ ]*?\.pdf)\)/) matches.each do |match| fileName = nil if match[0] =~ /\/([^\/ ]*?\.pdf)/ fileName = $1 end print "\nDownloading #{fileName}" download(agent, match[0], "files/#{fileName}") end end
./getFreeBooks.rb
(execute it in the free-programming-books dir)
Enjoy
It doesn't work for me...
I've changed #!/usr/bin/ruby to #!/usr/bin/ruby1.9.1 as it's linked to it here, but nothing.
If I enter sudo ./getFreeBooks.rb -> No such file or directory
If I don't, -> bash: ./getFreeBooks.rb: /usr/bin/ruby1.9.1^M: bad interpreter: No such file or directory
Offline
It doesn't work for me...
I've changed #!/usr/bin/ruby to #!/usr/bin/ruby1.9.1 as it's linked to it here, but nothing.
If I enter sudo ./getFreeBooks.rb -> No such file or directory
If I don't, -> bash: ./getFreeBooks.rb: /usr/bin/ruby1.9.1^M: bad interpreter: No such file or directory
why did you changed #!/usr/bin/ruby to #!/usr/bin/ruby1.9.1? what is linked to where? what link?
when I ctrl f this page for 1.9.1 it only has two occurances and they are both from your post
are you certain that you followed the instructions that you quoted?
why not just try #!/usr/bin/ruby? without the 1.9.1 on the end
I think I realise what you meant
this may help
although are you certain that you want sudo ./getFreeBooks.rb?
the instructions are for any/where/you/want/free-programming-books/getFreeBooks.rb
otherwise you will just have lots of files in your home directory I think
Last edited by HELPME (2014-03-19 11:38:44)
Help My Addled Sobriety ; visUal hieRArchical clusteriNg Using k-meanS
read this before trying to helpme because it will probably help the both of us by filling two birds with one bone alternatively
Offline
Clor19 wrote:It doesn't work for me...
I've changed #!/usr/bin/ruby to #!/usr/bin/ruby1.9.1 as it's linked to it here, but nothing.
If I enter sudo ./getFreeBooks.rb -> No such file or directory
If I don't, -> bash: ./getFreeBooks.rb: /usr/bin/ruby1.9.1^M: bad interpreter: No such file or directorywhy did you changed #!/usr/bin/ruby to #!/usr/bin/ruby1.9.1? what is linked to where? what link?
when I ctrl f this page for 1.9.1 it only has two occurances and they are both from your post
are you certain that you followed the instructions that you quoted?why not just try #!/usr/bin/ruby? without the 1.9.1 on the end
I think I realise what you meant
this may helpalthough are you certain that you want sudo ./getFreeBooks.rb?
the instructions are for any/where/you/want/free-programming-books/getFreeBooks.rb
otherwise you will just have lots of files in your home directory I think
I've tried #!/usr/bin/ruby before changing it.
And I've put /free-programming-books/ inside /home/ , and I've run the script from there. I was just skipping all the directories.
Plus, already seen that page, but even if I use your script as it is, it doesn't work.
Offline
did you install mechanize?
Help My Addled Sobriety ; visUal hieRArchical clusteriNg Using k-meanS
read this before trying to helpme because it will probably help the both of us by filling two birds with one bone alternatively
Offline
Wow awesome man, thank you very much.
Sorry for my bad english
i will continue to seek knowledge.
WiFi Ralink RT3290 | Intel IPS | Samba on Thunar
I blog at: billnode
Offline
Wow! Such a great resource. Thank you!
Offline
This is a great introductory course for PIC programming, focussing on the (cheap) 16F84 device. Great starter for beginners. http://www.stclaircollege.ca/people/pag … torial.pdf
XBMC on the Pi
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat