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
res.header('content-type', contentType); | |
res.send({ 'cards': cards, | |
'links': [{ | |
'method': 'get', | |
'rel': 'http://relations.stackofcards.com/card', | |
'href': '/api/card/' | |
}] | |
}); |
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
$scope.ondernemingnr = "BE1111.111.111"; | |
lastenboekData.getLastenboeken($scope.ondernemingnr, function(err, data) { | |
if (err) { | |
console.log(err); | |
} else { | |
$scope.lastenboeken = data; | |
if ($scope.lastenboeken.length > 0) { | |
$scope.LastenboekId = $scope.lastenboeken[0].Id; | |
} | |
} |
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 lang="en"> | |
<head> | |
<style> | |
.blocks { | |
display: inline; | |
} | |
p { | |
padding: 0; | |
margin: 0; |
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
SystemPropertiesRemote.exe | |
ipconfig |
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
#include "llvm/DerivedTypes.h" | |
#include "llvm/IRBuilder.h" | |
#include "llvm/LLVMContext.h" | |
#include "llvm/Module.h" | |
#include "llvm/Analysis/Verifier.h" | |
#include "llvm/Support/raw_os_ostream.h" | |
#include <iostream> | |
#include <fstream> | |
#include <vector> |
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
-module(ring2). | |
-export([start/3]). | |
start(Msg,Count,Max) -> | |
Head = clasp(Max), | |
connect(Head, Count), | |
send(Head, Msg). | |
shackle(LPid, Count) when Count > 1 -> | |
RPid = spawn(fun() -> loop(0,-1) end), |
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
-module(ring2). | |
-export([start/2]). | |
start(Msg,Max) -> | |
Head = clasp(Max), | |
shackle(shackle(shackle(shackle(Head))), Head), | |
send(Head, Msg). | |
shackle(LPid) -> | |
RPid = ring(), |
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
-module(ring2). | |
-export([start/2]). | |
start(Msg,Max) -> | |
Pid1 = clasp(Max), | |
Pid2 = ring(), | |
Pid3 = ring(), | |
Pid4 = ring(), | |
shackle(Pid1, Pid2), | |
shackle(Pid2, Pid3), |
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
-module(ring2). | |
-export([start/1]). | |
start(Msg) -> | |
Pid1 = ring(), | |
Pid2 = ring(), | |
Pid3 = ring(), | |
Pid4 = ring(), | |
shackle(Pid1, Pid2), | |
shackle(Pid2, Pid3), |
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
-module(circle). | |
-export([start/1]). | |
start(Msg) -> | |
CPid = clasp(), | |
Pid1 = shackle(CPid, CPid), | |
Pid2 = shackle(Pid1, CPid), | |
Pid3 = shackle(Pid2, CPid), | |
send(Pid3,Msg). |