Skip to content

Instantly share code, notes, and snippets.

@Krinkle
Krinkle / Fresh macOS Setup.md
Created July 20, 2024 17:09 — forked from ashfurrow/Fresh macOS Setup.md
All the stuff I do on a fresh macOS Installation

Apps to install from macOS App Store:

  • Pastebot
  • GIF Brewery
  • Slack
  • Keynote/Pages/Numbers
  • 1Password
  • OmniFocus 3
  • Airmail 3
  • iA Writer
@Krinkle
Krinkle / make-package-contents.php
Created August 5, 2024 17:16 — forked from tstarling/make-package-contents.php
PECL package <contents> tag generator
<?php
define( 'INDENT', ' ' );
$files = shell_exec(
'git -C ' . escapeshellarg( __DIR__ ) .
' ls-tree --name-only -r HEAD'
);
if ( !$files ) {
@Krinkle
Krinkle / History-to-blog.js
Created January 16, 2025 20:54
Convert a markdown changelog to blog posts, compatible with Jekyll and Eleventy. Used by https://qunitjs.com/
/* eslint-env node */
'use strict';
import cp from 'node:child_process';
import fs from 'node:fs';
import path from 'node:path';
const CHANGELOG_FILE = './History.md';
const MAILMAP_FILE = '.mailmap';
const FIRST_TODO = '2.23.1 / ';
#!/usr/bin/env php
<?php
require_once __DIR__ . '/lib/Less/Autoloader.php';
Less_Autoloader::register();
$opt = [
'cache_dir' => '/tmp/lessphp-example'
];
$input = __DIR__ . '/test/Fixtures/bootstrap-3.2/less/bootstrap.less';