Original articles by Mark Leair, PGI Compiler Engineer
This is Part 1 of a series of articles:
| #! /bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: dns-sync | |
| # Required-Start: | |
| # Required-Stop: | |
| # Default-Start: S | |
| # Default-Stop: | |
| # Short-Description: Synchronizes /etc/resolv.conf in WLS with Windows DNS - Matthias Brooks | |
| ### END INIT INFO |
Original articles by Mark Leair, PGI Compiler Engineer
This is Part 1 of a series of articles:
| from sqlalchemy import (String, | |
| Integer, | |
| engine_from_config, | |
| Column) | |
| from sqlalchemy.ext.declarative import declarative_base | |
| from sqlalchemy.orm import sessionmaker | |
| Base_1 = declarative_base() | |
| Base_2 = declarative_base() |
| # Using applescript, sets the focus + foreground on a window by its title | |
| # That works on OSX 10.7.5. | |
| # @author Aurelien Scoubeau <aurelien.scoubeau@gmail.com> | |
| import argparse | |
| import subprocess | |
| parser = argparse.ArgumentParser(description='Utility to activate a window by title, for OSX') | |
| parser.add_argument('title', help='Title of the window to activate') | |
| args = vars(parser.parse_args()) |