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
#!/usr/bin/env python3 | |
# coding: utf-8 | |
import xml.etree.cElementTree as cetree | |
import argparse | |
import time | |
class Timer: | |
def __enter__(self): |
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.Timers; | |
namespace termtimer { | |
class MainClass { | |
public static void Main(string[] args) { | |
Timer t = new Timer(); | |
t.Elapsed += new ElapsedEventHandler(t_Elapsed); |
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; | |
using System.Text; | |
using System.Data.Linq; | |
using System.Data.Linq.Mapping; | |
namespace MyNS{ | |
static void Main(string[] args) { | |
JobsDataContext db = new JobsDataContext("Data Source=ServerName;Initial Catalog=MSDB;Integrated Security=SSPI;"); |