Skip to content

Instantly share code, notes, and snippets.

🏦
Working from home

Aleksuei Riabtsev AleksueiR

🏦
Working from home
Block or report user

Report or block AleksueiR

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AleksueiR
AleksueiR / eh.js
Created Sep 6, 2019
Webpack Chains
View eh.js
module.exports = (env, argv) => {
config.mode(argv.mode).devtool(argv.mode === 'development' ? 'cheap-eval-source-map' : false);
config.entry('index').add('./src/index.ts');
config.output
.path(path.resolve(__dirname, 'dist'))
.filename('index.js')
.libraryTarget('commonjs2');
@AleksueiR
AleksueiR / species-images.html
Created Jun 28, 2019
Malformatted species image filenames
View species-images.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
<style>
img {
@AleksueiR
AleksueiR / export-plan.md
Last active Jun 7, 2019
Custom Export Layouts
View export-plan.md

Approach

Export layout customization will be done through project-specific plugins which can cater to their individual export image requirements. An export plugin is expected to take over the mid-point of the image generation process during export.

Unlike table plugins, an export plugin does not have any UI component (except for possible options added to the export settings panel) and reuses the default export dialogue. Also, an export plugin is not involved in the last stage of merging separate images into a single export file (this includes checking for tainted canvases according to the config options and providing feedback to the user if the image cannot be saved automatically).

This is intended to simplify development of export plugins, since they don't need to generate their own UI (which generally should stay generic) and deal with tainted images. This, however, does not preclude a plugin develop from disabling the default export functionality and writing a full-replacement export plugin with its

@AleksueiR
AleksueiR / index.html
Created Apr 16, 2019
Minimum Viable Latest CDTS Template
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Minimum Viable Latest CDTS Template</title>
<!-- HEAD START -->
@AleksueiR
AleksueiR / main.md
Last active Feb 26, 2019
RAMP UI Breakdown
View main.md
@AleksueiR
AleksueiR / sar-config.json
Last active May 27, 2019
SAR Config schema
View sar-config.json
{
"migratoryBirds": {
"en": {
"endpoint": "https://srchsarsandbox02.search.windows.net/indexes/speblobidxen/docs/search?api-version=2017-11-11",
"filters": null,
"sortColumns": [],
"sortSequence": [],
"defaultSort": null,
"exportColumns": [],
"columns": []
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="SVG in IE11">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/svg.js/2.5.0/svg.js"></script>
</head>
@AleksueiR
AleksueiR / index.html
Created Jun 25, 2018
WET template + CDTS Mega menu
View index.html
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html -->
@AleksueiR
AleksueiR / index.html
Last active Apr 16, 2018
CMIP5 x5 Demo page
View index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>dqvue</title>
<!-- if you need IE support -->
<!-- <script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script> -->
@AleksueiR
AleksueiR / ramp.html
Last active Mar 27, 2018
Animated Ramp
View ramp.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
You can’t perform that action at this time.