Linux
Windows
git config --global core.excludesfile "${USERPROFILE}/.gitignore_global"
<?php | |
class APMUtil { | |
/** | |
* set the transaction name to display in newrelic dashboard | |
* @param string $name | |
*/ | |
public static function setTransactioName($name) { | |
if (self::isNewrelicEnabled()) { |
<div id="configure"> | |
<p> | |
Name:<input data-bind="value:name"/> | |
</p> | |
<p> | |
CPU:<select name="cpu" data-bind="options:availableCpuOption,value:cpu"></select> | |
</p> | |
<p> | |
Memory:<select data-bind="options:availableMemoryOption,value:memory"></select> | |
</p> |
class NiceSSH { | |
// SSH Host | |
private $ssh_host = 'myserver.example.com'; | |
// SSH Port | |
private $ssh_port = 22; | |
// SSH Server Fingerprint | |
private $ssh_server_fp = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; | |
// SSH Username | |
private $ssh_auth_user = 'username'; | |
// SSH Public Key File |
n-version-extract |
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) | |
/******/ return installedModules[moduleId].exports; |
Linux
Windows
git config --global core.excludesfile "${USERPROFILE}/.gitignore_global"
sudo vim /proc/sys/kernel/core_pattern | |
|/usr/share/apport/apport %p %s %c %P |
strace -c node -e "for(var i=0;i<100;i++){setTimeout(()=>{},i*10)}" | |
% time seconds usecs/call calls errors syscall | |
------ ----------- ----------- --------- --------- ---------------- | |
0.00 0.000000 0 8 read | |
0.00 0.000000 0 1 write | |
0.00 0.000000 0 47 38 open | |
0.00 0.000000 0 9 close | |
0.00 0.000000 0 4 3 stat | |
0.00 0.000000 0 12 fstat |
Here is a list of public grafana instances
Percona
Gitlab