Notes about how to fix issues met when trying to run sqlcl
from git bash
on Windows
Running mintty v2.8.5 on a windows 10 machine.
$ uname -a
{"id":"land-162b6f10-a0a8-11e0-8264-0800200c9a66","sourceId":"162b6f10-a0a8-11e0-8264-0800200c9a66","theme":"land","title":"Global 10-daily Directional Albedo 1km: Continents","alternate-title":"","description":"The surface albedo quantifies the fraction of irradiance reflected by the surface of the Earth. It provides information on the radiative basis, thus on the temperature and water balance. The directional albedo or directional-hemispherical reflectance (also called black-sky albedo) is defined as the integration of the bi-directional reflectance over the viewing hemisphere. It assumes all energy is coming from a direct radiation from the sun and is computed for the local solar noon.","purpose":"This product is first designed to fit the requirements of the Global Land component of Land Service of GMES-Copernicus. It can be also useful for all applications related to the environment monitoring.","credit":"“SA products were provided by the Global component of the Land Service of the Copernicus programme of |
#!/bin/bash | |
#Recover from an Audacity crash by reassembling the saved data files | |
if [ $# != 2 ]; then | |
echo "ERROR: Not enough arguments" | |
echo "$0 [SOURCE PATH] [DESTINATION]" | |
exit 1 | |
fi |
States will adjust in size relative to the width of the container div, which allows SVG elements to be appropriately sized regardless of device size or screen resolution, making it a good way to integrate D3 and Bootstrap.
Click "Open in a new window", change the size of your browser window, and the states will scale with it. *Will not work in the standard bl.ocks.org view
Please let me know if there is a better/native way to do this!
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js"></script> | |
<style type="text/css"> | |
rect { | |
fill: none; | |
stroke: #fff; |
// pre-render d3 charts at server side | |
var d3 = require('d3') | |
, jsdom = require('jsdom') | |
, fs = require('fs') | |
, htmlStub = '<html><head></head><body><div id="dataviz-container"></div><script src="js/d3.v3.min.js"></script></body></html>' | |
jsdom.env({ | |
features : { QuerySelector : true } | |
, html : htmlStub | |
, done : function(errors, window) { |
Click in the open space to add a node, drag from one node to another to add an edge.
Ctrl-drag a node to move the graph layout.
Click a node or an edge to select it.
When a node is selected: R toggles reflexivity, Delete removes the node.
When an edge is selected: L(eft), R(ight), B(oth) change direction, Delete removes the edge.
To see this example as part of a larger project, check out Modal Logic Playground!