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
// test new bot api | |
// start it as: | |
// gourbot "token:forBot" | |
// or | |
// BOT_TOKEN="token:forBot" gourbot | |
// | |
package main | |
import ( |
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 | |
set -e | |
set -x | |
THISDIR=$(dirname $(readlink -f "$0")) | |
CV_GIT="https://github.com/Itseez/opencv.git" | |
# CV_GIT_BRANCH="3.0.0" | |
# CV_VERSION="2.4.10" |
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
// stacktrace.h (c) 2008, Timo Bingmann from http://idlebox.net/ | |
// published under the WTFPL v2.0 | |
#ifndef _STACKTRACE_H_ | |
#define _STACKTRACE_H_ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <execinfo.h> | |
#include <cxxabi.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
#! /bin/bash | |
die() { | |
echo "EDIT YOUR ~/telegram_bot.rc AND RE-RUN!" 1>&2 | |
exit 1 | |
} | |
if [ ! -f $HOME/telegram_bot.rc ]; then | |
cat >$HOME/telegram_bot.rc <<_EOF_ | |
# |
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 | |
die() { | |
echo "EDIT YOUR ~/telegram_bot.rc AND RE-RUN!" 1>&2 | |
exit 1 | |
} | |
if [ ! -f $HOME/telegram_bot.rc ]; then | |
cat >$HOME/telegram_bot.rc <<_EOF_ | |
# |
NewerOlder