Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
@feeeper
feeeper / config.toml
Created February 5, 2017 15:26
Large TOML file example
This file has been truncated, but you can view the full file.
[[Toml]]
ID = "5888fed8b0546a1eb0cfe5d4"
Index = 0
GUID = "d718f1a0-4446-484d-b399-4a0b7e6c6f7b"
IsActive = false
Balance = "$1,945.41"
Picture = "http://placehold.it/32x32"
Age = 27
EyeColor = "green"
Company = "BIZMATIC"
@feeeper
feeeper / send_new_free_learning_book_name_to_email.py
Last active February 23, 2018 19:49
Simple script for getting book title to email
import smtplib
import requests
import argparse
from bs4 import BeautifulSoup
from email.message import EmailMessage
def main():
parser = argparse.ArgumentParser(description='Send email with new book title to email')
parser.add_argument('-smtp_host', help='SMTP Host address')
@feeeper
feeeper / remove_output.py
Created August 20, 2018 09:46 — forked from damianavila/remove_output.py
Remove output from IPython notebook from the command line (dev version 1.0, python 3)
"""
Usage: python remove_output.py notebook.ipynb [ > without_output.ipynb ]
Modified from remove_output by Minrk
"""
import sys
import io
import os
from IPython.nbformat.current import read, write
import typing as t
from collections import defaultdict
import sqlite3
import logging
from telegram import Update
from telegram.ext._utils.types import UD, CD
from telegram.ext import (
Application,
CommandHandler,
ContextTypes,
import argparse
import requests
from __future__ import print_function
import json
import sys
import inspect
class Wox(object):
"""