This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array ( | |
'(GMT-11:00) Midway Island' => 'Pacific/Midway', | |
'(GMT-11:00) Samoa' => 'Pacific/Samoa', | |
'(GMT-10:00) Hawaii' => 'Pacific/Honolulu', | |
'(GMT-09:00) Alaska' => 'US/Alaska', | |
'(GMT-08:00) Pacific Time (US & Canada)' => 'America/Los_Angeles', | |
'(GMT-08:00) Tijuana' => 'America/Tijuana', | |
'(GMT-07:00) Arizona' => 'US/Arizona', | |
'(GMT-07:00) Chihuahua' => 'America/Chihuahua', | |
'(GMT-07:00) La Paz' => 'America/Chihuahua', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array ( | |
'(GMT-12:00) International Date Line West' => 'Pacific/Wake', | |
'(GMT-11:00) Midway Island' => 'Pacific/Apia', | |
'(GMT-11:00) Samoa' => 'Pacific/Apia', | |
'(GMT-10:00) Hawaii' => 'Pacific/Honolulu', | |
'(GMT-09:00) Alaska' => 'America/Anchorage', | |
'(GMT-08:00) Pacific Time (US & Canada); Tijuana' => 'America/Los_Angeles', | |
'(GMT-07:00) Arizona' => 'America/Phoenix', | |
'(GMT-07:00) Chihuahua' => 'America/Chihuahua', | |
'(GMT-07:00) La Paz' => 'America/Chihuahua', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Shape - superclass | |
function Shape() { | |
this.x = 0; | |
this.y = 0; | |
} | |
// superclass method | |
Shape.prototype.move = function(x, y) { | |
this.x += x; | |
this.y += y; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LAMP | |
sudo apt-get install tasksel | |
sudo tasksel install lamp-server | |
//CURL + Composer + mcrypt | |
sudo apt-get install curl php5-curl php5-mcrypt | |
curl -sS https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/local/bin/composer | |
//activate mod_rewrite + mcrypt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Uploader Demo</title> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/> | |
<style> | |
.uploader-button { | |
position: relative; | |
overflow: hidden; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.block {} /* represents a higher level of abstraction or component */ | |
.block__element {} /* represents a descendent of .block */ | |
.block--modifier {} /* represents a different state or version of .block. */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nav { | |
@at-root #{&}__list { | |
@at-root #{&}__item { | |
@at-root #{&}--featured {} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nav { | |
&__list { | |
&__item { | |
&--featured { | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nav { | |
height: 30px; | |
&__list { | |
list-style: none; | |
&__item { | |
float: left; | |
&--featured { | |
color: #e86ea4; | |
} | |
} |
OlderNewer