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
s=>[...s].reduce((m,x)=>m+x.charCodeAt(),0)%42?"N":"Y" |
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
main(int n,char**v){for(char*p=v[1];*p;p++)n+=*p;puts((n-2)%42?"":"Y");} |
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 <iostream> | |
class Rack { | |
public: | |
Rack(int i): m_i(i) | |
{ } | |
int geti() |
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 <iostream> | |
class Rack { | |
public: | |
Rack(int i): m_i(i) | |
{ } | |
int geti() |
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 <stdio.h> | |
struct foo { | |
int member; | |
}; | |
int | |
main(int argc, char **argv) | |
{ |
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 <stdio.h> | |
struct foo { | |
int member; | |
}; | |
int | |
main(int argc, char **argv) | |
{ |
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
"use strict"; | |
const express = require("express"); | |
const app = express(); | |
app.get('/api/users/:user_id/pictures/:picture_id', function (req, res) { | |
User.findById(req.params.user_id).then(() => { | |
Picture.findById(req.params.picture_id).then() => {...}}); | |
}); |
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
diff --git a/day3/app.js b/day3/app.js | |
index 637f47f..a9a5700 100644 | |
--- a/day3/app.js | |
+++ b/day3/app.js | |
@@ -6,6 +6,7 @@ | |
const express = require('express'); | |
const bodyParser = require('body-parser'); | |
const mongoose = require("mongoose"); | |
+const MongoClient = require("mongodb").MongoClient; | |
/* our applications modules */ |
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
@r1@ | |
type T; | |
position p; | |
identifier i; | |
constant c1, c2, c3; | |
@@ | |
T i@p[ | |
( | |
c1 |
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
quirc test program | |
Copyright (C) 2010-2012 Daniel Beer <[email protected]> | |
Library version: 1.0 | |
Time (ms) Count | |
Filename Load ID Total ID Dec | |
------------------------------------------------------------------------------- | |
version=01,level=H,mode=ALNUM.png: 0 3 3 1 1 | |
version=01,level=H,mode=BYTE.png: 0 3 3 1 1 | |
version=01,level=H,mode=KANJI.png: 0 2 2 1 1 |