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
#!/bin/bash | |
ROOT=/archlinux | |
ROOT_BUILD=$ROOT/build | |
DEVICE=/dev/sdax | |
mkdir -p $ROOT | |
mount $DEVICE $ROOT | |
mkdir -p $ROOT_BUILD |
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
--- nvidia-drm-fence.c 2016-12-11 02:54:42.000000000 -0200 | |
+++ nvidia-drm-fence.c 2018-02-12 01:52:58.015107155 -0200 | |
@@ -31,7 +31,7 @@ | |
#if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ) | |
struct nv_fence { | |
- struct fence base; | |
+ struct dma_fence base; | |
spinlock_t lock; | |
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
var socket = require('socket.io-client')('http://127.0.0.1:3000'), | |
deasync = require('deasync'); | |
socket.on('connect', function(){ | |
console.log("client connect"); | |
var i = 1; | |
var interval = setInterval(function () { | |
socket.emit('message', {'r': Math.random(), 'i': i}, function (data) { |