| Shortcut | Description |
|---|---|
ranger |
Start Ranger |
Q |
Quit Ranger |
R |
Reload current directory |
? |
Ranger Manpages / Shortcuts |
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
| function Remove-AzKeyVaultSecretAndPurge { | |
| [CmdletBinding()] | |
| param ( | |
| # Name of the key vault | |
| [Parameter(Mandatory)] | |
| [string] | |
| $VaultName, | |
| # Name of the secret in removed state |
It happened like this: I needed to recycle an access token from an existing connection to the azure management plane in order to use the AzureAD PowerShell module in an Azure Function (that.. is another story). I thought I was smart, googled hard and finally came across the following hack:
$ctx = Get-AzContext
$null = Get-AzADApplication -ApplicationId $env:APP_CLIENT_ID #This fills the token cache.
$token = $ctx.TokenCache.ReadItems() |
Where-Object Resource -eq 'https://graph.windows.net/' |A little info about your project and/ or overview that explains what the project is about.
A short description of the motivation behind the creation and maintenance of the project. This should explain why the project exists.
Build status of continus integration i.e. travis, appveyor etc. Ex. -
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
| apiVersion: 2018-10-01 | |
| location: eastus | |
| name: selenium | |
| properties: | |
| containers: | |
| - name: selenium-hub | |
| properties: | |
| environmentVariables: | |
| - name: 'JAVA_TOOL_OPTIONS' | |
| value: '-Xmx800m' |
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
| explore = "synths" | |
| available_keys = 108 | |
| set_sched_ahead_time! -0.4 | |
| shift = 0 | |
| live_loop :midi_player do | |
| note, amp = sync "/midi:digital_piano:0:1/note_on" | |
| if amp != 0 # ignore key released events | |
| if note == 108 # next page | |
| shift = shift + 106 | |
| synth :beep, note: 88 |
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
| live_loop :amen_to_that do | |
| rate = rrand(0.1,2) | |
| 4.times do | |
| sample :loop_amen, rate: rate | |
| sleep (sample_duration :loop_amen) / rate | |
| end | |
| end |
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
| key_pressed_time = Process.clock_gettime(Process::CLOCK_MONOTONIC) | |
| key_released_time = Process.clock_gettime(Process::CLOCK_MONOTONIC) | |
| amp = 0.5 | |
| key_pressed_in_chord = false | |
| midi_device = "/midi/digital_piano/0/1/note_on" | |
| log_file_path = "C:\\Users\\Manuel\\Documents\\sonicpi\\logger.log" | |
| live_loop :midi_logger do | |
| note, velocity = sync midi_device | |
| # File.write(log_file_path, "# debug >> [%d,%d]\n" % [note, velocity], mode: "a") |
