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> | |
<script src="js/semantic.min.js"></script> | |
<link rel="stylesheet" type="text/css" href="css/semantic.min.css"> | |
<head> | |
<title>Hello World!</title> | |
</head> | |
<body> |
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 AWS = require('aws-sdk'); | |
const serverless = require('serverless-http'); | |
const Koa = require('koa'); | |
const Router = require('koa-router'); | |
const crypto = require('crypto'); | |
const bodyParser = require('koa-bodyparser'); | |
const fs = require("fs"); | |
const app = new Koa(); |
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
time clk Clear State Operation GreenLight RedLight Complete | |
0 0 0 xx Pressed: x x x x | |
10 1 1 00 Pressed: x x x 0 | |
20 0 1 00 Pressed: x x x 0 | |
TRYING INVAVLID CODE | |
30 1 0 00 Pressed: x x x 0 | |
40 0 0 00 Pressed: 3 x x 0 | |
50 1 0 00 Pressed: 3 x x 0 | |
60 0 0 00 Pressed: 3 x x 0 | |
70 1 0 01 Pressed: 3 x 1 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
module testMul3 ; | |
reg [7:0] in ; | |
reg error ; | |
wire out ; | |
Multiple_of_3 dut(in, out) ; | |
initial begin | |
in = 0 ; error = 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
{ | |
"message": "Hello me!", | |
"input": { | |
"path": "/test/hello", | |
"headers": { | |
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8", | |
"Accept-Encoding": "gzip, deflate, lzma, sdch, br", | |
"Accept-Language": "en-US,en;q=0.8", | |
"CloudFront-Forwarded-Proto": "https", | |
"CloudFront-Is-Desktop-Viewer": "true", |
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
# Complete the function below. | |
def get_rock_index(quantity): | |
jamie = quantity | |
print jamie | |
ned = list(quantity) | |
ned.sort() | |
print ned | |
geoffrey = [] | |
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 Job { | |
public Job(String n, int e, int d) | |
{ | |
name = n; | |
entryTime = e; | |
duration = d; | |
serviceTime = duration; | |
} |
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 java.io.FileNotFoundException; | |
import java.io.FileReader; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Scanner; | |
public class Scheduler { | |
public static void main(String args[]) throws FileNotFoundException | |
{ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Sample.HelloWorldPage" | |
BackgroundColor= "Black"> | |
<ContentPage.Content> | |
<ScrollView> | |
<Grid RowSpacing="5"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="*" /> |
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
StringBuilder sb = new StringBuilder(); | |
Runtime rt = Runtime.getRuntime(); | |
//You need to use this! | |
String current = System.getProperty("java.class.path"); | |
System.out.println("Current dir:"+current); | |
//Make sure to use -classpath flag | |
Process proc = rt.exec("java -classpath " + current + " Memory"); |