Here are some links for the people willing to learn "Python"
A tutorial:
http://hetland.org/writing/instant-python.html
A crash-course:
http://stephensugden.com/crash_into_python/
A complete online book:
http://learnpythonthehardway.org/book/
and obviously...
https://docs.python.org/2/tutorial/index.html
My Tips and Tricks for C#, C, C++, MatLAB, Java, LaTeX, Python and more!
Tuesday, August 18, 2015
google's programming styles
Nice reference to the Google's programming styles in C++/Java etc
Worth to read!
http://google-styleguide.googlecode.com/svn/trunk/
Worth to read!
http://google-styleguide.googlecode.com/svn/trunk/
Sunday, August 16, 2015
GCC 4.8 on CentOS
I finally found a simple way to install gcc/g++ 4.8 (required to use c++11 syntax) on my CentOS 6 distribution!
Here is the link:
http://braaten-family.org/ed/blog/2014-05-28-devtools-for-centos/
NOTE:
I suggest you to update your .bashrc file with the following line
source /opt/rh/devtoolset-2/enable
Otherwise you cannot run the newest version of the gcc/g++!
NOTE
Adding only this line to .bashrc:
causes a fork-bomb!!!!
REFERENCES:
http://unix.stackexchange.com
http://braaten-family.org/ed/blog/2014-05-28-devtools-for-centos/
Here is the link:
http://braaten-family.org/ed/blog/2014-05-28-devtools-for-centos/
NOTE:
I suggest you to update your .bashrc file with the following line
source /opt/rh/devtoolset-2/enable
Otherwise you cannot run the newest version of the gcc/g++!
NOTE
Adding only this line to .bashrc:
scl enable devtoolset-2 bash
causes a fork-bomb!!!!
REFERENCES:
http://unix.stackexchange.com
http://braaten-family.org/ed/blog/2014-05-28-devtools-for-centos/
Sunday, June 28, 2015
eatsyscall.asm could not read symbols: File in wrong format
If you are reading Assembly Language Step-by-Step: Programming with Linux (3rd edition) by Jeff Dantemann and you came to the first program eatsyscall.asm you'll probably get this error when you link the file with the command:
ld -o eatsyscall eatsyscall.o
eatsyscall.o: could not read symbols: File in wrong format
the solution is to add another parameter to the ld command:
ld -o eatsysdemo eatsyscall.o -m elf_i386
The problem is that you are running a Linux system where both 32bit and 64bit libraries are present and ld will complain if you link libraries of different types.
Enjoy the reading.
ld -o eatsyscall eatsyscall.o
eatsyscall.o: could not read symbols: File in wrong format
the solution is to add another parameter to the ld command:
ld -o eatsysdemo eatsyscall.o -m elf_i386
The problem is that you are running a Linux system where both 32bit and 64bit libraries are present and ld will complain if you link libraries of different types.
Enjoy the reading.
Monday, June 8, 2015
Where to download Oracle Client "FULL" (Not the instant version)
To download the Full Oracle Client, not the Instant version, you need to go the download page for the Oracle Database and then select the "View All" option next to the Oracle Database for your Operating System.
For Oracle 12c this is the url
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index-092322.html
For Oracle 12c this is the url
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index-092322.html
Saturday, May 23, 2015
Top 9 java programming books on java
I found this list about the top 9 books to read for java programming, and I definitely agree!!
http://javarevisited.blogspot.de/2013/01/top-5-java-programming-books-best-good.html
http://javarevisited.blogspot.de/2013/01/top-5-java-programming-books-best-good.html
Sunday, February 15, 2015
A super reference for manipulating jar/ear/war files directly from command line
Here is the reference javaworld.com/
My favorite commands are:
// listing all files
jar tvf "fileJAR/EAR"
//updating a file in a JAR/EAR file
jar uvf "fileJAR/EAR" path/to/file/to/update
//extracting a file from a JAR/EAR/WAR file
jar xvf "fileJAR/EAR" path/to/file/to/extract
My favorite commands are:
// listing all files
jar tvf "fileJAR/EAR"
//updating a file in a JAR/EAR file
jar uvf "fileJAR/EAR" path/to/file/to/update
//extracting a file from a JAR/EAR/WAR file
jar xvf "fileJAR/EAR" path/to/file/to/extract
Subscribe to:
Posts (Atom)