This is the source code of one of my blog post. To read the full blog post please click here.
0 || [Min: {0} Max: {1}] | |
1 || Data/_ExcelBinOutput/ShopGoodsExcelConfigData | |
2 || SetCombatFixedMovePoint | |
3 || value | |
4 || Transparent/Diffuse | |
5 || Diffuse | |
6 || AttachToStateIDMixin | |
7 || _Color | |
8 || _MainColor | |
9 || ConfigGuideInfoDialogAction |
// ==UserScript== | |
// @name U2 Show Peer location | |
// @namespace https://u2.dmhy.org | |
// @version 1.2.1 | |
// @description Show Peer location | |
// @author Husky | |
// @match https://u2.dmhy.org/details.php?id=* | |
// @match https://u2.dmhy.org/userdetails.php?id=* | |
// @grant none | |
// @require https://unpkg.com/xhook@latest/dist/xhook.min.js |
javascript:!function e(){function o(){l=!1,p.Dismiss()}function i(){o(),ShowConfirmDialog("错误","是否重试?","重试","放弃").done(e)}function n(){if(l){r();var e=a.shift();e?$J.post(a.length?"/app/"+e:"/explore/next/",{sessionid:g_sessionID,appid_to_clear_from_queue:e}).done(n).fail(i):t()}}function t(){l&&$J.post("/explore/generatenewdiscoveryqueue",{sessionid:g_sessionID,queuetype:0}).done(s).fail(i)}function s(){l&&$J.get("/explore/").done(function(e){var s,l=e.match(/<div class="subtext">\D+(\d)\D+<\/div>/);return l?(s=e.match(/0,\s+(\[.*\])/))?(a=JSON.parse(s[1]),d=l[1],0==a.length?t():n(),void r()):void i():(o(),void ShowAlertDialog("完成","已完成全部3轮探索队列"))})}function r(){$J("#progressContainer").html("<br>剩余"+d+"个待探索队列, 当前队列剩余"+a.length+"个待探索游戏")}var a,d,l=!0,p=ShowAlertDialog("探索中",$J("<div/>").append($J("<div/>",{"class":"waiting_dialog_throbber"})).append($J("<div/>",{id:"progressContainer"}).text("获取进度...")),"停止").done(o);s()}(); |
There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.
There is now an option while editing your VM's settings to add a New raw disk
when you click `Add ha
Enable forwarding:
sysctl -w net.ipv4.ip_forward=1
Create this script eg sudo nano iptables.sh
eth=$1
proto=$2
diff -ur libffi-3.2.1.orig/src/raw_api.c libffi-3.2.1/src/raw_api.c | |
--- libffi-3.2.1.orig/src/raw_api.c 2016-08-11 10:02:18.561329225 -0300 | |
+++ libffi-3.2.1/src/raw_api.c 2016-08-11 10:03:43.853948157 -0300 | |
@@ -29,7 +29,7 @@ | |
#include <ffi.h> | |
#include <ffi_common.h> | |
-#if !FFI_NO_RAW_API | |
+//#if !FFI_NO_RAW_API | |
# source: https://trac.ffmpeg.org/wiki/CentosCompilationGuide | |
yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel | |
mkdir ~/ffmpeg_sources | |
cd ~/ffmpeg_sources | |
curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz | |
tar xzvf yasm-1.2.0.tar.gz | |
cd yasm-1.2.0 |