I wanted to be able to make some messaging stand out while running Azure Pipeline Builds. This is ultimately what worked for me.
Some simple examples of how to use the variables listed below.
version: "3.3" | |
services: | |
homepage: | |
image: ghcr.io/benphelps/homepage:latest | |
container_name: homepage | |
ports: | |
- 7200:3000 | |
volumes: | |
- /data/homepage/config:/app/config # Make sure your local config directory exists | |
- /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations |
esphome: | |
name: test | |
platform: ESP32 | |
board: esp32doit-devkit-v1 | |
wifi: | |
ssid: "My_WiFi_AP" | |
password: "secretPassword123" | |
ap: | |
ssid: "Test Fallback Hotspot" |
Writing an apt proxy conf file /etc/apt/apt.conf.d/proxy.conf
as below.
Acquire::http::Proxy "socks5h://127.0.0.1:1080";
Acquire::https::Proxy "socks5h://127.0.0.1:1080";
Acquire::socks::Proxy "socks5h://127.0.0.1:1080";
And the proxy settings will be applied the next time we run apt.
#OSX Tweaks: | |
=========== | |
- Most need reboot to show changes | |
- Most of these tweaks are just for speed, but some are specific for development | |
- All of these are to be ran in terminal. The commands to be copy and pasted start after the less-than sign. | |
- I'm not responsible for any adverse effects to your computer, at all. | |
##Increase the speed of OS X dialogs boxes: |
@echo off | |
CLS | |
ECHO. | |
ECHO ============================= | |
ECHO Running Admin shell | |
ECHO | |
ECHO api.adguard.com | |
ECHO api-b.adguard.com | |
ECHO 176.103.133.92 | |
ECHO 104.20.30.130 |
@echo on | |
REM checked for Windows 10 | |
REM fork from https://gist.github.com/theultramage/cbdfdbb733d4a5b7d2669a6255b4b94b | |
REM you may want full list https://gist.github.com/raspi/203aef3694e34fefebf772c78c37ec2c | |
REM SET attrib=+ATTRIB_HIDE | |
SET attrib=-ATTRIB_HIDE | |
REM Hard disk burst ignore time | |
powercfg -attributes 0012ee47-9041-4b5d-9b77-535fba8b1442 80e3c60e-bb94-4ad8-bbe0-0d3195efc663 %attrib% |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: | |
# start http://boxstarter.org/package/nr/url?<URL-TO-RAW-GIST> | |
# OR | |
# Install-BoxstarterPackage -PackageName <URL-TO-RAW-GIST> -DisableReboots | |
# |
# opening and closing windows and popovers | |
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false | |
# smooth scrolling | |
defaults write -g NSScrollAnimationEnabled -bool false | |
# showing and hiding sheets, resizing preference windows, zooming windows | |
# float 0 doesn't work | |
defaults write -g NSWindowResizeTime -float 0.001 |
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <[email protected]> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |