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
import json | |
import logging | |
import os | |
import zipfile | |
from datetime import datetime | |
import click | |
# Import WebClient from Python SDK (github.com/slackapi/python-slack-sdk) | |
from slack_sdk import WebClient | |
from slack_sdk.errors import SlackApiError |
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
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 10 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 20 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 10 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 20 | |
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30 | |
sudo update-alternatives --set cc /usr/bin/gcc | |
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30 | |
sudo update-alternatives --set c++ /usr/bin/g++ |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |