Clear the Primo asset cache: ?&wroDevMode=true
Force a new call in Umlaut and ignor the cache: ?&umlaut.force_new_request=true
sips -s format png ./*.gif --out pngs |
for f in * ; do mv "$f" "PRE_$f" ; done |
<VirtualHost *:443> | |
... | |
RewriteEngine on | |
DocumentRoot /apps | |
Alias /search /apps/findingaids | |
<Location /search> | |
PassengerBaseURI /search |
Gives us a Grid view for a the hours for all the libraries and departments. The grid can be made for a weekly view or the monthly view. Buttons are provided to show other months or weeks. LibCal Provides us the code for these widgets. But the one thing different about these widgets is that the CSS also needs to be copied in to our site not like the other widgets by LibCal.
~$ git checkout feature/login-integration | |
~$ RAILS_ENV=staging rake db:migrate VERSION=20141001211059 #Do this on the actual staging environment not your ~$ local environment | |
~$ git checkout development | |
~$ RAILS_ENV=staging rake db:migrate |
I've done this many times but every time I attempt to do it anew many months have passed and I always have to look it up again. Here is a quick reference for myself and others to do this quickly and easily.
First create the ssh key on your local computer and copy to your clipboard:
~$ cd ~/.ssh && ssh-keygen
~$ cat id_rsa.pub | pbcopy
PhantomJS will not install on Mac OS X El Capitan.
Trying to install the stable release will give a pleasant enough error:
~$ brew install phantomjs
phantomjs: This formula either does not compile or function as expected on OS X
versions newer than Yosemite due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build.
var AlephInit = {}; | |
//window.location.replace("http://library.nyu.edu/errors/bobcatstandard-library-nyu-edu/") | |
var ezProxyPrefix = {"BWEB": "https://ezproxy.library.nyu.edu/login?url=", "NWEB": "https://ezproxy.library.nyu.edu/login?url=", "CU": "http://proxy.library.cooper.edu:2048/login?url=", "TWEB": "https://login.libproxy.newschool.edu/login?url=", "WEB": "", "NYSID": "http://plibrary.nysid.edu/login?url="}; | |
var restrictedSublibraries = ["BWEB", "CU", "TWEB", "NWEB", "NYSID"]; | |
//Initialize page after it has been loaded. | |
function bs_init() { | |
jQuery(document).ready(function() { | |
//Handle full page styling | |
bs_set_full_format(); |
#!/bin/bash | |
FAILOVER_DIRECTORY="/apps/failover_errors" | |
FAILOVER_REPOS="git@github.com:NYULibraries/library.nyu.edu.git" | |
FAILOVER_BRANCH="gh-pages" | |
mkdir -p $FAILOVER_DIRECTORY | |
if [ -d "$FAILOVER_DIRECTORY" ]; then | |
cd $FAILOVER_DIRECTORY | |
git init |