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
CREATE OR REPLACE PROCEDURE copyfile (in_director in varchar2, in_filename IN VARCHAR2, out_directory in varchar2, out_filename IN VARCHAR2) | |
IS | |
in_file UTL_FILE.file_type; | |
out_file UTL_FILE.file_type; | |
buffer_size CONSTANT INTEGER := 32767; -- Max Buffer Size = 32767 | |
buffer RAW (32767); | |
buffer_length INTEGER; | |
BEGIN | |
-- Open a handle to the location where you are going to read the Text or Binary file from | |
-- NOTE: The 'rb' parameter means "read in byte mode" and is only available |
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
import java.awt.image.BufferedImage; | |
import java.io.BufferedOutputStream; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; |
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
import {AfterViewInit, Component, ElementRef, OnDestroy, OnInit, ViewChild} from '@angular/core'; | |
import 'highcharts/adapters/standalone-framework.src'; | |
declare var require: any; | |
const Highcharts = require('highcharts/highcharts.src'); | |
@Component({ | |
selector: 'app-dashboard', | |
templateUrl: './dashboard.component.html', | |
styleUrls: ['./dashboard.component.scss'] | |
}) |
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 "ns3/core-module.h" | |
#include "ns3/network-module.h" | |
#include "ns3/applications-module.h" | |
#include "ns3/wifi-module.h" | |
#include "ns3/mobility-module.h" | |
#include "ns3/csma-module.h" | |
#include "ns3/internet-module.h" | |
#include "ns3/netanim-module.h" | |
#include "ns3/ipv4-address.h" | |
#include "ns3/netanim-module.h" |
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
/** | |
* OpenCV video streaming over TCP/IP | |
* Client: Receives video from server and display it | |
* by Steve Tuenkam | |
*/ | |
#include "opencv2/opencv.hpp" | |
#include <sys/socket.h> | |
#include <arpa/inet.h> | |
#include <unistd.h> |