- Откройте Excel и включите отображение вкладки «Разработчик»
- Перейдите в редактор Visual Basic (в ленте Разработчик > Visual Basic).
- Откройте список ссылок: в меню Tools > References...
- Отметьте пункты «Microsoft Scripting Runtime» и «Microsoft VBScript Regular Expressions 5.5». Нажмите OK.
- Скачайте архив с библиотекой VBA-JSON. Распакуйте его.
| #!/bin/bash | |
| # ============================================================================= | |
| # Install Cloudlflare daemon (cloudflared) on Linux (Ubuntu) - DNS-over-HTTPS | |
| # https://developers.cloudflare.com/1.1.1.1/dns-over-https/cloudflared-proxy/ | |
| # https://developers.cloudflare.com/argo-tunnel/downloads | |
| # ----------------------------------------------------------------------------- | |
| # Developer.......: Andre Essing (https://www.andre-essing.de/) | |
| # (https://github.com/aessing) | |
| # (https://twitter.com/aessing) | |
| # (https://www.linkedin.com/in/aessing/) |
| @echo off& title RunAsTI - lean and mean snippet by AveYo, 2018-2022 | |
| goto :nfo | |
| [FEATURES] | |
| - innovative HKCU load, no need for reg load / unload ping-pong; programs get the user profile | |
| - sets ownership privileges, high priority, and explorer support; get System if TI unavailable | |
| - accepts special characters in paths for which default run as administrator fails | |
| - adds Send to - RunAsTI right-click menu entry to launch files and folders as TI via explorer | |
| [USAGE] | |
| - First copy-paste RunAsTI snippet after .bat script content | |
| - Then call it anywhere to launch programs with arguments as TI |
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
In case there's already a DHCP config for netplan for the private IP address:
File: /etc/netplan/50-cloud-init.yaml
Contents:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
| import React, { Component } from 'react'; | |
| import { Switch, Route } from 'react-router-dom'; | |
| import { Routes } from './config/routes'; | |
| import './App.css'; | |
| class App extends Component { | |
| render() { | |
| return ( | |
| <section> |
| const axios = require('axios') | |
| /* ... */ | |
| const params = new URLSearchParams() | |
| params.append('name', 'Akexorcist') | |
| params.append('age', '28') | |
| params.append('position', 'Android Developer') | |
| params.append('description', 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/') | |
| params.append('awesome', true) |
| ' http://web.archive.org/web/20060527094535/http://www.nonhostile.com/howto-encode-decode-base64-vb6.asp | |
| ' http://cwestblog.com/2013/09/23/vbscript-convert-image-to-base-64/ | |
| Public Function ConvertFileToBase64(strFilePath As String) As String | |
| Const UseBinaryStreamType = 1 | |
| Dim streamInput: Set streamInput = CreateObject("ADODB.Stream") | |
| Dim xmlDoc: Set xmlDoc = CreateObject("Microsoft.XMLDOM") | |
| Dim xmlElem: Set xmlElem = xmlDoc.createElement("tmp") |
| @echo off | |
| echo Uninstalling KB3075249 (telemetry for Win7/8.1) | |
| start /w wusa.exe /uninstall /kb:3075249 /quiet /norestart | |
| echo Uninstalling KB3080149 (telemetry for Win7/8.1) | |
| start /w wusa.exe /uninstall /kb:3080149 /quiet /norestart | |
| echo Uninstalling KB3021917 (telemetry for Win7) | |
| start /w wusa.exe /uninstall /kb:3021917 /quiet /norestart | |
| echo Uninstalling KB3022345 (telemetry) | |
| start /w wusa.exe /uninstall /kb:3022345 /quiet /norestart | |
| echo Uninstalling KB3068708 (telemetry) |
#Container Resource Allocation Options in docker-run
now see: https://docs.docker.com/engine/reference/run/#runtime-constraints-on-resources
You have various options for controlling resources (cpu, memory, disk) in docker. These are principally via the docker-run command options.
##Dynamic CPU Allocation
-c, --cpu-shares=0
CPU shares (relative weight, specify some numeric value which is used to allocate relative cpu share)
