Skip to content

Instantly share code, notes, and snippets.

View AleksueiR's full-sized avatar
🏔️
Working from home

Aleksuei Riabtsev AleksueiR

🏔️
Working from home
View GitHub Profile
@AleksueiR
AleksueiR / a2dp.py
Last active January 5, 2018 15:38 — forked from pylover/a2dp.py
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3.5
"""
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04 and also debian jessie, with bluez5.
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .
@AleksueiR
AleksueiR / things.md
Last active February 15, 2018 13:28
CIP - maintenance issues

Routes and bookmark and app store

  • need to select a set of parameters that go into the bookmark [store/app.ts]
    • right now we use: timePeriodId, variableId, datasetId, stationId, centerPoint, zoomLevel
    • change stationId to featureId since not all the data is in points
    • add interestPoint parameter storing the location of the station/user-click on the polygon (this will be used to center to top-map in the chart-view)
    • is there anything else we need to plan for with future datasets?
    • are we concerned about url length?
  • add the current view is also stored on the bookmark (map/chart) to the app store [store/app.ts]
  • need to fix query parsing logic (loading from a bookmark) [app.vue, components/map-instance.vue]
@AleksueiR
AleksueiR / hoop.html
Last active February 23, 2018 16:21
Hoop-a-meter
<!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>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
@AleksueiR
AleksueiR / ramp.html
Last active March 27, 2018 13:38
Animated Ramp
<!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>
@AleksueiR
AleksueiR / index.html
Last active April 16, 2018 16:27
CMIP5 x5 Demo page
<!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 / index.html
Created June 25, 2018 18:30
WET template + CDTS Mega menu
<!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
Created August 17, 2018 18:24
JS Bin SVG in IE11 // source https://jsbin.com/xoyunut
<!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 / sar-config.json
Last active May 27, 2019 12:51
SAR Config schema
{
"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": []
@AleksueiR
AleksueiR / main.md
Last active February 26, 2019 13:46
RAMP UI Breakdown
@AleksueiR
AleksueiR / index.html
Created April 16, 2019 12:22
Minimum Viable Latest CDTS Template
<!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 -->