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
// | |
// Avian.h | |
// Avian | |
// | |
// Created by Nico Hämäläinen on 2/4/13. | |
// Copyright (c) 2013 Nico Hämäläinen. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <Accounts/Accounts.h> |
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
{:object=> | |
[{:entry=> | |
{:key=>{:identifier=>"EngineDict"@5}, | |
:val=> | |
{:object=> | |
[{:entry=> | |
{:key=>{:identifier=>"Editor"@23}, | |
:val=> | |
{:object=> | |
{:entry=> |
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
test_data = "<< | |
/EngineDict | |
<< | |
/Axis (Foobar) | |
>> | |
>>" |
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
test_data = "<< | |
/EngineDict | |
<< | |
/Axis (Foobar) | |
>> | |
>>" |
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
1. What is NetOutlet? | |
NetOutlet is an online outlet store for social products. We want to encourage you to share products with your network by offering you a discount when you buy together with your friends (we call it a Friend Purchase). Whether you’re going to a concert, a sports event or on holiday with your friends, NetOutlet is the place where you can buy with your friends and save money. | |
For each additional friend that buys the same product, your discount increases. The discount is symmetrical so that everyone in the same group of friends gets the same price! | |
2. What is a Friend Purchase? | |
The Friend Purchase allows you to buy products together with your friends and get them at an even better price! It’s pretty much like buying a product in any other web store but with a few differences. |
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
λ ~/ traceroute cam1337.com | |
traceroute to cam1337.com (198.144.158.151), 64 hops max, 52 byte packets | |
1 buffalo.setup (192.168.11.1) 1.420 ms 1.170 ms 1.476 ms | |
2 koktor1.fi.elisa.net (88.115.180.1) 5.498 ms 9.000 ms 5.351 ms | |
3 xe4-0-0.helpa-p2.fi.elisa.net (139.97.11.58) 1.704 ms 2.903 ms 3.707 ms | |
4 ae2.helpa-gw1.fi.elisa.net (139.97.6.250) 2.069 ms 30.996 ms 1.972 ms | |
5 ae1-10.bbr1.hel2.fi.eunetip.net (213.192.191.53) 1.825 ms 4.700 ms 5.835 ms | |
6 so6-0-0-0.bbr1.sto4.se.eunetip.net (213.192.184.86) 14.539 ms 8.931 ms 11.612 ms | |
7 10gigabitethernet1-2.core1.sto1.he.net (194.68.123.187) 18.546 ms 13.941 ms 10.750 ms | |
8 10gigabitethernet3-2.core1.ams1.he.net (72.52.92.45) 37.185 ms 37.930 ms 36.299 ms |
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
// VAT BREAKDOWN: | |
$header = array( | |
t('VAT -%'), | |
t('Net'), | |
t('VAT'), | |
t('Gross'), | |
); | |
// First, product: | |
// $line_item_wrapper = entity_metadata_wrapper('commerce_line_item', $line_item); | |
// $price = $line_item_wrapper->commerce_total->value(); |
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
<table id="wrapper" width="600" cellpadding="20" cellspacing="0" border="0" style="background-color:#fff;border:1px #ddd solid;"> | |
<tr> | |
<td id="header" class="padded"> | |
This is an automated message sent on: <?php echo date('m.d.Y'); ?> at <?php echo date('g:i a'); ?><br /> | |
Note that you cannot reply to this message. Our Help Center can be found at <a href="http://www.netoutlet.com/help-center">Our help Center</a> | |
</td> | |
</tr> | |
<tr> | |
<td id="logo">TODO</td> | |
</tr> |
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
var Robot = function(robot){ | |
robot.turnLeft(robot.angle % 90); | |
//robot.turnGunRight(90); | |
robot.clone(); | |
this.direction = 1; | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(1); | |
if (robot.parentId) { |
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
/*global Hogan:true*/ | |
$(function() { | |
"use strict"; | |
/* | |
* Global configuration options | |
*/ | |
var Config = { | |
// Product fields | |
productSchema: { |