It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.
##List of countries
I've also compiled a list of countries
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>HTML5 template</title> | |
| <meta name="" content=""> | |
| <meta name="author" content="Reinis Lejnieks"> | |
| <link rel="stylesheet" href="css/styles.css"> | |
| <!--[if lt IE 9]> | |
| <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
| /* include jQuery */ | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script> | |
| <script src="http://cdn.jquerytools.org/1.2.5/jquery.tools.min.js"></script> | |
| <script src="http://code.jquery.com/jquery-latest.min.js"></script> | |
| /*--------------------------------*/ | |
| jQuery(document).ready(function($){ | |
| $('').addClass(""); | |
| }); | |
| /*--------------------------------*/ | |
| $(document).ready(function(){ |
| git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin" | |
| git init // on directory starts to track files inside | |
| git clone clone git://github.com/h5bp/html5-boilerplate.git mapesvards | |
| git status | |
| git add <filename/directory> | |
| git commit | |
| git commit -m "user authentication code added" | |
| git commit -a // automatically stage every file that is already tracked before doing the commit, letting you skip the git add part | |
| git rm <file> // deletes and stops tracking |
| /* ====================================== | |
| CSS3 Media Query Reporter | |
| v. 1.0.1 | |
| by David Cochran - aLittleCode.com | |
| ========================================= */ | |
| body:after { | |
| content: "less than 320px"; |
| <link href="http://fonts.googleapis.com/css?family=Anonymous+Pro:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css" > | |
| <style> | |
| .helv {font:14px 'Anonymous Pro', serif;} | |
| </style> | |
| <p class="helv">I'm almost cool like helvetica.</p> | |
| <p>I'am normal Arial shit.</p> | |
| <a href="http://www.webdesignshock.com/helvetica-free-download" target=_blank>http://www.webdesignshock.com/helvetica-free-download</a> - tady doporučují, které fonty použít, které vypadají nejvíce Helvetica-like. Myslm, že tenhle je v cajku, ale klidně čekni další. |
It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.
##List of countries
I've also compiled a list of countries
#List of countries
It's time someone compiled a list of countries to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of nationalities
| <?php | |
| $arr = array('key' => 'value', 'key' => $value); | |
| $arr2 = array(array('key' => 'value', 'key'),array('key' => 'value', 'key' => ''),array('key' => 'value', 'key')); | |
| $arr3 = array('key' => array('one' => 'two', 'three' => 'four'), array('foo' => 'bar', 'condition' => false)); | |
| $arr4 = array(); | |
| $arr4[] = 'key' => 'value', 'foo' => 'bar'; |
| // return left if left is not false otherwise return right | |
| 'reinis' || null | |
| // 'reinis' | |
| // returns left if left is not true otherwise return right | |
| 0 && null | |
| // 0 | |
| !0 | |
| // true |
| <?php | |
| wp_enqueue_script('jquery'); /*in header.php before wp_head();*/ | |
| /*--------------------------------*/ | |
| /* for wp */ | |
| wp_deregister_script('jquery'); | |
| wp_register_script('jquery',("http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"),false,'1.6.2'); | |
| wp_enqueue_script('jquery'); | |
| /*--------------------------------*/ | |
| bloginfo('template_directory'); | |
| /*--------------------------------*/ |