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
| package com.mosso.cp.domain.rest.payment; | |
| import com.mosso.cp.domain.rest.auth.wrappers.JsonNodeTransformer; | |
| import com.mosso.cp.domain.rest.v2.auth.JsonDSL; | |
| import org.codehaus.jackson.JsonNode; | |
| import org.codehaus.jackson.annotate.JsonIgnoreProperties; | |
| import org.hamcrest.CoreMatchers; | |
| import org.junit.Assert; | |
| import org.junit.Test; |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrant plug-ins in use: | |
| # vagrant-vbguest to ensure all VirtualBox VMs have guest additions | |
| # vagrant-hostmanager to manipulate /etc/hosts on the guest VMs and host machine. | |
| # vagrant-proxyconf to configure an HTTP proxy for apt [requires instructor VM to be booted on an accessible IP] | |
| # | |
| # If vagrant-hostmanager isn't installed edit /etc/hosts on your laptop and place these entries in it. | |
| # 172.16.1.10 web |
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
| <div notify-on="event.name" | |
| notify-dismiss="dismiss()">You received a message</div> |
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 monitor = RequestsMonitor.monitor(function (result) { | |
| $scope.$broadcast('requestsChanged', result); | |
| }); |
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
| package main | |
| import "fmt" | |
| import "time" | |
| import "math/rand" | |
| func generator() chan int { | |
| future := make(chan int) | |
| go func() { | |
| for i := 0; i < 3; i++ { |
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
| package main | |
| import "fmt" | |
| type Message struct { | |
| Value string | |
| } | |
| type Reversable []interface{} |
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
| public class Stack<T : Animal> { | |
| public var items = [T]() | |
| public func push(item: T) { | |
| items.append(item) | |
| } | |
| public func pop() -> T { | |
| return items.removeLast() | |
| } |
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
| import ( | |
| "encoding/base64" | |
| "fmt" | |
| "net/http" | |
| ) | |
| type BasicAuthTransport struct { | |
| Username string | |
| Password string | |
| } |
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
| package appx | |
| import ( | |
| "errors" | |
| "appengine" | |
| ) | |
| var ErrEmptySlice = errors.New("Cannot produce entities from an empty slice") | |
| // Produce emits entities in the output channel until |
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
| package main | |
| import ( | |
| "errors" | |
| "fmt" | |
| "math/rand" | |
| "time" | |
| ) | |
| type Data interface{} |
OlderNewer