This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class Wkhtmltopdf < Formula | |
| url 'http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9.tar.bz2' | |
| homepage 'http://code.google.com/p/wkhtmltopdf/' | |
| # md5 'df2bb84b7d15140ca14732898155dd6a' | |
| sha1 '41f598c0103326e7c13101391447b0284b4ba3cb' | |
| depends_on 'qt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| if [[ $# -eq 0 ]] ; then | |
| echo 'You must provide a size' | |
| exit 0 | |
| fi | |
| # first make the image with no content | |
| convert -size $1 xc:hotpink $1.png | |
| # now add in the size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/osascript | |
| tell application "Google Chrome" | |
| set i to (count of windows) | |
| repeat while i > -1 | |
| set theWindow to window i | |
| set t to (title of (window i)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- /Users/ship/.config/nvim/after/ftplugin/text.lua | |
| vim.lsp.start { | |
| name = "LSP From Scratch", | |
| cmd = { | |
| "npx", "ts-node", | |
| -- Update this with the path to your server.ts | |
| vim.fn.expand("~/src/lsp-from-scratch/server/src/server.ts") | |
| }, | |
| capabilities = vim.lsp.protocol.make_client_capabilities() |
OlderNewer