This post reviews several methods for converting a Markdown (.md) formatted file to PDF, from UNIX or Linux machines.
$ pandoc How_I_got_svg-resizer_working_on_Mac_OSX.md -s -o test1.pdf
—– BEGIN LICENSE —– | |
Mifeng User | |
Single User License | |
EA7E-1184812 | |
C0DAA9CD 6BE825B5 FF935692 1750523A | |
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA | |
1C25BE4D 25B1C4CC 5110C20E 5246CC42 | |
D232C83B C99CCC42 0E32890C B6CBF018 | |
B1D4C178 2F9DDB16 ABAA74E5 95304BEF | |
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576 |
import { integer, sqliteTableCreator, text } from 'drizzle-orm/sqlite-core' | |
const sqliteTable = (tenant?: string) => | |
sqliteTableCreator(name => (tenant ? `${tenant}_${name}` : name)) | |
export const users = sqliteTable()('users', { | |
id: integer('id', { mode: 'number' }).primaryKey({ autoIncrement: true }), | |
name: text('name'), | |
}) |
import UIKit | |
extension UIFont { | |
private var weight: CGFloat { | |
if let traits = fontDescriptor.object(forKey: UIFontDescriptorTraitsAttribute) as? NSDictionary, | |
let weight = traits[UIFontWeightTrait] as? CGFloat { | |
return weight | |
} | |
return 0 | |
} |
import type { ReactNode } from "react" | |
import { useEffect, useState, useTransition } from "react" | |
import { createSafeContext } from "@/lib/context" | |
type TransitionRouterStage = "entering" | "leaving" | undefined | |
type TransitionRouterStartFunction = ( | |
callback: () => void | Promise<void> | |
) => void |
Function AuthN { | |
<# | |
.SYNOPSIS | |
Authenticate to Azure AD and receieve Access and Refresh Tokens. | |
.DESCRIPTION | |
Authenticate to Azure AD and receieve Access and Refresh Tokens. | |
.PARAMETER tenantID | |
(required) Azure AD TenantID. |
" Config file: Add lines to ~/.inputrc | |
" Description: Add hjkl bindings to ~/.inputrc | |
" (used by the readline and command line | |
" shells bash, sh...). | |
" Alt-h: left | |
" Alt-j: down | |
" Alt-k: up | |
" Alt-j: right | |
" Author: James Cherti | |
" GitHub Gist: https://gist.github.com/jamescherti/3b6582c6079ba80e55c9927021d1edc5 |
╭────────────────────────────────────────────╮ | |
│ ✻ Welcome to Claude Code research preview! │ | |
│ │ | |
│ /help for help │ | |
│ │ | |
│ cwd: /Users/v/vic/dev/IC │ | |
╰────────────────────────────────────────────╯ | |
! cat InteractionCalculus.md |
#!/bin/bash | |
# Define the base path of the script | |
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" | |
BUILD_DIR="$SCRIPT_DIR/ArchiveDirectory" | |
echo "Cleaning Xcode project..." | |
xcodebuild clean \ | |
-workspace [THE PROJECT WORKSPACE].xcworkspace \ | |
-scheme [SCHEMA] \ |