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
Package: libvorbisfile3 | |
Status: install ok installed | |
Priority: optional | |
Section: libs | |
Installed-Size: 69 | |
Maintainer: Debian Xiph.org Maintainers <pkg-xiph-maint@lists.alioth.debian.org> | |
Architecture: armhf | |
Multi-Arch: same | |
Source: libvorbis | |
Version: 1.3.4-2 |
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
#include <stdio.h> | |
#define NP_VX(verts) short x[verts] | |
#define NP_VY(verts) short y[verts] | |
#define NP_AX(xcoords...) = {xcoords}; | |
#define NP_AY(ycoords...) = {ycoords}; | |
#define NP_CO(vals...) short color[4] = {vals}; | |
#define NP_SH(np_name, np_vx, np_vy, np_ax, np_ay, np_co) \ | |
void np_name(){ \ | |
np_vx \ |
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
#include <stdio.h> | |
typedef struct { | |
char * section; | |
char * entries[]; | |
} some_t; | |
int main() | |
{ | |
static some_t some = { .section = "system", .entries = { "x_res", "y_res"} }; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct{ | |
int i; | |
} junk_t; | |
junk_t * junk = { NULL }; | |
int junk_length = 0; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct{ | |
//doesn't compile without parens | |
unsigned char (*c)[3]; | |
}a_t; | |
int main(){ | |
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 | |
# source a file of key/value that happens to be bash compliant | |
source ${DIRECTORY}/gadget.cfg | |
# get docker image size | |
SIZE="$(${DOCKER} images --format "{{.Size}}" ${name}_${uuid}-img)" | |
# get size in bytes from MB | |
B_SIZE=$(echo "scale=0; (1000*1000*$(echo ${SIZE} | ${SED} 's% MB%%g'))/1" | ${BC} -l) |
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
#include <stdio.h> | |
int main () { | |
int a = 0; | |
( a ) || printf("some junk\n"); | |
a++; | |
( a ) || printf("other stuff\n"); | |
return 0; | |
} |
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
#include <stdio.h> | |
#include <string.h> | |
typedef unsigned char rgba_t[4]; | |
int main () { | |
char a[8]; | |
memset(a, 70, 8); |
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 | |
docker run $my_image \ | |
--cap-add AUDIT_CONTROL \ | |
--cap-add AUDIT_READ \ | |
--cap-add AUDIT_WRITE \ | |
--cap-add BLOCK_SUSPEND \ | |
--cap-add CHOWN \ | |
--cap-add DAC_OVERRIDE \ | |
--cap-add DAC_READ_SEARCH \ |
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
#include "whatever.h" | |
int init_page(){ | |
char *h_content = "this is some header"; | |
char *pre_content = | |
"// example code" | |
"int a = 0;" |
OlderNewer