everything as
sudo su
openssl genrsa -aes256 -out ca-key.pem 4096| #!/bin/bash | |
| # Use on a Mac to get Zoom attendance from ZoomISO or ZoomOSC. | |
| # Companion Action: internal: System: Run shell path (local) | |
| # Path: /users/yourname/attendance-count.sh "$(zoomiso_mini:numberOfUsers)" "$(internal:custom_attendance_hours_to_add)" "$(internal:custom_attendance_file)" | |
| # Timeout: 5000 | |
| # Target Variable (stdout): None | |
| # Exammple Output | |
| # "2024-12-19 02:04:20","95" |
| function output(str, pos) { | |
| var result = '' | |
| for (var i = 0; i <= str.length; i++) { | |
| var mod = i % 2; | |
| var code = str.charCodeAt(i); | |
| if (pos === 'even' && mod === 0) { | |
| result += changeChar(code); | |
| } else if (pos === 'odd' && mod !== 0) { | |
| result += changeChar(code); | |
| } else { |
| { | |
| /* | |
| // Place your snippets for JavaScript here. Each snippet is defined under a snippet name and has a prefix, body and | |
| // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
| // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
| // same ids are connected. | |
| // Example: | |
| "Print to console": { | |
| "prefix": "log", | |
| "body": [ |
| <div id="star-field"> | |
| <div class="star"></div> | |
| <div class="star"></div> | |
| <div class="star"></div> | |
| <div class="star"></div> | |
| <div class="star"></div> | |
| <div class="star"></div> | |
| <div class="star"></div> | |
| <div class="star"></div> | |
| <div class="star"></div> |
| <div id="button-group"> | |
| <button class="primary">Primary</button> | |
| <button class="secondary">Secondary</button> | |
| <button class="secondary">Secondary</button> | |
| </div> |
| [CmdletBinding()] | |
| param( | |
| [Parameter(Mandatory)] | |
| [string]$VMName, | |
| [Parameter(Mandatory)] | |
| [string]$OutputFile | |
| ) | |
| function Get-DriveType($drive) |
| Get-AzureVMImage | Select * | Out-Gridview –Passthru |
| $azurelocations = Get-AzureLocation | |
| $out = @() | |
| foreach ($location in $azurelocations) | |
| { | |
| $VMSizes = $location.VirtualMachineRoleSizes | |
| $VMSizesStr = $VMSizes -join ', ' | |
| $props = @{ | |
| Name = $location.Name | |
| VMSizes = $VMSizesStr} | |
| $out += New-Object PsObject -Property $props |
| #OSX Command | |
| curl -s https://api.github.com/orgs/IonicWorkshop/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["clone_url"]} ]}' | |
| #Windows Linqpad using Octokit.Net Nuget Package | |
| var client = new GitHubClient(new Octokit.ProductHeaderValue("ProjectOmegatron")); | |
| var repos = client.Repository.GetAllForOrg("IonicWorkshop").Result; |