see http://doc.freenas.org/index.php/Plugins get pluginjail running
create a folder / zfs filesystem on a device with sufficient storage space.
mount_nullfs
created directory to /plugin-jail-path/usr/ports
portsnap fetch
portsnap extract
#!/bin/bash | |
echo "Generating an SSL private key to sign your certificate..." | |
openssl genrsa -des3 -out myssl.key 1024 | |
echo "Generating a Certificate Signing Request..." | |
openssl req -new -key myssl.key -out myssl.csr | |
echo "Removing passphrase from key (for nginx)..." | |
cp myssl.key myssl.key.org | |
openssl rsa -in myssl.key.org -out myssl.key |
class Znapzend < Formula | |
homepage "http://www.znapzend.org/" | |
url "https://github.com/oetiker/znapzend/releases/download/v0.14.0/znapzend-prebuilt-0.14.0.tar.gz" | |
version "0.14.0" | |
sha1 "a83ff783f2e01a663f3487eb91ace4a80807e279" | |
def install | |
bin.install Dir['bin/*'] | |
lib.install Dir['lib/*'] | |
share.install Dir['share/*'] |
/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. | |
"use STATIC_URL instead.", DeprecationWarning) | |
/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/conf/__init__.py:72: DeprecationWarning: If set, MEDIA_URL must end with a slash | |
DeprecationWarning) | |
/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/conf/__init__.py:72: DeprecationWarning: If set, STATIC_URL must end with a slash | |
DeprecationWarning) | |
/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead. | |
DeprecationWarning) | |
Traceback (most recent call last): |
$ django-admin.py runserver | |
/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead. | |
DeprecationWarning | |
/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/__init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.' | |
DeprecationWarning | |
/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead. | |
DeprecationWarning | |
/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/__init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.' | |
DeprecationWarning |
curl http://hostname/solr/xxxxxxxxxxx/update -H "Content-Type: text/xml" --data-binary '<add allowDups="false" overwritePending="true" overwriteCommitted="true"><doc><field name="id">easybib_4562eb2ace54c7e846baca223705eff8</field><field name="source">journal</field><field name="json">{"_id":"4562eb2ace54c7e846baca223705eff8","_rev":"1-3133123208","source":"journal","pubtype":{"main":"pubjournal","suffix":"pubdatabase"},"pubjournal":{"nonconsecutive":"","end":"61","start":"61","title":"Time Canada","issue":"16","restarts":"","series":"","seriesnumber":"","volume":"162","year":"2003"},"journal":{"title":"This is Your Brain on Rejection"},"pubdatabase":{"dayaccessed":"30","monthaccessed":"october","yearaccessed":"2006","city":"","db":"EBSCOhost","library":"","searchtext":"","searchtype":"","service":""},"reference_number":"200612141352101165","contributors":[{"function":"author","first":"Mark","middle":"R","last":"Leary"}],"annotation":[]}</field><field name="datasource">easybib</field><field name="source_boost |
# A sample Guardfile | |
# More info at https://github.com/guard/guard#readme | |
require 'guard/guard' | |
module ::Guard | |
class Phpcs < Guard | |
def run_on_change(paths) | |
puts phpcs_command(paths) |
see http://doc.freenas.org/index.php/Plugins get pluginjail running
create a folder / zfs filesystem on a device with sufficient storage space.
mount_nullfs
created directory to /plugin-jail-path/usr/ports
portsnap fetch
portsnap extract
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d |
# A hackish inline Guardfile for php-tricorder | |
# More info at https://github.com/guard/guard#readme | |
# https://github.com/chartjes/php-tricorder/#readme | |
# watching certain files in a directory, the tricorder 'fires' on change | |
# running php-tricorder continously is probably not that useful | |
# still using this file as a Guardfile `guard -G ThisGuardfile` | |
# is a shortcut to easily run tricorder and get hints for testing approaches instantly |
I hereby claim:
To claim this, I am signing this object: