Install the OpenSSL on Debian based systems
sudo apt-get install openssl| /* jshint strict: false */ | |
| /* globals require, console */ | |
| var gulp = require('gulp'); | |
| var exit = require('gulp-exit'); | |
| var browserify = require('browserify'); | |
| var watchify = require('watchify'); | |
| var babelify = require('babelify'); | |
| var source = require('vinyl-source-stream'); |
| /* jshint strict: false */ | |
| /* globals require, console */ | |
| var gulp = require('gulp'); | |
| var exit = require('gulp-exit'); | |
| var browserify = require('browserify'); | |
| var watchify = require('watchify'); | |
| var babelify = require('babelify'); | |
| var source = require('vinyl-source-stream'); |
| 'use strict'; | |
| const path = require('path'); | |
| const glob = require('glob'); | |
| const webpack = require('webpack'); | |
| const WebpackExtractTextPlugin = require('extract-text-webpack-plugin'); | |
| const WebpackCleanPlugin = require('clean-webpack-plugin'); | |
| const WebpackStyleLintPlugin = require('stylelint-webpack-plugin'); | |
| const nodeModulesPath = path.resolve(__dirname, 'node_modules'); | |
| const cartridgesPath = path.resolve(__dirname, 'cartridges'); |
| // Check if a slave has < 10 GB of free space, wipe out workspaces if it does | |
| import hudson.model.*; | |
| import hudson.util.*; | |
| import jenkins.model.*; | |
| import hudson.FilePath.FileCallable; | |
| import hudson.slaves.OfflineCause; | |
| import hudson.node_monitors.*; | |
| 777 Brockton Avenue, Abington MA 2351 | |
| 30 Memorial Drive, Avon MA 2322 | |
| 250 Hartford Avenue, Bellingham MA 2019 | |
| 700 Oak Street, Brockton MA 2301 | |
| 66-4 Parkhurst Rd, Chelmsford MA 1824 | |
| 591 Memorial Dr, Chicopee MA 1020 | |
| 55 Brooksby Village Way, Danvers MA 1923 | |
| 137 Teaticket Hwy, East Falmouth MA 2536 | |
| 42 Fairhaven Commons Way, Fairhaven MA 2719 | |
| 374 William S Canning Blvd, Fall River MA 2721 |
| package com.iankwalter.rhinostockexample; | |
| import org.mozilla.javascript.Context; | |
| import org.mozilla.javascript.Scriptable; | |
| import org.mozilla.javascript.ScriptableObject; | |
| /** | |
| * An example of how to use Mozilla Rhino to execute JavaScript within Java | |
| * | |
| * @author Ian Kennington Walter |
Workplaces may enforce TOTP 2FA to be enabled Office 365 accounts, which require the Microsoft Authenticator app to be installed.
Regular TOTP applications (such as Aegis, Authy, or LastPass) cannot be used as Microsoft uses a proprietary scheme called phonefactor. Furthermore, the application requires Google Services Framework (GSF) to be installed (likely to provide device notifications), and will refuse to work when it is not present on the device.
Forunately, after the registration is complete, the underlying mechanism the app uses to generate TOTP codes is regular otpauth, and its secrets can be exported with a little bit of effort.