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> | |
<script type="text/javascript"> | |
output = null; | |
function initApplication() | |
{ | |
output = document.getElementById("outputPre"); | |
} |
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> | |
<script type="text/javascript"> | |
worker = new Worker('worker.js'); | |
worker.postMessage("My message to worker"); | |
</script> | |
</head> | |
</html> |
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
PNACL_PATH = /home/fccoelho/Code/nacl_sdk/pepper_37/ | |
CC = $(PNACL_PATH)/toolchain/linux_pnacl/bin/pnacl-clang++ | |
FINALIZE = $(PNACL_PATH)/toolchain/linux_pnacl/bin/pnacl-finalize | |
STRIP = $(PNACL_PATH)/toolchain/linux_pnacl/bin/pnacl-strip | |
PNACL_INCLUDE_DIR = $(PNACL_PATH)/include | |
PNACL_LIBRARY_DIR = $(PNACL_PATH)/lib/pnacl/Release | |
LINK_LIBRARIES = -lppapi_cpp -lppapi -lpthread | |
SOURCE_FILES = main.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
<html> | |
<body> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.0.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() | |
{ | |
function getData() | |
{ | |
var deferred = $.Deferred(); | |
var xhr = new XMLHttpRequest(); |
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> | |
<body> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.0.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() | |
{ | |
var requests = new Array(); | |
for (i = 1; i < 10; i++) | |
{ |
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> | |
<script type="text/javascript" src="rusha.js"></script> | |
<script type="text/javascript"> | |
function calculateHash() | |
{ | |
files = document.getElementById("filesInput").files; | |
for(i = 0; i < files.length; i++) | |
{ |
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 "Register.v" | |
module RegisterTestbench; | |
reg clock = 0; | |
reg enable = 1; | |
reg [15:0] value_in; | |
wire [15:0] value_out; | |
always #1 clock = !clock; |
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> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="description" content=""> |
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
#! /usr/bin/python | |
import json | |
import socket | |
import md5 | |
import sys | |
import os | |
OUTPUT_PATH = '/mnt/disk1/files/shared_folder/Fernando/new_images/' |
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 org.opencv.core.*; | |
import org.opencv.highgui.*; | |
import java.awt.*; | |
import javax.swing.*; | |
import java.awt.image.*; | |
public class DisplayImage | |
{ | |
static | |
{ |
OlderNewer