Skip to content

Instantly share code, notes, and snippets.

@jeremyheiler
Created December 23, 2017 17:53
Show Gist options
  • Select an option

  • Save jeremyheiler/e7f62faf9bf5d61268b42b6833264a42 to your computer and use it in GitHub Desktop.

Select an option

Save jeremyheiler/e7f62faf9bf5d61268b42b6833264a42 to your computer and use it in GitHub Desktop.

Revisions

  1. jeremyheiler created this gist Dec 23, 2017.
    38 changes: 38 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    Last login: Thu Dec 21 10:07:10 on ttys004
    ~:$ brew cask install factor
    ==> Caveats
    To use factor, you may need to add the /usr/local/Caskroom/factor/0.97/factor/ directory
    to your PATH environment variable, eg (for bash shell):

    export PATH=/usr/local/Caskroom/factor/0.97/factor/:"$PATH"

    ==> Satisfying dependencies
    ==> Downloading http://downloads.factorcode.org/releases/0.97/factor-macosx-x86-64-0.97.dmg
    ######################################################################## 100.0%
    ==> Verifying checksum for Cask factor
    ==> Installing Cask factor
    ==> Moving App 'Factor.app' to '/Applications/Factor.app'.
    🍺 factor was successfully installed!
    ~:$ cd /usr/local/Caskroom/factor/0.97/factor/
    factor:$ ls -l
    total 186664
    -rw-r--r-- 1 jeremy staff 4365 Nov 2 2014 README.md
    drwxr-xr-x 161 jeremy staff 5152 Nov 2 2014 basis
    drwxr-xr-x 44 jeremy staff 1408 Nov 2 2014 core
    drwxr-xr-x 259 jeremy staff 8288 Nov 2 2014 extra
    lrwxr-xr-x 1 jeremy staff 32 Dec 23 12:43 factor -> Factor.app/Contents/MacOS/factor
    -rw-r--r-- 1 jeremy staff 95012416 Nov 2 2014 factor.image
    -rw-r--r-- 1 jeremy staff 43 Nov 2 2014 git-id
    -rwxr-xr-x 1 jeremy staff 19488 Nov 2 2014 libfactor-ffi-test.dylib
    -rwxr-xr-x 1 jeremy staff 516348 Nov 2 2014 libfactor.dylib
    -rw-r--r-- 1 jeremy staff 1200 Nov 2 2014 license.txt
    drwxr-xr-x 9 jeremy staff 288 Nov 2 2014 misc
    drwxr-xr-x 3 jeremy staff 96 Nov 2 2014 work
    factor:$ ./factor
    -bash: ./factor: No such file or directory
    factor:$ cd /Applications/Factor.app/Contents/MacOS/
    MacOS:$ ./factor
    Cannot open image file: /Applications/factor.image
    strerror: No such file or directory
    MacOS:$ ls
    factor