Skip to content

Instantly share code, notes, and snippets.

Avatar

andrewcrook

  • UK
View GitHub Profile
@andrewcrook
andrewcrook / racket-build.log
Created Jul 5, 2022
[Errors] Building racket-minimum from source on macOS on Apple Silicon
View racket-build.log
=== Racket CS enabled
checking build system type... aarch64-apple-darwin21.5.0
checking host system type... aarch64-apple-darwin21.5.0
checking target system type... aarch64-apple-darwin21.5.0
=== CS executables without suffix enabled
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
@andrewcrook
andrewcrook / mkd.sh
Last active Dec 25, 2021
/scripts/functions/
View mkd.sh
# add to .zshrc or .bashrc
# Create a new directory and enter it
function mkd() {
mkdir -p "$@" && cd "$_";
}
View gist:1826923
Sub CompareWordList()
'
' CompareWordList Macro
' Andrew Crook 2012
' Based on - Highlight Words from a Word List
' http://word.tips.net/T000502_Highlight_Words_from_a_Word_List.html
'
Dim sCheckDoc As String
Dim docRef As Document
Dim docCurrent As Document
@andrewcrook
andrewcrook / redirect.js
Created Jul 1, 2011
sammy.js redirect problem
View redirect.js
var app = $.sammy( function() {
this.get('#/', function() {
$('#main').html('nothing to see here!');
});
this.get('#/test', function() {
$('#main').html('worked');
});