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 <sys/mman.h> | |
#include <fcntl.h> | |
#include <pthread.h> | |
#include <unistd.h> | |
#include <sys/stat.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <sys/types.h> |
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
#!/usr/bin/env python3 | |
# | |
# částečně inspirováno ctsream od petr_p | |
__author__ = "Jakub Lužný" | |
__desc__ = "ČT (iVysílání)" | |
__url__ = r"https?://www\.ceskatelevize\.cz/(porady|ivysilani)/.+" | |
import re,os.path, urllib.request, urllib.parse, json, http.cookiejar, logging | |
import xml.etree.ElementTree as ElementTree |
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 | |
# $Id: dm-cache-status,v 1.1 2014/08/19 09:02:46 oernii Exp $ | |
# Status | |
# ------ | |
# | |
# <metadata block size> <#used metadata blocks>/<#total metadata blocks> | |
# <cache block size> <#used cache blocks>/<#total cache blocks> | |
# <#read hits> <#read misses> <#write hits> <#write misses> | |
# <#demotions> <#promotions> <#dirty> <#features> <features>* |