This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # ---- requirements check ---- | |
| command -v gs >/dev/null 2>&1 || { | |
| echo "Error: Ghostscript (gs) is not installed." | |
| exit 1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --resize from 600 to 300 dpi | |
| convert 000001.tif -resize 50% -density 300 -units pixelsperinch 000001_mod.tif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| **this acts a hard limiter at -20db** | |
| sox in.wav out.wav compand 0,0 0:-20,-20,0,-20 | |
| **convert to mono** | |
| sox infile outfile channels 1 | |
| **normalize audio to 0db** | |
| sox infile outfile gain −n | |
| **normalize audio to -3db** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: check for / create log dir | |
| IF NOT EXIST "log\" MD log | |
| ::Set Variables | |
| SET temp_file=log\tmp.txt | |
| SET datestr=%date:~10,4%-%date:~7,2%-%date:~4,2% | |
| SET output_file=log\scan-log_"%datestr%".txt | |
| :: loop through pdfs and dump data to temp_file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @file | |
| * Template overrides as well as (pre-)process and alter hooks for the | |
| * lmmi_2015 theme. | |
| */ | |
| drupal_add_js(drupal_get_path('theme', 'lmmi_2015') . '/dist/assets/js/app.js', array( | |
| 'preprocess' => FALSE, | |
| 'group' => JS_THEME, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // these are the section titles found on the inserted separator sheets | |
| var documentSections = [ | |
| 'bookmark01', | |
| 'bookmark02', | |
| 'bookmark03', | |
| 'bookmark04' | |
| ]; | |
| // this gives us the master filename without the extension | |
| var docTitle = this.documentFileName.replace(/\.[^/.]+$/, ""); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Url of the site to be proxied | |
| URL: "cbufaces.cairnrepo.org" | |
| #Root assets folder (contains /css/, /js/ etc) | |
| ASSETS_DIR: "dist/assets" | |
| #Path on server to remote assets folder (escape the slashes; no trailing slash) | |
| REMOTE_ASSETS_PATH: "http://cbufaces.cairnrepo.org/sites/cbufaces.cairnrepo.org/themes/cbu_scholar/dist/assets" | |
| LOCALPROXY: "http://drupal7.dev/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| import plugins from 'gulp-load-plugins'; | |
| import yargs from 'yargs'; | |
| import browser from 'browser-sync'; | |
| import gulp from 'gulp'; | |
| import panini from 'panini'; | |
| import rimraf from 'rimraf'; | |
| import sherpa from 'style-sherpa'; | |
| import yaml from 'js-yaml'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //const imagePath = '/sites/all/themes/cbu_scholar/dist/assets/img/'; | |
| const imagePath = '/sites/cbufaces.cairnrepo.org/themes/cbu_scholar/dist/assets/img/'; | |
| //const imagePath = '/img/'; | |
| var menuItems = [ | |
| { | |
| title: 'Twitter', | |
| icon: 'twitter.svg' | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "repositories": [ | |
| { | |
| "type": "vcs", | |
| "url": "git@github.com:myprivate/repo.git", | |
| "options": { | |
| "ssh2": { | |
| "username": "root", | |
| "pubkey_file": "/root/.ssh/id_rsa.pub", | |
| "privkey_file": "/root/.ssh/id_rsa" |
NewerOlder