This file contains 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
/* | |
The Wardley Mapping Operating System | |
https://medium.com/wardleymaps | |
Courtesy of Simon Wardley, CC BY-SA 4.0 | |
Codified by Ben Mosior, CC BY-SA 4.0 | |
https://creativecommons.org/licenses/by-sa/4.0/legalcode | |
*/ | |
// https://learnwardleymapping.com/home/climate/ |
This file contains 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
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.27/moment-timezone-with-data-2012-2022.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jstimezonedetect/1.0.7/jstz.min.js"></script> | |
<script> | |
localizeTime("et_pb_button_one","2020-02-20 17:00",true); | |
localizeTime("et_pb_button_two","2020-02-05 22:00",false); | |
function localizeTime(buttonClass, timeString, full) { | |
if (!sessionStorage.getItem('timezone')) { |
This file contains 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
begin | |
require 'bundler/inline' | |
rescue LoadError => e | |
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
raise e | |
end | |
gemfile(true) do | |
source 'https://rubygems.org' | |
gem 'rails' |
This file contains 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
ParallelDo[ | |
Export[ | |
StringJoin["/path/destination/exported_", i, ".png"], | |
ListLinePlot[Import[StringJoin["/path/source/imported_", i, ".csv"], "CSV"]] | |
], | |
{i, {"256", "512", "1024", "2048", "4096"} } | |
] |
This file contains 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
# Some of the minion_config file for context. | |
# Configure the vagrant minion to believe it is itself the master | |
master: localhost | |
# Configure the id of the minion. This is how you trick your VM into | |
# thinking it is a production system. | |
id: someserver | |
file_roots: |
This file contains 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
# Some of the adjusted Vagrantfile for context. | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "hashicorp/precise64" | |
# ... |
This file contains 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
# Let's assume my SaltStack code is in a folder called `salt-code` and it contains | |
# `formulas`, `pillar`, `salt`, and `vagrant` folders. We're going to get started | |
# with a basic Ubuntu 12.04 box (in Vagrant Cloud as hashicorp/precise64). | |
$ cd salt-code/vagrant | |
$ vagrant init hashicorp/precise64 | |
A `Vagrantfile` has been placed in this directory. You are now | |
ready to `vagrant up` your first virtual environment! Please read | |
the comments in the Vagrantfile as well as documentation on | |
`vagrantup.com` for more information on using Vagrant. |
This file contains 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
# Properties for the Java import program | |
# $Id: vufind_config.properties $ | |
# solrmarc.solr.war.path - must point to either a war file for the version of Solr that | |
# you want to use, or to a directory of jar files extracted from a Solr war files. If | |
# this is not provided, SolrMarc can only work by communicating with a running Solr server. | |
# IMPORTANT NOTE FOR WINDOWS USERS: | |
# Use forward slashes, not back slashes (i.e. c:/vufind/..., not c:\vufind\...) | |
solrmarc.solr.war.path=/usr/local/vufind/solr/jetty/webapps/solr.war |
This file contains 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 | |
/** | |
* Multiple Backend Driver. | |
* | |
* PHP version 5 | |
* | |
* Copyright (C) The National Library of Finland 2012. | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License version 2, |
This file contains 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
<!-- Jasig CAS + Ektron CMS integration for Shippensburg University of Pennsylvania --> | |
<!-- Assumes the use of jQuery and Twitter Bootstrap 3 --> | |
<div class="col-md-12" id="ajax-announcements"> | |
<!-- Announcements --> | |
</div> | |
<div class="panel-body" id="ajax-information"> | |
<!-- Introduction / Information with a spinner image placeholder --> |