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 os | |
from PyPDF2 import PdfFileMerger, PdfFileReader | |
subs = ['BI-AAG','BI-APS','BI-BEZ','BI-CAO','BI-DBS','BI-EFA','BI-EIA','BI-GRA','BI-LIN','BI-MLO','BI-OSY','BI-PA1','BI-PA2','BI-PJP','BI-PSI','BI-PST','BI-SAP','BI-SI1','BI-VZD','BI-ZDM','BI-ZMA'] | |
folder = "okruhy" | |
# traverse root directory, and list directories as dirs and files as files | |
for sub in subs: |
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
function counting(arr) { | |
var a = [], b = [], prev; | |
arr.sort(); | |
for ( var i = 0; i < arr.length; i++ ) { | |
if ( arr[i] !== prev ) { | |
a.push([arr[i], 1]); | |
} else { | |
a[a.length-1][1]++; | |
} |
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 <stdlib.h> | |
#include <stdio.h> | |
int main(void) | |
{ | |
double a = 1.0 / 10.0; | |
double b = a * 10 - 1; | |
if (b == 0.0) |
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
Band of Brothers | |
Big Bang Theory | |
Black Books | |
Blue Mountain State | |
Breaking Bad | |
Community | |
Dexter | |
Friends | |
House | |
How I Met Your Mother |
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
/* | |
* File: transmit.c | |
* Author: Vojta | |
* | |
* Created on December 14, 2011, 10:05 AM | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
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
/* | |
* File: ponork.c | |
* Author: Vojta | |
* | |
* Created on December 13, 2011, 8:29 PM | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> |
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
<script> | |
function saveLoc(element){ | |
if(!element.getBoundingClientRect) return function(){}; | |
var top = element.getBoundingClientRect().top; | |
return function(){ | |
window.scrollBy(0, element.getBoundingClientRect().top - top); | |
}; | |
} | |
$(document).ready(function() { |
NewerOlder