This file contains 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
Verification transcript for semaphore24 phase 2 contribution. | |
Contributor number 368 | |
Circuit Hash: | |
1ee0c45c ea3a1fe6 22a1e66f 956d352a | |
a12e24c5 fdc98e83 0360ef80 bd9918e7 | |
fecb367e 19f90aad 37917891 68e04a8d | |
b7b22d17 65bfbd21 69780b53 47f4be4e | |
------------------------- | |
contribution #348 MohamedDz07: | |
10bf1092 9103ed1b bf25fbbc c8f9c12c |
This file contains 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
#!/usr/bin/python"""This setup the topology in lab4""" | |
from mininet.topo import Topo | |
from mininet.net import Mininet | |
from mininet.node import Controller, RemoteController | |
from mininet.cli import CLI | |
from mininet.log import setLogLevel, info | |
from mininet.util import dumpNodeConnections | |
from mininet.link import Link, Intf, TCLink | |
import os |
This file contains 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
from ryu.base import app_manager | |
from ryu.controller import ofp_event | |
from ryu.controller.handler import CONFIG_DISPATCHER, MAIN_DISPATCHER | |
from ryu.controller.handler import set_ev_cls | |
from ryu.ofproto import ofproto_v1_3 | |
from ryu.lib.packet import packet | |
from ryu.lib.packet import ethernet | |
from ryu.lib.packet import ether_types | |
from ryu.lib.packet import arp | |
from ryu.lib.packet import ipv4 |
This file contains 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 <bits/stdc++.h> | |
using namespace std; | |
int predict(vector<int> v, vector<int> &fr, int pn, int index) | |
{ | |
int res = -1, farthest = index; | |
for (int i = 0; i < fr.size(); i++) | |
{ | |
int j; | |
for (j = index; j < pn; j++) |
This file contains 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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "../utils/Context.sol"; | |
/** | |
* @dev Contract module which provides a basic access control mechanism, where | |
* there is an account (an owner) that can be granted exclusive access to | |
* specific functions. |
This file contains 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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using System.Numerics; | |
using System; | |
using TMPro; | |
public class UiHandlerMdex : MonoBehaviour | |
{ | |
private string input; |
This file contains 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
//SPDX-License-Identifier: Unlicense | |
pragma solidity ^0.8.0; | |
interface Activity { | |
function activityName() external returns (string memory); | |
function activityDescription() external returns (string memory); | |
function xpName() external returns (string memory); | |
function xpForAdventurer(address) external returns (uint256); | |
} |
This file contains 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> | |
#include <stdlib.h> | |
#include <sys/mman.h> | |
#include <fcntl.h> | |
#include <sys/stat.h> | |
#include <unistd.h> | |
void printLab4(int n, int a, int *fibo) | |
{ | |
int i; |
This file contains 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 <linux/miscdevice.h> | |
#include <linux/fs.h> | |
#include <linux/kernel.h> | |
#include <linux/module.h> | |
static int sample_open(struct inode *inode, struct file *file) | |
{ | |
pr_info("I have been awoken\n"); | |
return 0; | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.