Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block pasha-pivo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pasha-pivo / tree.cpp
Last active Oct 24, 2018
binary tree example
View tree.cpp
#include <iostream>
using namespace std;
* класс ноды дерева
template <class T>
struct bool_node {
bool_node<T>* less;
bool_node<T>* more;
pasha-pivo /
Last active Apr 26, 2018 — forked from akost/
Bash script for recursive file convertion windows-1251 --> utf-8
# 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
echo " $file"
mv "$file" "$file".icv
View index.js
const connect = require('connect')
const app = connect()
app.use('/', (req, res, next) => {
res.end('You did it, bro!')
You can’t perform that action at this time.