This gist is updated daily via cron job and lists stats for npm packages:
- Top 1,000 most depended-upon packages
- Top 1,000 packages with largest number of dependencies
- Top 1,000 packages with highest PageRank score
| <?php | |
| /* | |
| Plugin Name: Private Debug Log | |
| Description: Enable debug log to a private folder not accessible from the web | |
| Version: 0.0.1 | |
| Author: WebAware | |
| Author URI: http://www.webaware.com.au/ | |
| */ | |
| /* |
| /** | |
| * The ultimate split path. | |
| * Extracts dirname, filename, extension, and trailing URL params. | |
| * Correct handles: | |
| * empty dirname, | |
| * empty extension, | |
| * random input (extracts as filename), | |
| * multiple extensions (only extracts the last one), | |
| * dotfiles (however, will extract extension if there is one) | |
| * @param {string} path |
| #!/bin/bash | |
| iatest=$(expr index "$-" i) | |
| ####################################################### | |
| # SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
| ####################################################### | |
| # Source global definitions | |
| if [ -f /etc/bashrc ]; then | |
| . /etc/bashrc |
| * SUMMARY OF SPECIFIC BEHAVIORS: | |
| * | |
| * input string (formatted as string template) returned string (formatted as string template) | |
| * ------------------------------------------- ----------------------------------------- | |
| * any string containing %00 return empty string | |
| * unencoded null character null character returned unchanged | |
| * A%0AB A\nB | |
| * A%0DB A\rB | |
| * A%B return empty string | |
| * A+B A B |
| <# 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 package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(…) from CommonJS instead of require(…).| Param( | |
| [string]$source, | |
| [string]$dest, | |
| [string]$format = "yyyy/yyyy_MM/yyyy_MM_dd" | |
| ) | |
| $shell = New-Object -ComObject Shell.Application | |
| function Get-File-Date { | |
| [CmdletBinding()] |
| CLASS zcl_im_cts_request_check DEFINITION | |
| PUBLIC | |
| FINAL | |
| CREATE PUBLIC. | |
| PUBLIC SECTION. | |
| INTERFACES if_ex_cts_request_check. | |
| PROTECTED SECTION. | |
| PRIVATE SECTION. |