Skip to content

Instantly share code, notes, and snippets.

container_commands:
...
04_nodejs_install:
command: curl --silent --location https://rpm.nodesource.com/setup_4.x | sudo bash - && yum install nodejs -y
05_npm_build:
command: cd /var/app/ondeck && sudo npm install && node ./node_modules/webpack/bin/webpack.js -p
// Prepare the sleigh
Sleigh *sleigh = [[Sleigh alloc] initWithDriver:[Santa sharedSanta]];
NSArray *reindeerNames = [NSArray arrayWithObjects:@"Dasher", @"Dancer", @"Prancer", @"Vixen", @"Comet", @"Cupid", @"Dunder", @"Blixem", @"Rudolph", nil];
for (NSString *reindeerName in reindeerNames) {
Reindeer *reindeer = [[Reindeer alloc] initWithName:reindeerName];
[sleigh addReindeer:reindeer];
}
[sleigh loadPresents];
// Merry Christmas!
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
<script>
/**