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
package main | |
import ( | |
"fmt" | |
"github.com/imroc/req" | |
"log" | |
"os" | |
"time" | |
) |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace Combinations | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ |
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
from datetime import date, datetime, timedelta | |
from icalendar import Calendar, Event | |
import tempfile, os, pytz | |
# DEFINITION #################### | |
class SymphonySchedule: | |
def __init__(self, name, deadline, schedule_events=[]): | |
self.name = name | |
self.deadline = deadline | |
self.schedule_events = schedule_events |
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
from datetime import datetime, timedelta | |
from icalendar import Calendar, Event | |
import tempfile, os | |
# lists of date itervals specific to each type of schedule item | |
milestones_symphony = [7, 14, 28, 112] | |
milestones_opera = [7, 14, 21, 28] | |
milestones_other = [7, 28, 364] |