Skip to content

Instantly share code, notes, and snippets.

View masfj's full-sized avatar

m13o masfj

View GitHub Profile
@masfj
masfj / HOMEBREW_MAKE_JOBS.md
Last active November 29, 2015 10:14
HOMEBREW_MAKE_JOBS
HOMEBREW_MAKE_JOBS=4
security find-identity -v -p codesigning
$ mkdir pelican_dir
$ pyvenv pelican_dir
$ cd pelican_dir
$ source bin/activate
(pelican_dir) $ pip install pelican
(pelican_dir) $ pip install markdown
(pelican_dir) $ pelican-quickstart
> Where do you want to create your new web site? [.] 
> What will be the title of this web site? (website name)
/sudo::/path/to/you
/ssh:[username]@[hostname]:/path/to/you
/scp:[username]@[hostname]:/path/to/you
@masfj
masfj / gist:07ba86b50eeea18b7f66
Last active September 1, 2015 12:15
OSX内にあるclangのinclude search path

"/Library/Developer/CommandLineTools/usr/bin/clang"の場合

#include <...> search starts here:

  • /Library/Developer/CommandLineTools/usr/bin/../lib/clang/6.1.0/include
  • /Library/Developer/CommandLineTools/usr/include
  • /usr/include
  • /System/Library/Frameworks (framework directory)
  • /Library/Frameworks (framework directory)

clang++のincludeパスとか定義済みマクロとかを列挙する

echo | clang++ -v -E -dM -