The following security tools are used by both attackers & defenders. That's how you know it's good.
These tools go far beyond Dependabot, and can provide far richer details than almost any 3rd party scanning services (e.g. Nessus).
| { | |
| // TypeScript configuration | |
| // Use the project-local typescript version / may be desired, comment out on old TS versions | |
| "typescript.tsdk": "node_modules/typescript/lib", | |
| "typescript.preferences.importModuleSpecifier": "relative", | |
| // Terminal settings | |
| "terminal.integrated.scrollback": 100000, // Terminal scrollback line limit | |
| // Set terminal font size to match VS Code font size. See: https://www.NerdFonts.com/ | |
| "terminal.integrated.fontFamily": "'MesloLGS NF', 'Hack Nerd Font', Menlo, Monaco, 'Courier New', monospace", |
| { | |
| "bundleId" : "com.knollsoft.Rectangle", | |
| "defaults" : { | |
| "allowAnyShortcut" : { | |
| "bool" : false | |
| }, | |
| "almostMaximizeHeight" : { | |
| "float" : 0 | |
| }, | |
| "almostMaximizeWidth" : { |
| import path from "path"; | |
| import { fileURLToPath } from "url"; | |
| /** | |
| * Usage: | |
| * const { __dirname, __filename } = getFileAndDirname(import.meta.url); | |
| */ | |
| export default function getFileAndDirname(importMetaUrl) { | |
| const __filename = fileURLToPath(importMetaUrl); | |
| const __dirname = path.dirname(__filename); |
| -- credit: https://spinscale.de/posts/2016-11-08-creating-a-productive-osx-environment-hammerspoon.html | |
| --[[ function factory that takes the multipliers of screen width | |
| and height to produce the window's x pos, y pos, width, and height ]] | |
| function baseMove(x, y, w, h) | |
| return function() | |
| local win = hs.window.focusedWindow() | |
| local f = win:frame() | |
| local screen = win:screen() | |
| local max = screen:frame() |
| #!/bin/bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| sudo cat << HEREDOC > /Library/LaunchDaemons/limit.maxfiles.plist | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> |
| // Follow setup instructions https://github.com/timarney/react-app-rewired | |
| // Example config: | |
| const path = require('path'); | |
| const { alias, configPaths } = require('react-app-rewire-alias'); | |
| const addRewireScssLoader = require('react-app-rewire-scss-loaders'); | |
| const rewireWebpackBundleAnalyzer = require('react-app-rewire-webpack-bundle-analyzer'); | |
| module.exports = function override(config, env) { | |
| // Fucking CRApps feel entitled to overwrite tsconfig.json... | |
| alias(configPaths('./tsconfig.paths.json'))(config); |