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 | |
for scene_dir in `ls`; do # scene dir | |
if [[ -d $scene_dir ]]; then | |
cd $scene_dir | |
for scene_subdir in `ls`; do # scene subdir | |
if [[ -d $scene_subdir ]]; then | |
cd $scene_subdir | |
index=1 | |
item=${scene_subdir}_${index} | |
color_image=${item}.png |
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
#include <stdio.h> | |
#include <xcb/xcb.h> | |
#include <xcb/xfixes.h> | |
int main(void) | |
{ | |
xcb_connection_t *c; | |
xcb_screen_t *screen; | |
xcb_window_t win; | |
xcb_generic_event_t *e; |