miry/calculations_by_time_range 1
Add to ActiveRecord methods to calculate agregate values by time range.
Binary uuid keys in Rails
A readonly ActiveRecord-esque base class that lets you use a hash, a Yaml file or a custom file as the datasource
A full-featured gem for adding uuid support to your active record models
Autoscaling components for Kubernetes
Pretty print your Ruby objects with style -- in full color and with proper indentation
For guys that like for `request.xhr?` to return `true` or `false` in a rails application.
Visualization of Golang benchmark output using Google charts
miry/bin 0
A collection of utilities for developing and running GitHub Actions
A script to automate building of a configured Raspberry Pi
push eventmiry/homebrew-medup
commit sha 8ec777753e61983e9b531d2399cb4efd6ba54375
Upgrade medup version
push time in 2 days
push eventmiry/homebrew-medup
commit sha 6ac43ea02dc1c30c1bf40ef5667592e96d5cb78b
Upgrade medup version
push time in 2 days
push eventmiry/medup
commit sha c29989d6f1246d9cfaa6e6a5b0430da9a702059f
Bump version to 0.1.9
push time in 2 days
push eventmiry/medup
commit sha c8c50c13f98efbec45a2da25b7cbaf871d271305
Update CHANGELOG and add Usage section to Readme
push time in 2 days
push eventmiry/medup
commit sha 1b449fd606d7204c9ea986c0564f5e5f201da20a
Filename sanitization (#19) * [#19]: Sanitize filename to not use special symbols * Add gitatributes to mark shard.lock as generated
push time in 2 days
PR merged miry/medup
It probably would make sense to sanitize filenames (especially assets). There's also already a seemingly good shard for this (Port of Ruby's Zaru).
pr closed time in 2 days
push eventmiry/medup
commit sha 790c04ace1be44550ff93c6fa3ebeb92170ecae3
Add gitatributes to mark shard.lock as generated
push time in 2 days
push eventmiry/medup
commit sha b39b273b97b7c2029e63186fedfe42d6c6024074
Update Changelog with features merged to master
push time in 2 days
push eventmiry/medup
commit sha a2c0a35c3982e21dec84bee7c7aa45364f3397bd
Embed images to output document (#3) Add ability to download images for articles and embed to the document. Allow to render content with footer. Image paragraph would have possible to render base64 content in the footer. Because image is a big file, the content would be splited and unreadable. Using footer for references should the problem of read. Remove empy lines between assets Add footer only when paragrpah has one. Support inplace images only PNG Remove function to download images in assets folder. Install only production dependicies for docker build.
push time in 2 days
PR merged miry/medup
There is an option to show images in markdown, with inline embeded images with data attribute.
Proposed by @alexanderadam: It is possible to inline images with Markdown (and also HTML) by converting it into base64:
For example
[image_ref_a32ff4ads]: data:image/png;base64,iVBORw0KGgoAAAANSUhEke0…RS12D==
This way you would get a single file for a single medium article.
pr closed time in 2 days
push eventmiry/medup
commit sha 65fd34613e1104dfd04848bab724a519ba82fbe7
Embed images to output document Add ability to download images for articles and embed to the document. Allow to render content with footer. Image paragraph would have possible to render base64 content in the footer. Because image is a big file, the content would be splited and unreadable. Using footer for references should the problem of read. Remove empy lines between assets Add footer only when paragrpah has one. Support inplace images only PNG Remove function to download images in assets folder. Install only production dependicies for docker build.
push time in 2 days
push eventmiry/medup
commit sha 2fad5ede66c1292bef5a6ee4b37a87ec7b238075
Embed images to output document Add ability to download images for articles and embed to the document. Allow to render content with footer. Image paragraph would have possible to render base64 content in the footer. Because image is a big file, the content would be splited and unreadable. Using footer for references should the problem of read. Remove empy lines between assets Add footer only when paragrpah has one. Support inplace images only PNG Remove function to download images in assets folder. Install only production dependicies for docker build.
push time in 2 days
pull request commentmiry/medup
@alexanderadam not yet. Need work on iframe parts: gists and other embeded sections.
comment created time in 3 days
startedmanastech/webmock.cr
started time in 4 days
pull request commentszTheory/zaru_crystal
[WIP] Remove dependicies to crystal version
@szTheory thank you. I had issue with memoization also. checking v1.0.0
comment created time in 4 days
pull request commentmiry/medup
@alexanderadam can you test my changes
via Docker:
$ docker run --rm -v $(pwd):/posts -it miry/medup:3-image --update https://medium.com/notes-and-tips-in-full-stack-development/build-and-read-crystal-b6ba21b122cf
via Crystal:
$ crystal run src/cli.cr --error-trace -- --update https://medium.com/notes-and-tips-in-full-stack-development/build-and-read-crystal-b6ba21b122cf
comment created time in 4 days
push eventmiry/medup
commit sha 554c3494fed56172c2f74624f405e475f6f0783b
Install only production dependicies for docker build
push time in 4 days
PR opened miry/medup
There is an option to show images in markdown, with inline embeded images with data attribute.
Proposed by @alexanderadam: It is possible to inline images with Markdown (and also HTML) by converting it into base64:
For example
[image_ref_a32ff4ads]: data:image/png;base64,iVBORw0KGgoAAAANSUhEke0…RS12D==
This way you would get a single file for a single medium article.
pr created time in 4 days
push eventmiry/medup
commit sha bf612014acf29ff549d8faddc2db7842aa77f03b
Support inplace images only PNG Add ability to download images for articles and embed to the document. Remove image assets.
push time in 4 days
push eventmiry/medup
commit sha 8d2f5f059723447656b00d54679aa4c41ee8ff26
Remove empy lines between assets Add footer only when paragrpah has one.
push time in 4 days
issue commentmiry/medup
@alexanderadam thank you for suggestion. I did some experiments with the shard. there are some issues with dependicies to it. For now I would go with base64 encoding. later will back to it.
comment created time in 4 days
PR opened szTheory/zaru_crystal
It seems the project is not actively develop. Make sure that a project with a new version of crystal can use the shard.
pr created time in 4 days
push eventmiry/zaru_crystal
commit sha ecfb8b08fe4dc22d813a3f46759daa8c38636975
Remove dependicies to crystal version It seems the project is not actively develop. Make sure that a project with a new version of crystal can use the shard.
push time in 4 days
push eventmiry/online_games_bots
commit sha 026ff939583a9101f242f3ee174f3b11cc75e5eb
Update trace level to work and write to stderr
push time in 4 days
push eventmiry/online_games_bots
commit sha d7dda948a20a806bf7d454e898952fb95dbaddd2
Update readme to have example of multiple bots in same time
push time in 10 days
push eventmiry/online_games_bots
commit sha b53023abf85e63b52810a2ff0c641b4edf50f87b
Allow provide custom path to servers config
push time in 10 days
push eventmiry/samples
commit sha 827803a8a88b3fdc9605d6d81cf000fa596043db
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
push eventmiry/samples
commit sha f60f19f7ee97670afedf815ed80791bd4fcc3bbe
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
push eventmiry/samples
commit sha cca69d1904fdfadbaa85514665a859551a647bc7
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
push eventmiry/samples
commit sha d162745d3ff50137f7da90da9bf01d777b48ddff
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
push eventmiry/samples
commit sha 73c89804bf30e11ca97d85a8eb658baf3f1d55b7
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
push eventmiry/samples
commit sha c4d66442a0f3f148dfb64b45b900c52bdbe6af4f
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
push eventmiry/samples
commit sha 8d0f4fa6176bc2caadf740c87ea9fd1152e17edd
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
push eventmiry/samples
commit sha 78e427b58a6cd80771382800b98304844c37e240
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
push eventmiry/samples
commit sha 2fbb7fca07786dce5c98d78ac827663e02be8b8e
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
push eventmiry/samples
commit sha d8919cdd66a19e43e02baac14cb485cb5a828567
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
push eventmiry/samples
commit sha 2a39eebf5f95e736e9a48cd230b7d5887ba69dd3
Add draft article "Build and Read Crystal" Started put my articles in the repo for later modifications and tracking changes.
push time in 23 days
pull request commentlightstep/lightstep-grafana-plugin
Introduce Operation and errros per second options
@joeblubaugh Sure. The standard way to show throughput is Request per second. The solution provides a converstion from dynamyc resolution(from 60 seconds till max allowed by API) to Reqeusts per second. For example: I can specify Resolution field 3600 seconds and I got 1 data point per hour, the chart should show the value divided by 3600.
comment created time in 24 days
pull request commentzk-ruby/zookeeper
Work around compiler errors on newer versions of gcc
The same patch tested in https://github.com/NixOS/nixpkgs/pull/68642/files
comment created time in a month
startedpitr/angular-rails-templates
started time in a month
startediovisor/kubectl-trace
started time in a month
push eventmiry/medup
commit sha 28ac9f99b47897bb7aa5119ef3ed00b95f385f00
Doc: Update links to medium api and sample request
commit sha 4b7b3a4afc16760bf3139a8d47c2293695064527
Build command line skeleton
commit sha be3c30d6d0fd991a2289c7edb098e156f141ec39
Initialize Medium API
commit sha de0ed46b793cff946a29436915eb595b2bf9f8a1
Get user information
commit sha 725f1361ce58333ce581a97fe826b3f9bfe96ef8
Access to posts list
commit sha 5358289b1b646cb4f7d233c22b05a3504feccbcc
Get the firs post from the account Setup ugly solution to get the list of posts with pagination. Extract pagintation settings. Allow specify query params for connection.
commit sha 3d9ca2785a308ee50389050bd63b6c530a9124fd
Save raw format of medium blog articles
commit sha 600f398786848a796ab7ada67465154c9f324010
Backup images from posts
commit sha d91f176a534a96ec99e3922a4fd7d93df72dbe9a
Update README with examples how to crawl the medium.
commit sha c7fa5aed6507a06a60178300cc7567c0ba4ab2f3
Add option to change default destination folder
commit sha cf2de8bae1020aacc4db132032b89f94ffbb787e
Build docker image miry/medup
commit sha 0e3ab12ae02e0496f71a38b19d33f456e26a07b8
Rake task to build and run application Provide a basic amount of tasks to build app. Generate logo in README. Update content in README.
commit sha ae1ed8819a1b146d8913dad220795a28a85fb98d
Update license in readme, the same as in License file
commit sha 3a3ecd7efbc34f313dae9376b2835a7cc3fef036
[#1]: Support basic markdown export Render blocks in markdown styles. Missing implementation of inline styles. Upgrade suported crystal version Provide sample tests for Medium Post object Add potential test cases for post rendering Add ability to render blockquotes Render images to markdown Implemetn numbered list Add more renders Post save as md Support code block rendering Parse headers Add embeded link references Parse inordered list Support second style of blockquotes Check if the second block make sense Image with link
commit sha 8bd04050c46c41f37c0a975c2bd8d1a4da9985e4
Markdown: Provide url, title and slug in markdown format
commit sha 825c564a4db9a796c705973e1ed84de2cdaa9b25
Upgrade crystal to 0.32.1. Add rake tasks to release tool.
commit sha b242dc312de4e746851c73a8dc387c5c97748900
Bump version to 0.1.2
commit sha a7966effce8612a2e1124314ead6d45d95ff24b9
Release: Update github release to set message base on version
commit sha 4282e6d037f219bdc6e7869807ad968bb8d493d3
Docker: Update os version to ubuntu bionic
commit sha fa0d317fa468bb01229baa0d21fefad63ee9162e
Intorduce CHANGELOG
push time in a month
push eventmiry/tools
commit sha 44e1d70f2176f6d7c5c6e90edc1cb7a405421e68
Create an opsgenie client tool
push time in 2 months
push eventmiry/tools
commit sha a9316fb6b5e47fc71ac7f5d91459d3ef3117938a
Create an opsgenie client tool
push time in 2 months
push eventmiry/tools
commit sha 0451e43d382ba39236b1ca1e2c8921c0cd9a8d04
first commit
commit sha 8c37d49f5ed46efd8d163d1792879eaa1eeda089
Create an opsgenie client tool
commit sha 823e8fa8bf89924fe3c096317f9782039fd8e73f
Show notes created at info
commit sha 257fd119091399d9bd55d752440294ca61865bc3
Add LICENSE
push time in 2 months
startedmicrosoft/api-guidelines
started time in 2 months
PR opened julianrubisch/pronto-standardrb
There is no gem dependicies for pry, but it required in the main library.
When include pronto-standard there is an error:
bundle/ruby/2.6.0/gems/pronto-standardrb-0.1.1/lib/pronto/standardrb.rb:4:in `require': cannot load such file -- pry (LoadError)
pr created time in 2 months
push eventmiry/pronto-standardrb
commit sha 6af87eecd0c4a9ac541449a7a6365ecdb2941332
Use pry only for development There is no gem required for `pry`, but it required in the main library. When include pronto-standard there is an error: ``` bundle/ruby/2.6.0/gems/pronto-standardrb-0.1.1/lib/pronto/standardrb.rb:4:in `require': cannot load such file -- pry (LoadError) ```
push time in 2 months
pronto runner for standardrb
fork in 2 months
startedbuger/goreplay
started time in 2 months
pull request commentlightstep/lightstep-grafana-plugin
CORS disable for Grafana with direct access
I think this is an OK workaround for now - Lightstep doesn't enforce the application/json header on our side right now, but I would like to use it in case we want to support additional content types in the future.
It is true. I admit this hack is very bad.
comment created time in 2 months
pull request commentlightstep/lightstep-grafana-plugin
CORS disable for Grafana with direct access
Do requests pass through a proxy, and if so, what proxy?
@joeblubaugh we use direct method of communication. It means the requests created directly from browsers to the API lightstep server, as you see in the example. The logs came from the browser directly to API server of lightstep.
comment created time in 2 months
push eventjetthoughts/docker-images
commit sha f10b135f717944f9addf7e3f84445489e9d364c8
Update Dockerfile
push time in 2 months
push eventmiry/online_games_bots
commit sha 5c67aa1e83c76bdcd881d2cc76d0ddc318b69146
Update README.md
push time in 2 months
startedpivotal/LicenseFinder
started time in 2 months
PR opened lightstep/lightstep-grafana-plugin
Allow to show datapoints with calculations to check operation per second. In most dashboards we require to see charts with metric like Requests per seconds.
Similar option usefull and available in Lightstep UI.

Lightstep UI:

pr created time in 2 months
push eventmiry/lightstep-grafana-plugin
commit sha ffc8b31364df1815ba7949310a4c301c431d0f87
Introduce Operation and errros per second options Allow to show datapoints with calculations to check operation per second. In most dashboards we require to see charts with metric like Requests per seconds. Similar option usefull and available in Lightstep UI.
push time in 2 months
create barnchmiry/lightstep-grafana-plugin
created branch time in 2 months
push eventmiry/lightstep-grafana-plugin
commit sha ee65a0531f1101917679d8cc451826bfd8859f3c
Rethink of showing Errors as Rate Currently the Errors as Rate required to have enabled Ops and Errors checkbox. There is no warning message specified if it requires. Update the function to show Errors Rate even there is no checkboxes selected for Ops or Errors.
push time in 2 months
push eventmiry/lightstep-grafana-plugin
commit sha c230fefeb20587d5a3c7091e6facb2a3865a64da
Rethink of showing Errors as Rate Currently the Errors as Rate required to have enabled Ops and Errors checkbox. There is no warning message specified if it requires. Update the function to show Errors Rate even there is no checkboxes selected for Ops or Errors.
push time in 2 months
push eventmiry/lightstep-grafana-plugin
commit sha f260a5a5f078ca72f4a7da268a05084b53611b36
Rethink of showing Errors as Rate Currently the Errors as Rate required to have enabled Ops and Errors checkbox. There is no warning message specified if it requires. Update the function to show Errors Rate even there is no checkboxes selected for Ops or Errors.
push time in 2 months
pull request commentlightstep/lightstep-grafana-plugin
CORS disable for Grafana with direct access
@joeblubaugh can you check the changes in this PR?
comment created time in 2 months
PR opened lightstep/lightstep-grafana-plugin
Currently the Errors as Rate required to have enabled Ops and Errors checkbox. There is no warning message specified if it requires.
Update the function to show Errors Rate even there is no checkboxes selected for Ops or Errors.
pr created time in 2 months
push eventmiry/lightstep-grafana-plugin
commit sha 6a11ba6adeaf3a67822813c75e4205bde442bc04
Rethink of showing Errors as Rate Currently the Errors as Rate required to have enabled Ops and Errors checkbox. There is no warning message specified if it requires. Update the function to show Errors Rate even there is no checkboxes selected for Ops or Errors.
push time in 2 months
push eventmiry/lightstep-grafana-plugin
commit sha 9ef32de3fe9f65829323ddd7a9b8ca1d1ec0b1b6
Show errors rate without checking of Operations and Errors Requests operations and errors even when on Errors Count as Rate checked.
commit sha f8cdf7c99a035e432d435f183aae08f0c234b62a
Rethink of showing Errors as Rate Currently the Errors as Rate required to have enabled Ops and Errors checkbox. There is no warning message specified if it requires. Update the function to show Errors Rate even there is no checkboxes selected for Ops or Errors.
push time in 2 months
push eventmiry/lightstep-grafana-plugin
commit sha 2727501ef40be825bc47c47f305e241bf113c026
Show errors rate without checking of Operations and Errors Requests operations and errors even when on Errors Count as Rate checked.
push time in 2 months
pull request commentlightstep/lightstep-grafana-plugin
Add option to show error rate instead of raw error count
I believe it is a misleading wording: Rate - means operation per second, and Ratio - it means for proportion.

comment created time in 2 months
issue commentgrafana/grafana
Support variables in transformations
It would be usefull to have interpolation in transfomration. There is my case; I have timeseries datapoints. The resolution window is dynamic. I would like to calculate operation per second with transformation. In this case similar for influxdb I use the variable $__interval or $__interval_ms.
comment created time in 2 months
issue commentlightstep/lightstep-grafana-plugin
Add option to return error points as rate instead of count
I believe this issue solved in https://github.com/lightstep/lightstep-grafana-plugin/pull/56
comment created time in 2 months
push eventmiry/lightstep-grafana-plugin
commit sha c06077c265fa748b0fce62bd60b3bacf82bc7e47
CORS disable for Grafana with direct access In Grafana 7.0.3 the plugin does not show the datapoints. Instead there is a error message in the logs: ``` Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.lightstep.com/public/v0.2/Org/projects/Project/streams. (Reason: header ‘content-type’ is not allowed according to header ‘Access-Control-Allow-Headers’ from CORS preflight response). Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.lightstep.com/public/v0.2/org/projects/Project/streams. (Reason: CORS request did not succeed). Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource. ``` It means the header Content Type is not allowed in the requests to API. To fix the problem decided to remove the header
push time in 2 months
PR opened lightstep/lightstep-grafana-plugin
In Grafana 7.0.3 the plugin does not show the datapoints. Instead there is a error message in the logs:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.lightstep.com/public/v0.2/Org/projects/Project/streams. (Reason: header ‘content-type’ is not allowed according to header ‘Access-Control-Allow-Headers’ from CORS preflight response).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.lightstep.com/public/v0.2/org/projects/Project/streams. (Reason: CORS request did not succeed).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
It means the header Content Type is not allowed in the requests to API.
Thanks to @pitr and @vetinari for help and contribution.
pr created time in 2 months
issue openedlightstep/lightstep-grafana-plugin
In Grafana 7.1.x there changes in Panel Editor to make it more strict. The current version of plugin https://github.com/lightstep/lightstep-grafana-plugin/commit/fbb1fd4b4455b8ce70c63169a463ab392c06d2a2 tested against Grafana 7.0.3 and it works.
But in Grafana 7.1.x the row with options is missing:

Image: grafana/grafana:7.1.0 Plugin version: https://github.com/lightstep/lightstep-grafana-plugin/commit/fbb1fd4b4455b8ce70c63169a463ab392c06d2a2
created time in 2 months
issue commentlightstep/lightstep-grafana-plugin
List the supported versions of grafana
In grafana 7 it has the problem to setup Options for query.
comment created time in 2 months
issue commentlightstep/lightstep-grafana-plugin
List the supported versions of grafana
Pls add v6.6.2 to the list
comment created time in 2 months
pull request commentlightstep/lightstep-grafana-plugin
Update README to include supported grafana version
@bg451 It works for 6.x also. But it does not support 7.x
comment created time in 2 months
issue commentchartjs/Chart.js
Padding inside the canvas with a line chart without scale
I have similar problem (at least I think): The top grid line is cut.

As you see the line on top is cut by half.
My workaround:
options: {
scales: {
yAxes: [{
ticks: {
min: 0,
max: 105,
callback: function(value, index, values) {
if (value == 105) {
return '';
}
return value + '%';
}
}
}]
}
}
comment created time in 2 months
issue commentmiry/medup
Added a small parallization, because there is a limit of number of request per second.
comment created time in 2 months