Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts

Sunday, December 14, 2014

HTML Academy

Thursday, March 27, 2014

The hard way

A nice set of light tutorials for some languages:
learncodethehardway.org

Tuesday, April 9, 2013

Ten websites that teach coding and a bunch of other things

Ten websites that teach coding and a bunch of other things (via Pando Daily)
By Cale Guthrie Weissman On April 5, 2013Seemingly every day there’s a new article or blog post imploring you to learn how to code. “Those who code have the power to transform their dreams into reality.” “Coding will help you keep [your job], or help you make a case for a raise.” “You should…

Wednesday, August 1, 2012

Working with a git branches

Addition info could be found at:

http://evasive.ru/articles/git_kung-fu.html
http://git-scm.com/about
http://www.gitguys.com
http://gitref.org

First, clone a remote git repository and cd into it:

    $ git clone git://example.com/myproject
    $ cd myproject

Next, look at the local branches in your repository:

    $ git branch
    * master

But there are other branches hiding in your repository! You can see these using the `-a` flag:

    $ git branch -a
    * master
      origin/HEAD
      origin/master
      origin/v1.0-stable
      origin/experimental

If you just want to take a quick peek at an upstream branch, you can check it out directly:

    $ git checkout origin/experimental

But if you want to work on that branch, you'll need to create a local tracking branch:

    $ git checkout -b experimental origin/experimental

Now, if you look at your local branches, this is what you'll see:

    $ git branch
      master
    * experimental

You can actually track more than one remote repository using `git remote`.

    $ git remote add win32 git://example.com/users/joe/myproject-win32-port
    $ git branch -a
    * master
      origin/HEAD
      origin/master
      origin/v1.0-stable
      origin/experimental
      win32/master
      win32/new-widgets

At this point, things are getting pretty crazy, so run `gitk` to see what's going on:

    $ gitk --all &

From here: http://stackoverflow.com/a/72156/267000

Monday, February 20, 2012

Web goodies, collection, references


One of the great things about modern web development is that we have so many useful tools and frameworks that not only help take the drudgery out of coding, but also make sure you get started coding the right way. One example is the new HTML5 Boilerplate 3.0 released just last week, and Favbulous offers a roundup of 6 Useful Web Development Boilerplates for HTML email, mobile web apps and more.
Another new release is the JavaScript framework Modernizr 2.5, which is designed to simplify feature detection and make sure your site runs smoothly in all browsers.
If you prefer something like Backbone.js, but want to make sure you’re using it right, check out Backbone patterns by Rico Sta. Cruz.
Similarly, Marlon Grech at C# Disciples demonstrates MVVM in the web world using Knockout.js.
Another week, another dust-up in the web standards world: now that the IE6-compatibility issues are almost vanquished, the ubiquity of WebKit has raised news issues. Daniel Glazman has issued a Call for Action and you can read further commentary about these issues from .net magazine, Peter van der Zee, Aaron Gustafson, Bruce Lawson, Remy Sharp Ian Elliot and Chris Heilmann.
Speaking of prefixes and CSS browser weirdness, Paul Irish tackles the issue of widths and padding and suggests some universal border box sizing tweaks that will simplify your life. Even with jQuery.
Here’s some potentially handy CSS trivia: What’s the Maximum Z-Index? Michael Mahemoff shows you how Z-index works in the popular browsers and how you might even use it to do some tricky browser detection.
Getting back to frameworks, how about some jQuery? Dan Wahlin offers a handy tip for Defining a Context When Using Selectors and Ben Howdle provides A Beginner’s Guide To jQuery-Based JSON API Clients at Smashing Magazine.
If you find these frameworks exciting and want even more advanced features and greater challenges, James Ward introduces you toNext Gen Web Apps with Scala, BlueEyes, and MongoDB. The future is now. Don’t wait.
Maybe you just want the quiet life, though – simple HTML and CSS you can wrap your head around and be done. Well WebInterfaceLab has a small-but-growing library of free HTML5 & CSS3 snippets you can use.

References:

HTML5 boilerplate
svg.js - A lightweight JavaScript library for manipulating and animating svg 

Tuesday, December 13, 2011

Some online tutorials for different languages
http://skillsmatter.com/go/open-source-dot-net

Tuesday, December 6, 2011

CSS frameworks, bootstraps, tricks, etc.

Bootstraps
http://twitter.github.com/bootstrap
10 Really Outstanding and Useful CSS Grid Systems
http://spyrestudios.com/css-grid-systems
http://compass-style.org

10 Useful tools:
http://www.catswhocode.com/blog/10-useful-tools-to-simplify-css3-development
http://ruseller.com/lessons.php?rub=2&id=1288
http://jsfiddle.net
http://dabblet.com

CSS grids:
http://getskeleton.com
http://960.gs
http://grids.heroku.com
http://foundation.zurb.com
http://twitter.github.com/bootstrap
http://developer.yahoo.com/yui/grids/builder
http://gridulator.com
http://www.tinyfluidgrid.com
http://elasticss.com
http://www.usabilitypost.com/2009/05/29/the-1kb-css-grid-part-1
http://www.usabilitypost.com/2009/06/06/the-1kb-css-grid-part-2
http://www.usabilitypost.com/2009/06/19/the-1kb-css-grid-part-3
http://www.blueprintcss.org


Article:
http://24ways.org/2011/css3-patterns-explained

Here is the LESS, http://lesscss.org
Extends CSS with dynamic behavior such asvariables, mixins, operations and functions.

Tools:
CSS sprites: http://css-sprit.es
CSS sprite generator: http://www.spritecow.com
CSS generator: http://www.css3.me
Button maker: http://css-tricks.com/examples/ButtonMaker/#
Tricks: http://css-tricks.com/downloads
Movement generator: http://cubic-bezier.com/#.17,.67,.83,.67
Bezier generator: http://www.roblaplaca.com/examples/bezierBuilder
Load generator: http://cssload.net
Layer style: http://www.layerstyles.org
Drop shadow: http://www.wordpressthemeshock.com/css-drop-shadow
Border radius: http://border-radius.com
(http://ruseller.com/service.php?rub=19)

Menu:
http://www.red-team-design.com/sexy-css3-menu
http://ruseller.com/lessons.php?rub=2&id=1183
http://ruseller.com/lessons.php?rub=2&id=1311

Tutorials:
http://teamtreehouse.com
http://tutorialzine.com
http://www.impressivewebs.com/css3-linear-gradient-syntax
http://www.impressivewebs.com
http://yuilibrary.com/yui/quick-start
http://tutorialzine.com/2011/06/beautiful-portfolio-html5-jquery
http://evgeniypopov.com/jurnal.html
http://ruseller.com
http://www.red-team-design.com
http://developer.yahoo.com/yui/grids/builder
http://net.tutsplus.com/articles/news/a-detailed-look-at-the-960-css-framework

Freebies:
http://www.wordpressthemeshock.com/the-shock-bundle
http://www.wordpressthemeshock.com/premium-wordpress-themes/templates
http://www.wordpressthemeshock.com
http://www.styleshout.com

Microsoft references:
http://msdn.microsoft.com/en-us/library/windows/apps/hh453285.aspx

Ruby + CSS
http://sass-lang.com/tutorial.html

Tuesday, May 24, 2011

Git: installation, setup and manual

Main site and downloads:
http://git-scm.com
http://git-scm.com/downloads

Best GUI article:
http://kylecordes.com/2010/git-gui-client-windows

Mac GitX download:
http://gitx.frim.nl/index.html

Git for beginners:
http://stackoverflow.com/questions/315911/git-for-beginners-the-definitive-practical-guide

How-to-setup:

List of builds: http://code.google.com/p/msysgit/downloads/list

Win:
http://help.github.com/win-set-up-git
http://nathanj.github.com/gitguide/tour.html

Mac:
http://help.github.com/mac-set-up-git
http://mac.github.com


Clients Win:
Clients Mac:
Gitx client for Mac:

Homepage: http://gitx.frim.nl
Gitx on Github: http://github.com/pieter/gitx/tree/master
Git clone command: git clone git://github.com/pieter/gitx.git


Tips:
http://gitready.com

Branches:
http://genomewiki.ucsc.edu/index.php/Working_with_branches_in_Git

HOW TO:


Setup default editor

git config --global core.editor "mate -w"

Copy rsa key into Mac clipboard:
$ pbcopy < ~/.ssh/id_rsa.pub


Reference:

http://gitref.org
http://git-scm.com/docs

Book:
http://progit.org/book

Video tutorial:
http://excess.org/article/2008/07/ogre-git-tutorial
http://gitcasts.com

Tutorial:
http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html
http://savannah.gnu.org/maintenance/UsingGit
Crash-course: http://git.or.cz/course/svn.html

Debates:

SVN vs. GIT
GIT and Mercurial
Another one (russian)

Guides:
An Illustrated Guide to Git on Windows
http://habrahabr.ru/qa/2950
http://rezwyi.blogspot.com/2010/06/git-subversion.html
http://admdev.blogspot.com/2009/02/git.html

Distributed version control:
http://bazaar.canonical.com/en

Setting user home directory:
Open <InstallDir>/Git/etc/profile

# Set up USER's home directory
if [ -z "$HOME" -o ! -d "$HOME" ]; then
  HOME="$HOMEDRIVE$HOMEPATH"
  if [ -z "$HOME" -o ! -d "$HOME" ]; then
    HOME="$USERPROFILE"
  fi
fi

GIT installation folder on Mac

Mostly in /usr/local/git (there are also /etc/paths.d/git and /etc/manpaths.d/gititems).

GITX

GitX is not a complete command-line replacement. It doesn't create repositories or push/pull/fetch remotes, among other things. Use git to do those bits, and GitX for what it does best: browsing history and committing, among other things.
Also of note: Use the GitX -> Enable Terminal Usage menu so you can type gitx from the command line within a git repository.

Tuesday, April 5, 2011

Python resource and extensions


Tutorials:
Installing:

http://webnewage.org/2009/06/23/what-is-pip
http://pypi.python.org/pypi/distribute#distribute-setup-py
http://pypi.python.org/pypi/pip
http://pypi.python.org/pypi/setuptools#files
http://www.komtet.ru/lib/plangs/python/easy-install-zagruzka-i-ustanovka-paketa
http://www.crummy.com/software/BeautifulSoup/#Download
http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install
http://stackoverflow.com/questions/1213690/what-is-the-most-compatible-way-to-install-python-modules-on-a-mac
http://stackoverflow.com/questions/452283/how-can-i-install-the-beautiful-soup-module-on-the-mac

Sources:

http://developer.berlios.de/softwaremap/trove_list.php?form_cat=76

Extensions:
http://pypi.python.org



1. C-Extension for Python: http://cython.org

Cython is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.
The Cython language is very close to the Python language, but Cython additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.
This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code.


2. Mathematics open source library: http://sagemath.org
3. http://www.pythonxy.com
4. http://www.enthought.com/products/epd.php
5. SciPy
6. PyCuda: http://mathema.tician.de/software/pycuda
7. Mrjob: https://github.com/Yelp/mrjob
    Run Hadoop Streaming jobs on Amazon Elastic MapReduce or your own Hadoop cluster
8. CRC: http://crcmod.sourceforge.net
9.Twisted: http://twistedmatrix.com/trac
     An event-driven networking engine written in Python
10. Requests: http://pypi.python.org/pypi/requests
11. MatplotLib: matplotlib.sourceforge.net, 
http://www.matplotlib.com
12. Py-LLVM: http://www.mdevan.org/llvm-py/index.html
13. Kalman filtering: http://www.scipy.org/Cookbook/KalmanFiltering
14. OpenGL: http://pyopengl.sourceforge.net
15. MapReduce on Python: http://me.lt/4xP7k
16.  Natural language toolkit http://www.nltk.org/download
17. Astronomy http://www.astropy.org

Open Source Python Tools for Classification (http://amundblog.blogspot.com)

  • Monte - less comprehensive than Orange, written purely in Python (i.e. noSWIGed C++). Looks interesting (has several classifiers algorithms), but the APIs seems to be in an early phase (relatively new tool in version 0.1.0)
  • libsvm - Python API for most popular open source implementation of SVM.Note: libsvm is also included with Orange and PyML. (I used this tools during my PhD a few years ago)
  • RPy - not exactly a classification tool, but it is quite useful with a statistics tool when you are doing classification (it has a nice plotting capability, not unlike matlabs), check out the demo.
  • PyML - also less comprehensive than Orange (specialized towards classification and regression, it supports SVM/SMO, ANN and Ridge Regression), but it has a nice API. Example of use: 
    from PyML import multi, svm, datafunc
    # read training data, last column has the class
    mydataset = datafunc.SparseDataSet('iris.data', labelsColumn = -1)
    myclassifier = multi.OneAgainstRest(svm.SVM())
    print "cross-validation results", myclassifier.cv(mydataset)
My recommendation is to either go with Orange or with PyML.

Catalogue:
http://www.java2s.com/Open-Source/Python/CatalogPython.htm
http://blogs.msdn.com/b/somasegar/archive/2011/08/29/python-tools-for-visual-studio.aspx

Tuesday, March 30, 2010

IPython

Cool tutorial:
http://showmedo.com/videotutorials/series?name=CnluURUTV
http://showmedo.com/club/joinus?smdc=socb

http://onlamp.com/pub/a/python/2005/01/27/ipython.html

Features

Magic

IPython has several "magic" keywords:
%Exit, %Pprint, %Quit, %alias, %autocall, %autoindent, %automagic, %bookmark, %cd, %color_info, %colors, %config, %dhist, %dirs, %ed, %edit, %env, %hist, %logoff, %logon, %logstart, %logstate, %lsmagic, %macro, %magic, %p, %page, %pdb, %pdef, %pdoc, %pfile, %pinfo, %popd, %profile, %prun, %psource, %pushd, %pwd, %r, %rehash, %rehashx, %reset, %run, %runlog, %save, %sc, %sx, %system_verbose, %unalias, %who, %who_ls, %whos, %xmode

Tab Completion

A very powerful feature in IPython is tab completion. If you are familiar with Python, you may be thinking, The standard Python interactive shell has tab completion. All you have to do is:
[jjones@cerberus ~]$ /usr/local/python24/bin/python Python 2.4 (#2, Nov 30 2004, 09:22:54) [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import rlcompleter, readline >>> readline.parse_and_bind('tab: complete') >>> 
That's correct. Both the standard Python interpreter and IPython support "regular" completion as well as menu completion. To use completion, type a pattern you would like the shell to match, followed by the Tab key. When in "regular" completion mode (the default), the Tab key will:
  • expand the pattern to as many characters as it can while still honoring the original match criteria
  • list all items matching that pattern
For example:
In [1]: import os  In [2]: os.po os.popen   os.popen2  os.popen3  os.popen4  In [2]: os.popen

Powered by Blogger.