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
Install Synchronet: | |
apt-get update | |
apt-get install make g++ linux-libc-dev libncurses5-dev libnspr4-dev cvs libcap2-dev gdb zip unzip lrzsz gkermit dosemu pkg-config python | |
mkdir /sbbs | |
cd /sbbs | |
wget 'http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/install/GNUmakefile' | |
make install SYMLINK=1 DOSEMU=1 | |
export SBBSCTRL=/sbbs/ctrl | |
echo 'export SBBSCTRL=/sbbs/ctrl' >> ~/.bashrc |
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
let key=''; | |
let token=''; | |
let boardid=''; | |
fetch('https://api.trello.com/1/boards/' + boardid + '/lists?key=' + key + '&token=' + token + '') | |
.then(response => response.json()) | |
.then(data => { | |
randomList = data[Math.floor(Math.random()*data.length)]; | |
console.log(randomList); | |
fetch('https://api.trello.com/1/lists/' + randomList.id + '/cards?key=' + key + '&token=' + token + '') | |
.then(response => response.json()) |