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
| // MSVS spouští program ve složce projektu, např: | |
| // C:\Users\keddie\Documents\Visual Studio 2010\Projects\<name> | |
| void print(char c) { | |
| cout << c; | |
| } | |
| int _tmain() | |
| { | |
| ifstream in("in.txt", ifstream::in); // V MSVS se aplikace spousti v hlavni slozce aplikace |
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 <vector> | |
| #include <string> | |
| #include <iostream> | |
| #include <algorithm> | |
| using namespace std; | |
| template <typename T> | |
| void print(T element) { | |
| cout << element << ' '; | |
| } |
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 | |
| #============================================================================== | |
| # | |
| # FILE: frp.sh | |
| # | |
| # USAGE: | |
| # ./frp.sh --list list.txt -f text.tex | |
| # ./frp.sh --help | |
| # | |
| # DESCRIPTION: Finds the patterns from list in LaTeX source code and replaces them by index entry. |
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
| using System; | |
| using System.Threading; | |
| using Gtk; | |
| namespace koncept | |
| { | |
| public static class MainClass | |
| { | |
| /* locks */ | |
| public static object lockEnd; |
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
| {- Implementation of BST (binary search tree) | |
| Script is absolutly free/libre, but with no guarantee. | |
| Author: Ondrej Profant -} | |
| import qualified Data.List | |
| {- DEF data structure -} | |
| data (Ord a, Eq a) => Tree a = Nil | Node (Tree a) a (Tree a) | |
| deriving Show |
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 | |
| # What do: Converting, manipulating etc. jpegs to CMYK colorspace | |
| # Script is absolutly free/libre, but no guarantee. | |
| # Author: Ondřej Profant | |
| function 2cmyk { | |
| echo -e "[info]\tThis operation needs a lot of CPU resources. Probably will take a long time." | |
| for i in *.jpg ; do | |
| mv $i ${i%.jpg}rgb.jpg | |
| convert -depth 8 -colorspace cmyk -alpha Off ${i%.jpg}rgb.jpg ${i%.jpg}cmyk.jpg |
NewerOlder