background preloader

Programming tutorials and source code examples

Programming tutorials and source code examples

http://www.java2s.com/

Related:  programmingweb dev.Programming

Install / update to Python 2.7 and latest Pip on EC2 Amazon Linux Unfortunately Amazon Linux 3.4 AMIs still ship with Python 2.6 which makes it impossible to run many Python apps. Also the installation and update/upgrade of Pip through yum python-pip fails and puts packages into the old 2.6 lib folder. Here is my solution to upgrade to Python 2.7 including the latest Pip & Virtualenv. Just copy & paste line by line: # install build tools sudo yum install make automake gcc gcc-c++ kernel-devel git-core -y # install python 2.7 and change default python symlink sudo yum install python27-devel -y sudo rm /usr/bin/pythonsudo ln -s /usr/bin/python2.7 /usr/bin/python

How To Create a Pure CSS Dropdown Menu With the help of some advanced selectors a dropdown menu can be easily created with CSS. Throw in some fancy CSS3 properties and you can create a design that was once only achievable with background images and Javascript. Follow this tutorial to see the step by step process of building your own pure CSS dropdown menu. The menu we’ll be creating features two sub categories that appear once the parent link is activated by a hover. The first series of sub-links appear underneath main nav bar, then the second series of links fly out horizontally from the first dropdown. Take a look at the CSS dropdown menu demo to see it all in action.

Algorithms Algorithms I just finished a fantastic book called "Algorithms", by Sanjoy Dasgupta, Christos Papadimitriou and Umesh Vazirani. Even better: this book is free and can be downloaded in PDF form. At 300+ pages, it's not lightweight either, but the authors have done a fantastic job at explaining the main foundations of essential algorithms in simple terms that even developer who don't have a CS degree will find easy to read and to absorb.

Using Adminer to Manage your Databases - LinuxCareer's Documentation Share this post If you find yourself interacting with a database system such as MySQL, PostgreSQL, MS SQL, Oracle, or even SQLite, sometimes you find that some of the tasks you perform are more conveniently executed using a GUI rather then using the default management utility (usually run from a CLI) provided by the database system itself. Some of you may already use other tools such as phpMyAdmin, or phpPgAdmin. This article will talk about another web based database management tool known as Adminer. Adminer allows for the management of all the database systems mentioned above.This article covers Debian (& Ubuntu), Fedora, and ArchLinux. From its website: Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP.

Learn how to Create Javascirpt Menu for Your Web Site Javascript is a client-side object oriented programming language. It is used to add dynamic features and interactive functionality to web sites. Javascript is a dialect of the ECMAScript standard. Algorithms Course This course teaches the design of algorithms according to methodology and application. Methodologies include: divide and conquer, dynamic programming, and greedy strategies. Applications involve: sorting, ordering and searching, graph algorithms, geometric algorithms, mathematical (number theory, algebra and linear algebra) algorithms, and string matching algorithms.

Morse Code Translator Text to Morse Just type letters, numbers and punctuation into the top box and press the "Translate" button. The program will place the Morse code in the bottom box, inserting a "?" if the character cannot be translated. If you want to translate prosigns, enter them as "<CT>" for instance and tick the "Use prosigns" checkbox in the advanced controls. [Tutorial] Deploy Apache + MySQL + Python on AWS EC2 « 無良心筆記 First, choose any AMI(Amazon Machine Image) you like and lanuch it. In this tutorial, I will choose Amazon Linux AMI (64-bit) as example. If you choose other AMI, the circumstance might be quite different. I can’t guarantee the following tutorial steps are the same. EC2 AMI: Amazon Linux AMI (64-bit) last revision: 2014-08-21 here are the instructions:

How To Create A Responsive Navigation Menu Using Only CSS In this tutorial we will be creating a basic responsive navigation menu with dropdown using only HTML and CSS. Many navigation menus (especially responsive ones) are created using a combination of HTML, CSS and Javascript. This simple CSS only method will demonstrate that Javascript isn't always necessary! The code we will create includes only the most essential CSS required for structure and basic styling. This makes it much easier to follow and understand the purpose of each line of code.

Five Things You Should Know About HTML5 - Dive Into HTML5 You are here: Home Dive Into HTML5 1. It’s not one big thing Why Citizen Developers Are The Future Of Programming If you ever wondered what would scare the bejeezus out of a university's computer science department, try this: In June, Google revealed that it no longer considers GPA scores as a hiring criteria. “One of the things we’ve seen from all our data crunching is that GPA's are worthless as a criteria for hiring,” Laszlo Bock, senior vice president of people operations at Google, told the New York Times. To students who have been told their university grades are paramount, that's a big shock. But to anybody watching the tech industry, such a statement was inevitable. It's a reaction to the quickly evolving definition of what it means to be a professional programmer. The “Citizen Developer”

Related:  ProgramaçãoProgramming TutorialsWebWebroychengwebsitesDevelopment Codeprogrammingcodingprogrammazione webJava