background preloader

Programming tutorials and source code examples

Programming tutorials and source code examples

http://www.java2s.com/

Related:  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

Become a Programmer, Motherfucker If you don't know how to code, then you can learn even if you think you can't. Thousands of people have learned programming from these fine books: Learn Python The Hard Way 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.

Welcome to the tutorials page Tutorials! The main page has moved! Please update your bookmarks to point to Info about this page! This web page is dedicated to everyone who has ever put together a public domain tutorial/reference. Blog Low-cost .com Domains with Whois Privacy In an effort to be more privacy conscious I’ve been looking to transition to having Domain Privacy enabled on all the domains that I own. As it turns out many domain registrars, including my current one, charge an additional fee for this service. In an effort to save some money I did a price comparison […] 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. The 101 Most Useful Websites on the Internet Here are the most useful websites on the Internet that will make you smarter, increase productivity and help you learn new skills. These incredibly useful websites solve at least one problem really well. And they all have cool URLs that are easy to memorize thus saving you a trip to Google. Also see: The Best Android Apps Also see: The Best Mac Apps and Utilities

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

NetBeans for PHP Hi all, today we will show you our improved support for some PHP tools which will be part of NetBeans 8.2. As you already know, NetBeans uses a lot of existing tools (great, right?!) and we will now focus on improvements for two of them. PHPUnit Perhaps the most unpleasant thing in PHPUnit support in NetBeans is (was! ;) that test results are visible once all the tests finish.

Related:  programmingprogrammingJavaJava