Trying to identify testable things for use in autograders and automated code feedback tools...
Automated testing of computer code can be used to support learning in several ways.
For example, automated tests may be used to:
import tweepy | |
import json | |
import time | |
import datetime | |
from calendar import monthrange | |
from PIL import Image, ImageEnhance | |
import pathlib | |
import pylunar | |
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>RSS subscriptions for [email protected]</title> | |
<dateCreated>Sat, 27 Feb 2021 17:33:45 +0000</dateCreated> | |
<ownerEmail>[email protected]</ownerEmail> | |
</head> | |
<body> | |
<outline text="Google AI Blog" title="Google AI Blog" type="rss" xmlUrl="http://feeds.feedburner.com/blogspot/gJZg" htmlUrl="http://ai.googleblog.com/"/> | |
<outline text="FastML" title="FastML" type="rss" xmlUrl="http://fastml.com/atom.xml" htmlUrl="http://fastml.com/"/> |
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# Updated to use Python 3 by Malcolm Greaves. | |
# | |
# Python script to find the largest files in a git repository. | |
# The general method is based on the script in this blog post: | |
# http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | |
# | |
# The above script worked for me, but was very slow on my 11GB repository. This version has a bunch |
A workflow of working with pull-requests. | |
Following this you should be able to: | |
- review, QA, test PRs locally | |
- update PRs on freeCodeCamp's repository. |
(Sorted by # of people who voted for each one)
const outside = {weather: FRIGHTFUL} | |
const inside = {fire: DELIGHTFUL} | |
const go = places => places.some(p=>p>outside.weather))) | |
const snow = () => (outside.weather < inside.fire && !go(places)) { | |
let it = snow() | |
} | |
let it = snow() |
/* NOTICE: THIS WAS MADE BACK IN 2017, OF COURSE IT'S NOT GOING TO WORK WELL NOW THAT TWITTER'S FUCKED THINGS UP */ | |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("twitter.com") { | |
[data-component-context="suggest_recap"], | |
[data-component-context="suggest_who_to_follow"], | |
[data-component-context="suggest_activity"], | |
[data-component-context="suggest_activity_tweet"], | |
[data-component-context="suggest_recycled_tweet_inline"], | |
[data-component-context="suggest_recycled_tweet"]{ |