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 <iostream> | |
using namespace std; | |
/* | |
* класс ноды дерева | |
*/ | |
template <class T> | |
struct bool_node { | |
bool_node<T>* less; | |
bool_node<T>* more; |
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 | |
# Recursive file convertion windows-1251 --> utf-8 | |
# To add file type by extension, e.g. *.cgi, add '-o -name "*.cgi"' to the find command | |
find ./ -name "*.txt" -o -name "*.html" -type f | | |
while read file | |
do | |
echo " $file" | |
mv "$file" "$file".icv |
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
const connect = require('connect') | |
const app = connect() | |
app.use('/', (req, res, next) => { | |
res.end('You did it, bro!') | |
}) | |
app.listen(8989) |