SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-11-18 11:38:33

tamikan
#! Die Hard
Registered: 2012-09-20
Posts: 777

Free books for programming in any languages

Check it out it's an awesome resource for all you programmers out there:
Free programming books!  cool

Last edited by tamikan (2013-11-20 16:37:45)


Top things devil
dwb | Firefox Nightly | sakura | emacs | moc | #! | Arch | Doing 1 thing @ the time | Music from the 90s

Offline

Be excellent to each other!

#2 2013-11-18 13:04:43

ratcheer
#! CrunchBanger
Registered: 2013-07-23
Posts: 204

Re: Free books for programming in any languages

Excellent! Thanks.

Tim

Offline

#3 2013-11-18 17:52:34

lcafiero
The #! Guy
From: Felton, California, USA
Registered: 2011-07-21
Posts: 2,196
Website

Re: Free books for programming in any languages

Moved.


Res publica non dominetur | Larry the CrunchBang Guy speaks of the pompetous of CrunchBang

CrunchBang Forum moderator

Offline

#4 2013-11-18 17:54:35

tamikan
#! Die Hard
Registered: 2012-09-20
Posts: 777

Re: Free books for programming in any languages

You're awesome thank you  big_smile


Top things devil
dwb | Firefox Nightly | sakura | emacs | moc | #! | Arch | Doing 1 thing @ the time | Music from the 90s

Offline

#5 2013-11-20 14:08:17

Colin747
New Member
Registered: 2013-11-20
Posts: 7

Re: Free books for programming in any languages

This is excellent! Thanks!

Offline

#6 2013-11-22 11:45:22

Redtail
New Member
Registered: 2013-11-20
Posts: 3

Re: Free books for programming in any languages

Wow, thanks very much. I finally found a very good tutorial for Tkinter in Python.  smile

Offline

#7 2013-11-27 22:52:23

swansonaudio
New Member
Registered: 2013-11-27
Posts: 3

Re: Free books for programming in any languages

Great reference! Thanks so much. big_smile

Offline

#8 2013-12-16 01:49:42

Po The Panda
Member
Registered: 2013-12-16
Posts: 20

Re: Free books for programming in any languages

nice one

Offline

#9 2013-12-16 12:48:50

sysaxed
#! Member
Registered: 2013-03-25
Posts: 61

Re: Free books for programming in any languages

Great indeed, but don't read this one:
"Learning the bash Shell"

Offline

#10 2013-12-16 14:04:01

samdraz
#! CrunchBanger
From: Earth
Registered: 2013-03-10
Posts: 218
Website

Re: Free books for programming in any languages

list of excercise to get used to any language(Primarily for python)
https://github.com/karan/Projects

Offline

#11 2013-12-16 14:33:36

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 11,940

Re: Free books for programming in any languages

sysaxed wrote:

Great indeed, but don't read this one:
"Learning the bash Shell"

Any reason why not?  Looks legit enough to me.


I'm a moderator here.  How are we doing?  Feedback is encouraged.

Online

#12 2013-12-16 15:21:48

kbmonkey
#! Die Hard
Registered: 2011-01-14
Posts: 814
Website

Re: Free books for programming in any languages

At 205 contributors, it sure is an epic list of resources, thanks for sharing! Got to love the power of GitHub.

Offline

#13 2013-12-16 16:12:42

sysaxed
#! Member
Registered: 2013-03-25
Posts: 61

Re: Free books for programming in any languages

pvsage wrote:
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

#14 2014-01-06 05:19:11

Odin.Reese
New Member
Registered: 2013-08-30
Posts: 3

Re: Free books for programming in any languages

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.  wink

Offline

#15 2014-01-07 01:34:36

smullyan
Member
Registered: 2013-08-30
Posts: 10

Re: Free books for programming in any languages

Odin.Reese wrote:

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.  wink

+1
I was just thinking about that.


I am an American mathematician, concert pianist, logician, Taoist philosopher, and magician. Google me

Offline

#16 2014-01-13 07:55:53

HELPME
#! CrunchBanger
From: the holley land
Registered: 2013-11-15
Posts: 129
Website

Re: Free books for programming in any languages

educational programming languages

tamikan wrote:

Check it out it's an awesome resource for all you programmers out there:
Free programming books!  cool

samdraz wrote:

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

Reddit, lets compile a list of the best online learning centers. We could all use a little education.


style guidelines

gnu/linux
bash shell scripts
wxwidgets
python
c + c++
java ¹
apache
github
mozilla docs
google
geosoft
scripting

golf code

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)

Offline

#17 2014-03-11 21:09:17

alvariole
New Member
Registered: 2014-03-11
Posts: 3

Re: Free books for programming in any languages

tamikan wrote:

Check it out it's an awesome resource for all you programmers out there:
Free programming books!  cool

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 wink

Offline

#18 2014-03-18 12:57:47

jdonaghy
The Manatee Whisperer
Registered: 2014-03-12
Posts: 314

Re: Free books for programming in any languages

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!


Crunchbang - Openbox/tint2
Fedora - MATE
Arch - Pekwm/bmpanel2 or spectrwm

Offline

#19 2014-03-18 21:31:58

Clor19
New Member
Registered: 2014-03-18
Posts: 6

Re: Free books for programming in any languages

alvariole wrote:
tamikan wrote:

Check it out it's an awesome resource for all you programmers out there:
Free programming books!  cool

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 wink

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

#20 2014-03-19 08:28:29

HELPME
#! CrunchBanger
From: the holley land
Registered: 2013-11-15
Posts: 129
Website

Re: Free books for programming in any languages

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 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)

Offline

#21 2014-03-19 12:55:45

Clor19
New Member
Registered: 2014-03-18
Posts: 6

Re: Free books for programming in any languages

HELPME wrote:
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 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

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

#22 2014-03-23 20:07:19

HELPME
#! CrunchBanger
From: the holley land
Registered: 2013-11-15
Posts: 129
Website

Re: Free books for programming in any languages

did you install mechanize?

Offline

#23 2014-06-21 11:53:45

M.I.H.H
#! Member
From: /etc/init.d/
Registered: 2012-11-01
Posts: 81

Re: Free books for programming in any languages

Wow awesome man, thank you very much.


i will continue to seek knowledge.

Offline

#24 2014-07-16 11:22:52

jannero14
New Member
Registered: 2014-07-16
Posts: 1

Re: Free books for programming in any languages

Wow! Such a great resource. Thank you!

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo