Skip to content

Instantly share code, notes, and snippets.

View errordeveloper's full-sized avatar

Ilya Dmitrichenko errordeveloper

View GitHub Profile
@errordeveloper
errordeveloper / gist:630031
Created October 16, 2010 17:04
heroku redmine googledocs
ActionView::TemplateError (undefined method `get_values' for #<Class:0x2b1171d0be68>) on line #5 of vendor/plugins/redmine_googledocs/app/views/googledocs/_form.rhtml:
2: <div class="box">
3: <!--[form:document]-->
4: <p><label for="document_category_id"><%=l(:field_category)%></label>
5: <%= select('document', 'category_id', Enumeration.get_values('DCAT').collect {|c| [c.name, c.id]}) %></p>
6: <p>
7: <label for="document_type_id">Type</label>
8: <select id="document_type_id" name="document[type_id]"><option value="1">Document</option>
vendor/plugins/redmine_googledocs/app/views/googledocs/_form.rhtml:5:in `_run_rhtml_vendor47plugins47redmine_googledocs47app47views47googledocs47_form46rhtml_locals_form_object'
@errordeveloper
errordeveloper / polfresp.dat
Created May 12, 2011 19:40
polar frequncy response
## 0dBu sine wave (Hz|dBu)
# ANGLE: 0 45 90 135 180 225 270 315
20 -77 -79 -80 -79 -80 -80 -78 -79
25 -75 -79 -76 -78 -80 -79 -78 -77
30 -74 -75 -73 -76 -75 -76 -75 -75
40 -71 -72 -72 -75 -78 -75 -75 -72
50 -65 -66 -68 -69 -70 -69 -68 -65
65 -59.2 -60 -62 -64 -65 -63 -62 -59.8
80 -67.8 -88.7 -60.9 -60.0 -63.0 -62 -61 -58.2
100 -53.8 -54.8 -57.5 -53.9 -61.0 -60 -57.7 -54.4
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: iPhone SDK only available for arm-apple-darwin hosts, skipping tests
configure: Android SDK only available for arm-linux hosts, skipping tests
checking for style of include used by make... GNU
see if you can spot anything
$ cd ~/devel/pd/src/pd.git
$ make distclean-recursive ;
./configure --prefix=/usr/local/ \
> /tmp/pd_configure.log 2>/tmp/pd_configure.log && \
nice -5 make -j3 \
> /tmp/pd_make_stdout.log 2> /tmp/pd_make_stderr.log
the I run it and it makes terrible nois from the aduio test
# Sphinx version: 0.6.4
# Docutils version: 0.5 release
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/sphinx/cmdline.py", line 169, in main
warningiserror, tags)
File "/usr/lib64/python2.6/site-packages/sphinx/application.py", line 94, in __init__
self.config = Config(confdir, CONFIG_FILENAME, confoverrides, self.tags)
File "/usr/lib64/python2.6/site-packages/sphinx/config.py", line 126, in __init__
execfile(config['__file__'], config)
File "/home/110101/devel/xmos/git/xdoc/xsphinx/conf.py", line 15, in <module>
# Sphinx version: 1.0.7
# Python version: 2.6.4
# Docutils version: 0.5 release
# Jinja2 version: 2.2.1
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/sphinx/cmdline.py", line 187, in main
warningiserror, tags)
File "/usr/lib64/python2.6/site-packages/sphinx/application.py", line 104, in __init__
confoverrides or {}, self.tags)
File "/usr/lib64/python2.6/site-packages/sphinx/config.py", line 168, in __init__
@errordeveloper
errordeveloper / makefile.verilator
Created August 1, 2011 17:08
Makefile for Verilator
%.newdir:
mkdir -p $(@:.newdir=) && cd $(@:.newdir=)
%.delete:
rm -rf $(@:.delete=)
test:
@echo "\
module our;\n\
initial begin $$ \bdisplay(\"Hello World\");\n$$ \bfinish;\nend\n\
include header.mk
include hashmeta-git.mk
HASH1_FORMAT = $(HASH_PATH)/$(ENV_HASH)
HASH2_FORMAT = `cat $< | $(HASH_TEXT)`
HASH2_EXTRAS += HASHMETA_GIT_LOG=$$h2/hashmeta-git.log
usage:
@echo "$@: make test.o"
@errordeveloper
errordeveloper / gist:1173211
Created August 26, 2011 11:18
Notes on Altera Quartus II ...
Default installation path: /opt/altera10.0sp1
@errordeveloper
errordeveloper / install-qda.csh
Created August 26, 2011 12:43
Install Altera device libraries (.qda)
#!/bin/tcsh -f
set quartus_version = "10.0"
set install_command = "/opt/Altera/${quartus_version}/quartus/bin/quartus_sh --qinstall"
set output_log = install-`date +%y%m%d@%H%M`-{$quartus_version}.log
set devices = ""
set counter = 0