Skip to content

Instantly share code, notes, and snippets.

View tingletech's full-sized avatar

Brian Tingle tingletech

View GitHub Profile
<xml>
<title xmlns="" xtf:meta="true" xtf:wordBoost="1.5">Marchers coming through Sather Gate with Free Speech sign to the UC Regents' meeting in University Hall to present their position on the Free Speech controversy.</title>
<creator xmlns="" xtf:meta="true">
Steven Marcus
</creator>
<subject xmlns="" xtf:meta="true" q="series">Steven Marcus Free Speech Movement Photographs</subject>
<publisher xmlns="" xtf:meta="true">Bancroft Library.</publisher>
<date xmlns="" xtf:meta="true">Nov. 20, 1964</date>
<type xmlns="" xtf:meta="true" xtf:wordBoost="0.000001">image</type>
<identifier xmlns="" xtf:meta="true">http://ark.cdlib.org/ark:/13030/tf8n39p060</identifier>
[dsc@cdl-dsc-p01 data]$ du -sh *
156G 13030
30G 20775
91G 28722
28K 99999
4.8M lii
54M marc
[dsc@dscl-stg data]$ du -sh *
124G 13030
http://nma.berkeley.edu/ark:/28722/bk0014q6701
http://cdn.calisphere.org/data/13030/67/k69w0f67/files/k69w0f67-FID1.pdf
-rw-r--r-- 1 dsc dsc 164M May 23 2013 cubanc6714_b254r05_0093.pdf
-rw-r--r-- 1 dsc dsc 22M Feb 24 09:06 k69w0f67-FID1.pdf
run?leafType=SampleCustomPicture&inputPath=/apps/content/new_path/UCX/screenshots&targetPath=asset-library/UCX&folderishType=Organization:
java.lang.NullPointerException
at org.nuxeo.ecm.platform.importer.service.DefaultImporterServiceImpl.importDocuments(DefaultImporterServiceImpl.java:120)
at org.nuxeo.ecm.platform.importer.executor.jaxrs.HttpFileImporterExecutor.run(HttpFileImporterExecutor.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
From ���Beach Rat Pix���, p. 51: ���The salty-looking L.C.T. 1360 showed up in the harbor and became the fishing barge ���Iwo Jima��� and anchored off the coast of Corona del Mar main beach. Ocean viewers in C.D.M. didn���t like the looks of it out there, but it didn���t stay long. Another victim to the lack of fish.���
" http://usevim.com/2012/05/09/clean-vimrc/
" vim:fdm=marker
syntax on
au BufNewFile,BufRead *.less set filetype=less
" line numbers
set nu
" 2 lines of mode
set modeline
set ls=2
@tingletech
tingletech / html_workflow.md
Last active August 29, 2015 13:57
notes on UCLDC web development workflow
  • dependency management for 3rd party libraries and frameworks (allows for automatic updates)
  • all open source libraries
  • use HTML5 and CSS3 features, flash only in shims
  • responsive design with a mobile first approach
  • clean (semantic) markup that minimizes extra <div> and class=
  • xhtml final output for XTF compatibility (migration/transition)
  • 2 space indent; javascript lines end in ;
  • I like bootstrap 3 as base for generative CSS framework and javascript UI widgets
    • boostrap 3 has sass and less versions
  • uses jQuery
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 1.9.3-p545
rbenv rehash
rbenv local 1.9.3-p545
gem install scout_realtime
scout_realtime
@tingletech
tingletech / DSC_DR.md
Last active August 29, 2015 13:57
DSC disaster recovery strategy

Keep a hot spare EBS volume in sync with production.

On dsc.cdlib.org;

  • run stunnel configured in server mode, set to exec rsync
    • specify connection must have specific client certificate
  • dump database to flat file

At 5am every day; start machine (attached boot EBS)

  1. mount zpool
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!-- West Coast Negro Baseball Association: Bylaws ( Unknown ) -->
<METS:mets OBJID="ark:/13030/c8k938vj" TYPE="text" PROFILE="SobekCM"
xmlns:METS="http://www.loc.gov/METS/"
xmlns:mets="http://www.loc.gov/METS/"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xsi:schemaLocation="http://www.loc.gov/METS/
http://www.loc.gov/standards/mets/mets.xsd