Here's a step by step guide to convert a Virtualbox .ova to a Vagrant box.
- List your VMs to find the VM id you want to convert:
$ VBoxManage list vms
"testing" {a3f59eed-b9c5-4a5f-9977-187f8eb8c4d4}
- You can now package the .ova VM as Vagrant box:
| import ec2 = require('@aws-cdk/aws-ec2'); | |
| import cdk = require('@aws-cdk/core'); | |
| import { Fn, Tag, Resource } from '@aws-cdk/core'; | |
| import { AmazonLinuxImage, UserData, InstanceType } from '@aws-cdk/aws-ec2'; | |
| import { Role, ServicePrincipal, ManagedPolicy, CfnInstanceProfile } from '@aws-cdk/aws-iam' | |
| /** | |
| * Create my own Ec2 resource and Ec2 props as these are not yet defined in CDK | |
| * These classes abstract low level details from CloudFormation |
| @echo off | |
| echo Deleting HKEY_CLASSES_ROOT\dacdchfile ... | |
| reg delete HKEY_CLASSES_ROOT\dacdchfile /f | |
| echo Deleting HKEY_CLASSES_ROOT\tigans ... | |
| reg delete HKEY_CLASSES_ROOT\tigans /f |
| // FileSaver.min.js | |
| (function(a,b){if("function"==typeof define&&define.amd)define([],b);else if("undefined"!=typeof exports)b();else{b(),a.FileSaver={exports:{}}.exports}})(this,function(){"use strict";function b(a,b){return"undefined"==typeof b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Depricated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function c(b,c,d){var e=new XMLHttpRequest;e.open("GET",b),e.responseType="blob",e.onload=function(){a(e.response,c,d)},e.onerror=function(){console.error("could not download file")},e.send()}function d(a){var b=new XMLHttpRequest;return b.open("HEAD",a,!1),b.send(),200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent("click"))}catch(c){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b)}}var f="object"==typeof |
Here's a step by step guide to convert a Virtualbox .ova to a Vagrant box.
$ VBoxManage list vms
"testing" {a3f59eed-b9c5-4a5f-9977-187f8eb8c4d4}
| job "grafana" { | |
| datacenters = ["dc1"] | |
| type = "service" | |
| group "grafana" { | |
| count = 1 | |
| restart { | |
| attempts = 10 | |
| interval = "5m" |
| Самый простой способ запрос на *137# | |
| Еслиу услуга уже подключена - отключить. | |
| После повторного подключения приходит СМС с логином (совпадает с номером телефона) и паролем. | |
| После этого любой SIP-клиент. Zoiper, например. | |
| Пример настройки: | |
| multifon.ru:5060 | |
| P.S. | |
| Существует 3 типа маршрутизации звонков для мультифона: |
| public class IniFormatter : IFormatter | |
| { | |
| public class IniTypeBinder : SerializationBinder | |
| { | |
| public override Type BindToType(string assemblyName, string typeName) => Type.GetType(typeName.Split('=')[1]); | |
| public override void BindToName(Type serializedType, out string assemblyName, out string typeName) | |
| { | |
| assemblyName = $"{IniFormatter.AssemblyNameKey}={serializedType.Assembly.FullName}"; | |
| typeName = $"{IniFormatter.ClassNameKey}={serializedType.AssemblyQualifiedName}"; | |
| } |
| var checkLinker = function(str) { | |
| // First browser fingerprint method. | |
| // Uses the clientId / gid string, user agent, time, and browser plugin descriptions. | |
| var joiner = function (cidGid, offset) { | |
| var a = new Date, | |
| b = window.navigator, | |
| c = b.plugins || []; | |
| var d = [cidGid, b.userAgent, a.getTimezoneOffset(), a.getYear(), a.getDate(), a.getHours(), a.getMinutes() + offset]; | |
| for (var e = 0; e < c.length; ++e) { |
This will provide an example of integrating Active Directory authentication in an ASP.NET Core app.
Note, you'll need to be running on a Windows domain with Visual Studio debugging in IIS Express for this to work.
In launchSettings.json, you'll want to modify iisSettings by turning on windowsAuthentication:
| # Run with full path to postman collection file as a single parameter, in Postman 2.1 format | |
| # See "Postman to Wiki" at https://medium.com/@sreedharc/postman-to-wiki-e7d31c76db57 for more information | |
| # Generates Markdown for Confluence Wiki from a given Collection file exported from Postman per Collections 2.1 schema | |
| import json | |
| import sys | |
| import os | |
| import re | |
| from operator import itemgetter | |
| from itertools import groupby |