A script to fix EDID problems on external monitors in macOS.
-
Connect only the problem display.
-
Create this directory structure (if it doesn't already exist):
dependencies[] = ctools | |
; Views Handlers | |
files[] = views/mymodule_handler_handlername.inc |
(function($){ | |
$.fn.quantityDiscounts = function(options) { | |
// set up default options | |
var defaults = { | |
discountColor: '#FF0000', | |
discounts: [ | |
{ limit: 174, discount: .75, text: "25% Discount Applied"}, | |
{ limit: 139, discount: .80, text: "20% Discount Applied"}, |
var express = require('express'); | |
var proxy = require('http-proxy-middleware'); | |
var options = { | |
logLevel: 'debug', | |
target: 'https://api.airtable.com/v0/' + process.env.APP_ID, | |
changeOrigin: true, | |
headers: { | |
'Accept': 'application/json', | |
'Authorization': 'Bearer ' + process.env.API_KEY | |
}, |
<?php | |
/* | |
Make Sure you include: | |
ctools_include('modal'); | |
ctools_modal_add_js(); | |
On the pages you put your link. | |
*/ |
$JAVA_HOME
echo 'export JAVA_HOME="/usr/lib/jvm/java-6-openjdk-amd64/jre"' >> ~/.bashrc
# May also be: echo 'export JAVA_HOME="/usr/lib/jvm/java-7-oracle"' >> ~/.bashrc
# verify Java path
See http://vufind.org/wiki/vufind2:installation_ubuntu. We're just doing the fastest installation with the .deb package. Make sure that your security group (if using AWS) is set to allow ports 80 and 8080.
Create an Ubuntu 13.04 instance in Amazon AWS and login as root (sudo su
).
# Dependencies
# tar | |
tar cvzf foo.tgz foo | |
tar xvzf foo.tgz | |
# zip | |
zip foo.zip foo | |
unzip foo.gz | |
# gz | |
gunzip foo.gz |
# create a user with a home dir, add to group | |
useradd -m -d/home/if.jeff -Gwww-data -s/bin/bash if.jeff | |
# tar | |
tar cvzf foo.tgz foo | |
tar xvzf foo.tgz | |
# zip | |
zip foo.zip foo | |
unzip foo.gz |