Skip to content

Instantly share code, notes, and snippets.

View bdbaddog's full-sized avatar

William Deegan bdbaddog

View GitHub Profile
@bdbaddog
bdbaddog / gist:4747019
Last active December 12, 2015 08:49
Third pass at categorizing dexterity googlecode bugs.. dropping all closed bugs. Summarized projects which bugs map to.
Retrieving existing Github issues...
issue:6 PROJ:plone.app.dexterity TITLE:Support content diffs with CMFDiffTool
issue:8 PROJ:plone.app.linkintegrity TITLE:Support automatic link integrity checks with plone.app.linkintegrity
issue:29 PROJ:plone.autoform TITLE:Optimise performance of plone.autoform
issue:49 PROJ:plone.app.dexterity TITLE:Support the "restrict..." option in the "add new" menu for containers
issue:74 PROJ:plone.app.dexterity TITLE:Support multi-lingual content
issue:81 PROJ:plone.app.dexterity TITLE:Need a way to remove local IFactory utility when a global version is installed
issue:85 PROJ:plone.supermodel TITLE:Document plone.supermodel schema syntax
issue:86 PROJ:plone.app.dexterity TITLE:Document i18n of Dexterity types
issue:92 PROJ:plone.app.dexterity TITLE:Make sure DC date/time fields store Python datetime objects, not Zope DateTime objects
@bdbaddog
bdbaddog / gist:11069294
Created April 19, 2014 00:12
scons example.
SConstruct:
SConscript('c/SConscript')
c/SConscript:
env = Environment()
env.Command('a','b','/bin/echo path %s'%env.Dir('#'))
Output:
@bdbaddog
bdbaddog / SConstruct
Created April 19, 2014 00:23
Dir() vs env.Dir() strangness
SConscript('c/SConscript')
diff tools/python-2.7.10-nothread/bin/smtpd.py tools/python-2.7.10/bin/smtpd.py
1c1
< #!/home/bdbaddog/tools/python-2.7.10-nothread/bin/python2.7
---
> #!/home/bdbaddog/tools/python-2.7.10/bin/python2.7
bdbaddog@ubuntu1404-32bit:~$ diff tools/python-2.7.10-nothread/lib/python2.7/_sysconfigdata.py tools/python-2.7.10/lib/python2.7/_sysconfigdata.py
17,18c17,18
< 'BINDIR': '/home/bdbaddog/tools/python-2.7.10-nothread/bin',
< 'BINLIBDEST': '/home/bdbaddog/tools/python-2.7.10-nothread/lib/python2.7',
---
@bdbaddog
bdbaddog / SConstruct
Created January 22, 2016 01:03
scons example with versioned shared library installing into other dir and variant_dir
env=Environment()
SConscript('a/SConscript',variant_dir='build',exports='env')
@bdbaddog
bdbaddog / ch.config.js
Created February 1, 2017 22:53
pm2 process file
module.exports = {
/**
* Application configuration section
* http://pm2.keymetrics.io/docs/usage/application-declaration/
*/
apps : [
// First application
{
name : "jp",
@bdbaddog
bdbaddog / output
Created June 1, 2017 16:58
git rebase output.
Applying: Add file encoding to avoid error when opening the file while running under SCons which doesn't propagate LANG from the environment
No changes - did you forget to use 'git add'?
If there is nothing left to stage, chances are that something else
already introduced the same changes; you might want to skip this patch.
When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".
@bdbaddog
bdbaddog / SConstruct
Created February 23, 2018 20:01
How to add to SConscript namespace
env=Environment()
SConscript('src/SConscript',exports='env')
@bdbaddog
bdbaddog / README.txt
Last active April 30, 2018 22:49
WIP sphinx for scons API docs
# adjust to your path
sphinx-apidoc -f -o source/ ../../git/as_scons/src/engine/ "/Users/bdbaddog/devel/scons/git/as_scons/src/engine/SCons/*Tests.py"
# do this then answer the questions
sphinx-quickstart
# Then replace source/conf.py with below, but adjust the paths which are /Users/bdbaddog...
# replace source/index.rst with below