The project is split into several parts:
- The kernel driver, with simple 3D command forwarding and 3D resource allocation
- The userland driver, in fact the OpenGL backend
- The reference, explaining virtio-gpu commands
#!/bin/bash | |
### ABOUT | |
### Runs rsync, retrying on errors up to a maximum number of tries. | |
### Simply edit the rsync line in the script to whatever parameters you need. | |
# Trap interrupts and exit instead of continuing the loop | |
trap "echo Exited!; exit;" SIGINT SIGTERM | |
MAX_RETRIES=50 |
###################### Filebeat Configuration Example ######################### | |
# This file is an example configuration file highlighting only the most common | |
# options. The filebeat.full.yml file from the same directory contains all the | |
# supported options with more comments. You can use it as a reference. | |
# | |
# You can find the full configuration reference here: | |
# https://www.elastic.co/guide/en/beats/filebeat/index.html | |
#=========================== Filebeat prospectors ============================= |
The project is split into several parts:
global file_read_top | |
global file_write_top | |
probe begin { | |
printf("Ctrl-C break\n") | |
} | |
probe syscall.read.return { | |
if ( $return > 0 ) { | |
file = @cast(task_current(), "task_struct")->files->fdt->fd[$fd] |
global file_rw_top | |
global exe | |
probe begin { | |
printf("Ctrl-C break\n") | |
} | |
function rwtrace(pid, fd, size, type) { | |
if ( size > 0 ) { | |
if ( pid() == $1 ) { |
Install OS X El Capitan
is created/* | |
* smc_read.c: Written for Mac OS X 10.5. Compile as follows: | |
* | |
* gcc -Wall -o smc_read smc_read.c -framework IOKit | |
*/ | |
#include <stdio.h> | |
#include <IOKit/IOKitLib.h> | |
typedef struct { |
#!/usr/bin/env python | |
# coding=utf-8 | |
import ldap | |
server = 'ldaps://ad.xxx.com' | |
l = ldap.initialize(server,trace_level=2) | |
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_NEVER) | |
dn = "[email protected]" | |
pw = "xxxxxxxxxx" | |
l.bind_s(dn,pw) |
package dcec.rdd; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.net.URLEncoder; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServlet; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>MyHtml.html</title> | |
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> | |
<meta http-equiv="description" content="this is my page"> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<!--<link rel="stylesheet" type="text/css" href="./styles.css">--> |