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
// Copy ndn-dot-net.dll to this folder and do "mcs /r:ndn-dot-net.dll test-ndn-regex.cs" | |
namespace net.named_data.jndn.security.policy { | |
using ILOG.J2CsMapping.Text; | |
using System; | |
using System.Collections; | |
using System.ComponentModel; | |
using System.IO; | |
using System.Runtime.CompilerServices; |
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 <cstdlib> | |
#include <iostream> | |
#include <time.h> | |
#include <unistd.h> | |
/* | |
#include <boost/thread/thread.hpp> | |
#include <boost/thread/mutex.hpp> | |
*/ |
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
<html> | |
<head> | |
</head> | |
<body> | |
<video id="video1"> | |
</video> |
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
Bv0C+gc8CARob21lCAtmbG93LWNzaGFycAgDS0VZCA5kc2stMTQ3Mzg4ODk0NggH | |
SUQtQ0VSVAgJ/QAAAVcqoIu8FAMYAQIV/QF5MIIBdTAiGA8yMDE2MDkxNDIxMzU0 | |
N1oYDzIwMTgwOTE0MjEzNTQ3WjApMCcGA1UEKRMgL2hvbWUvZmxvdy1jc2hhcnAv | |
ZHNrLTE0NzM4ODg5NDYwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDL | |
iBuDiXtmEaqzzL3X7raJfPKf8slG3+r7XHHAuHpeHTdxz1zfeMuucW0taossYtkq | |
wH9f2FN3UdpIMkcm9ov6EjbvSu5lryNldb4uI/dKHu3EFRdqjw/9d789oD/OfOwV | |
5ReBxYCTHXMBkqPcLYfILCMk+uRrI+qev43r1KV3a6iQTSKIspcIbSTZ6N0rTPbP | |
PycZ0EgVL87I1XwZfEtzgqEyCj2GE3/C6gy1O7eHhiXEPTVAJFAG9r8uf0Gbdlpz | |
kPlLKvaXz/j528bL/m45F/3i4pGIIvPxyXYkkAHPt7+yf8B2bxwJ0qYz1bRRfQnA | |
S80ClcmO2w9NpTZn4/eRAgMBAAEWNBsBARwvBy0IBGhvbWUIB2dhdGV3YXkIA0tF |
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
validator | |
{ | |
trust-anchor | |
{ | |
type base64 | |
base64-string "Bv0C8gc4CARob21lCAdnYXRld2F5CANLRVkIDmtzay0xNDY5MTM3NTg4CAdJRC1DRVJUCAn9AAABVg9skD8UAxgBAhX9AXUwggFxMCIYDzIwMTYwNzIxMjE0NjI4WhgPMjAxODA3MjEyMTQ2MjhaMCUwIwYDVQQpExwvaG9tZS9nYXRld2F5L2tzay0xNDY5MTM3NTg4MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzy2oJ7VooCndcLSMSulKts7GOsfg4R8qW95szthY/vDmwzbUF9YBrDDNc9PgIoMlo2PiH+uZ0RXVi0qxyPiA4yvS2obnJ/c6BnI+0mcgS9YSW78kKPaVzqw2PCUFQbNbAPRtoX5OOg+qup26g7hpreobuMHVgnr+K/agPX7F0DrHSDsZrmOe1eAXoOuM+Klo5nsp346q1+I7fCMhdlixH4rSN8XmZP/Nbk2VU99d7sZNRN2xaZpHI63O7ADujjONX7x17152W5wIGNZFc6rxLUpgq6gY+QHEQ7YWGtRakdqf2NNQFH5M3tFmsAdc7ff/vuHq1c5+50e/YH75vk/77wIDAQABFjQbAQEcLwctCARob21lCAdnYXRld2F5CANLRVkIDmtzay0xNDY5MTM3NTg4CAdJRC1DRVJUF/0BAEt5HP47C39Sq+omTv1T3Y0P69wCsgwnRqc3OjUPYhXaK2QzVp8S+GM/B9LtfdmLa2EPIU3eSY6J/8zzv8uRAYoTjIVI2VqCjCY6VCTUWeqLYXL9qiJCUxwWUF8CSTlCH2cdbErRbrmXrZnvq4LZV19CVoIEMuu9qVVludSnXJeqglrG2gc0uAMdSWSTokkiMP8EdxJssGlyXO1lFJQ+N/7cc3EbFM60994HvJsQx7m4LSReWHDHynBSlE0gRQXeT2o0BrBiJHXhQrjE6deqtOfbi0uUSd20y |
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 <RFduinoBLE.h> | |
// Define input/output pins. | |
// Input pins for buttons, and output pins for LED RGB On-Off control | |
// GPIO2 on the RFduino RGB shield is the Red LED | |
// GPIO3 on the RFduino RGB shield is the Green LED | |
// GPIO4 on the RFduino RGB shield is the Blue LED | |
#define RED_LED_PIN 2 | |
#define GREEN_LED_PIN 3 |
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 for NAC in CCL (PyNDN) |
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
Link test in NDN-CPP |
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
Creating and Configuring OpenWRT virtualbox | |
http://hoverbear.org/2014/11/23/openwrt-in-virtualbox/ | |
Given the setup, accessing local openwrt via ssh | |
ssh root@localhost -p 2222 | |
scp -P 2222 somefile root@localhost: |
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:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ | |
# | |
# Copyright (C) 2014-2015 Regents of the University of California. | |
# Author: Jeff Thompson <[email protected]> | |
# Zhehao Wang <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU Lesser General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. |