Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| #!/usr/bin/env bash | |
| sudo sed -i '' -e '/^#/a\'$'\n''auth sufficient pam_tid.so' /etc/pam.d/sudo |
| SELECT | |
| databases.name, | |
| dm_exec_sql_text.text AS TSQL_Text, | |
| dm_exec_query_stats.creation_time, | |
| dm_exec_query_stats.execution_count, | |
| dm_exec_query_stats.total_worker_time AS total_cpu_time, | |
| dm_exec_query_stats.total_elapsed_time, | |
| dm_exec_query_stats.total_logical_reads, | |
| dm_exec_query_stats.total_physical_reads, | |
| dm_exec_query_plan.query_plan |
| const chromeLauncher = require('chrome-launcher'); | |
| const CDP = require('chrome-remote-interface'); | |
| async function main() { | |
| const chrome = await chromeLauncher.launch({ | |
| chromeFlags: [ | |
| '--window-size=1200,800', | |
| `--user-data-dir=/tmp/chrome-data-dir`, | |
| '--auto-open-devtools-for-tabs' | |
| ] |
| #!/usr/bin/env bash | |
| # Check current status | |
| git diff 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD --name-only | xargs dos2unix -i -- | |
| # Convert all files to LF and UTF-8 without BOM | |
| git diff 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD --name-only | xargs dos2unix -r -- | |
| # Check for tabs | |
| git diff 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD --name-only | xargs grep -e "^\t" -- |
| 'use strict'; | |
| /*global require, module, process*/ | |
| /*jshint -W097*/ // Use the function form of "use strict". | |
| var _ = require('lodash'), | |
| glob = require('glob'), | |
| minimatch = require('minimatch'), | |
| glob2base = require('glob2base'), | |
| path = require('path'); | |
| _.str = require('underscore.string'); |