Skip to content

Instantly share code, notes, and snippets.

import requests
import json
import random
import time
from datetime import datetime
# You can add more than one bot if you have multiple discord accounts.
bots_setting = [
{
"name": "bot1",
{
"embeddings": [
{
"tensorName": "lg2vec 40k",
"tensorShape": [
40000,
200
],
"tensorPath": "https://www3.cs.stonybrook.edu/~chni/lg2vec_demo/embedding_top40k.tsv",
"metadataPath": "https://www3.cs.stonybrook.edu/~chni/lg2vec_demo/dict_top40k.tsv"
@saibalmars
saibalmars / gist:7139592
Last active December 26, 2015 10:49
the error when brew install cmake
~# brew install -v cmake
==> Downloading http://www.cmake.org/files/v2.8/cmake-2.8.12.tar.gz
Already downloaded: /Library/Caches/Homebrew/cmake-2.8.12.tar.gz
tar xf /Library/Caches/Homebrew/cmake-2.8.12.tar.gz
==> ./bootstrap --prefix=/usr/local/Cellar/cmake/2.8.12 --system-libs --no-system-libarchive --datadir=/share/cmake --docdir=/share/doc/cmake --mandir=/share/man
./bootstrap --prefix=/usr/local/Cellar/cmake/2.8.12 --system-libs --no-system-libarchive --datadir=/share/cmake --docdir=/share/doc/cmake --mandir=/share/man
---------------------------------------------
CMake 2.8.12, Copyright 2000-2012 Kitware, Inc.
C compiler on this system is: cc
C++ compiler on this system is: c++