- Optimus Series: 15.6" Matte Full HD LED Widescreen (1920x1080)
- Intel® Core™i7 Quad Core Mobile Processor i7-3630QM (2.40GHz) 6MB
- 8GB SAMSUNG 1333MHz SODIMM DDR3 MEMORY (1 x 8GB)
- NVIDIA® GeForce® GTX 660M - 2.0GB DDR5 Video RAM - DirectX® 11
- 120GB KINGSTON HYPERX 3K SSD, SATA 6 Gb/s (upto 555MB/sR | 510MB/sW)
- 250GB WD SCORPIO BLACK WD2500BEKT, SATA 3 Gb/s, 16MB CACHE (7200 rpm)
- 8x SATA DVD±R/RW/Dual Layer (+ 24x CD-RW))
- GIGABIT LAN & WIRELESS INTEL® ADVANCED-N 6235 (300Mbps) + BLUETOOTH
This file contains 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
var hogan = require('hogan.js'); | |
var partial = hogan.compile('{{#list}}{{foo}}{{/list}}'); | |
var template = hogan.compile('{{> somelist}}'); | |
var result = template.render( | |
{ | |
list: [ | |
{ foo: 'bar1' }, | |
{ foo: 'bar2' }, |
This file contains 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
function MyObject() {} | |
MyObject.prototype.doSomething = function() { | |
console.log('MyObject.doSomething()'); | |
} | |
// ----- | |
var parent = MyObject; |
This file contains 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
<?php | |
class MyTest { | |
protected $date; | |
public function __construct($time) { | |
$this->date = new DateTime($time); | |
} | |
} | |
$test1 = new MyTest('2013-02-01 00:00:00'); |
This file contains 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
<?php | |
$repository = new Repository(); | |
$data = new Data($repository); | |
$controller = new Controller($data); | |
$controller->executeAction($_GET['something']); |
This file contains 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
// Example document structure | |
{ | |
"balance": { | |
"start": 0, | |
"end": 0 | |
}, | |
"transactions": [ | |
{ "balance": 0 }, | |
{ "balance": 0 }, | |
{ "balance": 0 }, |
This file contains 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
throw new Error(util.format( | |
'Invalid team location [%s]. Expected "home" or "away" (with you each day).', | |
teamLocation | |
)); |
This file contains 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
<?php | |
public function testProcessTimePeriod_GetProcessingData() | |
{ | |
// TransactionRepository::getProcessingDataByTimePeriodAndAccountId should return false | |
// TransactionRepository::getProcessingDataByTimePeriodAndAccountId should return an empty array | |
} | |
public function testProcessTimePeriod_SortTransactions() |
This file contains 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
<?php | |
$data = array( | |
'a' => 1, | |
'b' => 2, | |
'c' => 3, | |
'd' => 4, | |
'e' => 5 | |
); |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Set default provider to docker | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'docker' | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
OlderNewer