output of pip freeze
after running through the
Setup page
of the FAIR tutorial in a virtual environment.
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
function callWebhook(e) { | |
var url = "http://52.53.248.136:5000/webhook"; | |
// Form questions/columns in the spreadhseet: | |
// | |
// Timestamp | |
// What is your first name | |
// What is your last name | |
// What team are you on | |
// What is your username |
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
1 sudo apt-get install -y python | |
2 python --version | |
3 sudo apt-get remove python | |
4 sudo apt-get install python3 | |
5 sudo apt-get install -y python3 | |
6 apt-get autoremove | |
7 sudo apt-get autoremove | |
8 clear | |
9 whcih python | |
10 which python |
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
alabaster | |
alabaster/docs | |
alabaster/alabaster | |
alabaster/.git | |
aws | |
aws/awsome-day-sea-2018 | |
aws/.git | |
bad-cop-no-donut | |
bad-cop-no-donut/.git | |
base16 |
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
version: "2.1" | |
services: | |
stormy_files: | |
image: python:3.6 | |
command: bash -c "cd /files && python3 -m http.server 8081" | |
volumes: | |
- "/www/files:/files" | |
stormy_gitea: |
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
import os, json | |
from werkzeug.contrib.fixers import ProxyFix | |
from flask import Flask, redirect, url_for, send_from_directory | |
from flask_dance.contrib.github import make_github_blueprint, github | |
from os.path import join, isfile, isdir | |
# http://librelist.com/browser/flask/2012/2/22/flask-on-heroku-+-gunicorn-static-files/#109c5d714212f483bcbeecd778c879ad | |
PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__)) |
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
site_name: your-cool-site | |
site_url: <url-for-your-docs> | |
repo_name: <repo-owner>/<repo-name> | |
repo_url: https://github.com/<repo-owner>/<repo-name> | |
edit_uri: "" | |
# give a title for each page | |
pages: | |
- 'Index' : 'index.md' |
github repo: markdownlint/markdownlint
how to customize rule applications
- begin with an empty file = no rules
- use
all
to specify all rules - use
rule 'MD0000'
to include a rule
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
# https://github.com/bear/python-twitter/issues/298#issuecomment-185193763 | |
import re | |
from twitter import Api | |
from twitter.twitter_utils import URL_REGEXP | |
from shorten_url import ShortenURL | |
CONSUMER_KEY = 'WWWWWWW' | |
CONSUMER_SECRET = 'XXXXXXXXXXX' |
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
#!/bin/bash | |
# Completely remove a file from a git repository history | |
# | |
# Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com> | |
# GPL licensed (see end of file) * Use at your own risk! | |
# | |
# Usage: | |
# git-forget-blob file_to_forget | |
# | |
# Notes: |