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
int pPathfind(struct game *g, int checkonly) | |
{ | |
int i = 0, x, y; | |
struct queue_t *queue; | |
struct grid_t *grid; | |
grid = copy_grid(g); | |
queue = alloc_queue(grid); | |
for(i=0; i < grid->size; i++) { |
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
diff --git a/plugins/node.d.linux/if_err_.in b/plugins/node.d.linux/if_err_.in | |
index 027a750..f8a34b8 100644 | |
--- a/plugins/node.d.linux/if_err_.in | |
+++ b/plugins/node.d.linux/if_err_.in | |
@@ -65,7 +65,7 @@ fi | |
if [ "$1" = "config" ]; then | |
echo "graph_order rcvd trans" | |
- echo "graph_title $INTERFACE errors, drops, and collisions" | |
+ echo "graph_title Interface errors on $INTERFACE" |
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
tv@apu:~/git/varnishapi$ gcc $(pkg-config varnishapi --cflags --libs) test.c | |
test.c: In function ‘do_stuff_cb’: | |
test.c:35:3: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘uint64_t’ [-Wformat] | |
/tmp/ccuL43xH.o: In function `do_stuff': | |
test.c:(.text+0x17f): undefined reference to `VSC_Iter' | |
/tmp/ccuL43xH.o: In function `main': | |
test.c:(.text+0x195): undefined reference to `VSM_New' | |
test.c:(.text+0x1a5): undefined reference to `VSC_Setup' | |
test.c:(.text+0x1b6): undefined reference to `VSC_Open' | |
test.c:(.text+0x1d0): undefined reference to `VSC_Main' |
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
/* | |
We need to require the pupilplugin-creator | |
*/ | |
var http = require('http') | |
, pupilPlugin = require('../lib/pupilplugin') | |
, somehttpstuffthatreturnsjson = new pupilPlugin() | |
/* | |
setup is an optional function, that is used to configure the instanciated | |
version of the plugin. This is used to set configurational parameters. |
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
2300 glUseProgram(program = 3) | |
2301 glClearColor(red = 0.1, green = 0.1, blue = 0.1, alpha = 1) | |
2302 glClear(mask = GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT) | |
2303 glEnableClientState(array = GL_VERTEX_ARRAY) | |
2304 glBindBuffer(target = GL_ARRAY_BUFFER, buffer = 0) | |
2305 glUniformMatrix4fv(location = 0, count = 1, transpose = GL_FALSE, value = {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}) | |
2306 glBindBuffer(target = GL_ARRAY_BUFFER, buffer = 1) | |
2307 glVertexAttribPointer(index = 1, size = 3, type = GL_FLOAT, normalized = GL_FALSE, stride = 20, pointer = NULL) | |
2308 glEnableVertexAttribArray(index = 1) | |
2309 glVertexAttribPointer(index = 0, size = 2, type = GL_FLOAT, normalized = GL_FALSE, stride = 20, pointer = 0xc) |
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
uniform mat4 u_pMatrix; | |
uniform mat4 u_vMatrix; | |
attribute vec3 a_position; | |
attribute vec2 a_texcoord; | |
varying vec2 vTextureCoord; | |
void main() | |
{ | |
vec4 pos = vec4(a_position, 1.0); | |
vTextureCoord = a_texcoord; |
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/python | |
import subprocess | |
import re | |
import sys | |
sups = [ | |
{'sup':'02.01.0013','bios':'SE5C620.86B.02.01.0013','me':'04.01.04.423','bmc':'2.48.CE3E3BD2','sdr':'1.45'}, | |
{'sup':'02.01.0012','bios':'SE5C620.86B.02.01.0012','me':'04.01.04.381','bmc':'2.48.89B32E0D','sdr':'1.45'}, | |
{'sup':'02.01.0011','bios':'SE5C620.86B.02.01.0011','me':'04.01.04.339','bmc':'2.42.D0B788A4','sdr':'1.44'}, |