- Some notes about this approach:
- An OSX Installer USB drive for
Install OS X El Capitanis created - Clover is then installed on the USB drive
- Clover Configurator is then run on the USB drive
- The USB drive contents are copied to the VM host
- VNC is used to connect to the guest UI
- An OSX Installer USB drive for
- The qxl virtual video device is used (part of the standard kvm qemu install)
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> | |
| <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">--> |
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
| 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; |
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/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) |
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
| /* | |
| * 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 { |
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
| 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 ) { |
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
| 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] |
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
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
| ###################### 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 ============================= |
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
| #!/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 |
OlderNewer