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
<app> | |
<h1 if={ opts.title }>{ opts.title }</h1> | |
<todo-list dat-is="todo-list" | |
list={ tasklist } | |
newtask={ add } | |
delete={ delete } | |
check={ check } | |
undo={ undo } | |
redo={ redo } | |
undovisible={ store.history.length } |
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
/** | |
* Generated On: 2016-6-24 | |
* Class: component | |
*/ | |
function component(){ | |
//Constructor | |
this.opts = null; |
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
/** | |
* Generated On: 2016-6-24 | |
* Class: component | |
*/ | |
export default classcomponent(){ | |
//Constructor | |
this.opts = null; |
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
<detail> | |
/** | |
* @documentation: closes detail | |
* | |
* @param ecloses this dialog | |
* | |
*/ | |
close(e) { |
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
/* | |
* V jazyku c vytvořte funkci int uprav(char *soubor), která změní daný textový soubor tak, že každé velké písmeno | |
* bude nahraeno odpovídajícím malým pásmenem, každé malé písmeno bude nahrazeno odpovídajícím velkým písmenem a všechny | |
* ostatní znaky budou v souboru ponechány beze změny. | |
* Pro jednoduchost pracujte se soubory bez diakritiky. | |
* Návratovou hodnotu funkce lze použít pro oznámení nejruznějších chyb. | |
* Vytvořenou funkci řádně otestujte. | |
*/ | |
#include <stdio.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
/* | |
* zadani bylo neco jako vytvorit funkci ktera bude zamenovat znaky podle posunu o naky misto v abecede | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct { | |
char znak; | |
char sifra; | |
} zamena; |
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
// partially invoked function | |
function add(x, y) { | |
if (arguments.length == 1) | |
return function(y) {return x + y} | |
return x + y | |
} | |
// pipe function for chaining function calls | |
function pipe() { |
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/sh | |
DOMAIN='www.olomouc.eu' | |
date +%T | |
echo $DOMAIN > sitemap.txt | |
while read url | |
do | |
echo "nacitam adresu $url" |
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/sh | |
DATA=~/shell/todo.csv | |
h(){ | |
echo 'h - help\np - print\nl - last\ni - insert\nd - delete\nw - write\nq - quit' | |
} | |
q(){ | |
exit | |
} | |
p(){ | |
printf '%2s %1s %-42s %-4s %-6s\n' 'id' 'p' 'polozka' 'doba' 'termin' |
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 | |
# Sleduje online prenos zapasu a pri zmene skore odesle sms pres script sms.sh. | |
source ~/shell/colors.sh | |
skoreOld="" | |
skore="" | |
yellow "\n SMS ONLINE SPORT CHECKER \n" | |
while [ 1=1 ] | |
do | |
wget -q http://www.onlajny.com/match/index/date/2014-04-27/id/102805 | |
skore=`grep "hlavniSkore" 102805 | sed 's/item_102805_1//g; |
OlderNewer