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 findLastWord = (editor) => { | |
| console.log(editor.selection); | |
| Transforms.move(editor, { distance: 1, unit: 'word', reverse: true, edge: 'start' }) | |
| console.log(editor.selection); | |
| const selected = Editor.string(editor, editor.selection); | |
| console.log(selected); | |
| Transforms.move(editor, {distance: 2, unit: 'word', edge: 'start'}); | |
| editor.insertText(' '); | |
| }; |
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 findLastWord = (editor) => { | |
| console.log(editor.selection); | |
| Transforms.move(editor, { unit: 'word', reverse: true }) | |
| console.log(editor.selection); | |
| const selected = Editor.string(editor, editor.selection); | |
| console.log(selected); | |
| Transforms.move(editor, {unit: 'word'}); | |
| editor.insertText(' '); | |
| }; | |
| // ... |
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
| license: mit |
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
| sub _build_default_tcpa_acknowledgment_copy_obj { | |
| my $self = shift; | |
| + | |
| return unless $self->tcpa_placement; | |
| + | |
| + my $tcpa_placement = $self->tcpa_placement; | |
| + | |
| + my $placements_16969 = set(qw( | |
| + non_partner_college | |
| + programs |
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
| { | |
| "date" : "Tue May 30 13:03:06 2017", | |
| "mirror_meta_md5" : "59f136b74cf6553ac2db36dc89b53ffe" | |
| } |
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
| var map = L.map('map').setView([29.7628, - 95.3831], 15); | |
| var openStreet = L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map); | |
| var baseLayers = { | |
| "OpenStreetMap": openStreet | |
| }; | |
| var overlays = {}; | |
| function project(point) { | |
| var latlng = new L.LatLng(point[1], point[0]); | |
| var layerPoint = map.latLngToLayerPoint(latlng); |
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
| var width = 1000, | |
| height = 2000; | |
| var projection = d3.geo.mercator().scale(400).translate([width / 2, height / 2]); | |
| var path = d3.geo.path().projection(projection); | |
| var svg = d3.select("body").append("svg").attr("width", width).attr("height", height).call(d3.behavior.zoom().translate(projection.translate()).scale(projection.scale()).on("zoom", redraw)); | |
| var axes = svg.append("g").attr("id", "axes"), |
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
| { | |
| "features": [ | |
| { | |
| "geometry": { | |
| "coordinates": [ | |
| [ | |
| -86.971542, | |
| 34.626099 | |
| ], | |
| [ |
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
| Error: Parameter provider failed on Service[supervisor::starling]: Invalid service provider 'supervisor' at /vagrant/etc/puppet/modules/supervisor/manifests/service.pp:94 | |
| Wrapped exception: | |
| Invalid service provider 'supervisor' |
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
| my @originals = grep { $_->type !~ /^(NS|SOA)$/ } @$original_rrsets; | |
| # The current version of Net::Amazon::Route53 does not support A "ALIAS" | |
| # records, so set them manually in the AWS console and strip them out here. | |
| @originals = grep { $_->values->[0] !~ /This resource record set includes an attribute that is unsupported on this Route 53 endpoint/ } @originals; |
NewerOlder