All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat /var/lib/dbus/machine-id && exit | |
# Provided by dbus, hence available on all systemd systems. | |
# Any user can read it and it is persistent accross boots. | |
# It is unique per installation, and works well in VMs. | |
# Not all systems (i.e. stage3 gentoo/handbook install) | |
# have dbus installed by default. | |
cat /sys/class/dmi/id/product_uuid && exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
az group list --tag April=April --query [].name -o tsv | % {az group delete --name $_ --yes } |
Forked from piscisaureus
To identify one particular pull request, find the pull request number on the Azure DevOps site:
Then fetch and checkout the pull request in a local branch named pull/137
Error in user YAML: (<unknown>): did not find expected ',' or '}' while parsing a flow mapping at line 7 column 11
---
type: {{entry.type}}
author: {{authorString}}
title: {{title}}
year: {{year}}
source: {{zoteroSelectURI}}
tags: log/{{entry.type}}
aliases: {{entry.author.[0].family}}{{year}}, {{title}}
---
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; iswitchw - Incrementally switch between windows using substrings | |
; | |
; [MODIFIED by ezuk, 3 July 2008, changes noted below. Cosmetics only.] | |
; | |
; Required AutoHotkey version: 1.0.25+ | |
; | |
; When this script is triggered via its hotkey the list of titles of | |
; all visible windows appears. The list can be narrowed quickly to a | |
; particular window by typing a substring of a window title. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory)] | |
[string] | |
$AzureDevopsUrl, | |
[Parameter(Mandatory)] | |
[string] | |
$AzureDevopsPat, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# Convert a VM to a Spot VM | |
Based on sample script at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/change-availability-set | |
NOTE: Extensions will not be copied to new instance!! | |
#> | |
# Set variables to your specifics | |
$resourceGroup = "myRG" | |
$vmName = "myVM" | |
# Get the details of the VM to be moved to the Availability Set |
The other day I was going through one of MrBomb's awesome SonicPi tutorials, where he used a nifty trick with arrays to build a drum grid similar to this one: https://learningmusic.ableton.com/make-beats/make-beats.html
This already worked perfectly, but I thought it could be taken one step further by building the arrays from strings of emojis:
use_bpm 98
open_hat = "⬜⬜❎⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜".split("")
closed_hat = "❎❎⬜⬜❎⬜❎⬜❎⬜❎⬜❎⬜❎⬜".split("")
clap = "⬜⬜⬜⬜❎⬜⬜⬜⬜⬜⬜⬜❎⬜⬜⬜".split("")
~/.azure/config
[core]
output = table
alias wrap='tput smam'